Home > Mobile >  Is it possible to sort and remove duplicate like this in excel?
Is it possible to sort and remove duplicate like this in excel?

Time:01-13

If I used a formula =SORTBY(F6:G11,UNIQUE(G6:G11)) then it gives an #value error but the formula which I used as shown in the picture is unable to give me my desire

enter image description here

CodePudding user response:

You could try:

enter image description here

Formula in D1:

=UNIQUE(CHOOSE({1,2},XLOOKUP(B1:B6,B1:B6,A1:A6,,0),B1:B6))
  •  Tags:  
  • Related