Sorting and separate

nalsur

New Member
Joined
Jan 29, 2012
Messages
21
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Sheet1

*ABCDEFGH
1Name ListShopList*Except shopShopName ListQty
2BananaSmithBanana*JohnSmithBanana3
3AppleJohnApple*AlexSmithApple1
4BananaEllenBerry**EllenBanana2
5AppleSmithCerry**EllenApple1
6BananaSmith***EllenBerry2
7AppleJohn***KokoCerry1
8BananaEllen******
9BananaSmith******
10BerryAlex******
11AppleJohn******
12BerryAlex******
13AppleEllen******
14AppleAlex******
15BerryEllen******
16BerryEllen******
17CerryKoko******

<tbody>
</tbody>

Column A B E is user input

Column C remove duplicated and list single Name List
Code:
{=IFERROR(INDEX($A:$A,SMALL(IF(FREQUENCY(IF($A$2:$A$114<>"",MATCH($A$2:$A$114,$A$2:$A$114,0)),ROW($A$2:$A$114)-ROW($A$2)+1)>=1,ROW($A$2:$A$114)),ROWS(B$2:B2))),"")}

How the code to list out for Column F G H

Thanks


Excel tables to the web >> Excel Jeanie HTML 4
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
put this in I2, copy down and across

Code:
{=IFERROR(INDEX(F:F,SMALL(IF(FREQUENCY(IF(F$2:F$114<>"",MATCH(F$2:F$114,F$2:F$114,0)),ROW(F$2:F$114)-ROW(F$2)+1)>=1,ROW(F$2:F$114)),ROWS(I$2:I2))),"")}
 
Upvote 0
AlanY

assume column F G H empty ( user can't enter value in that) that column auto fill by coding
data for sort only column A B or C and E

Let say i want list Shop Name and Name List and put it value to column F and G, data for sorting from A and B
and remove if found shop name in column E , then fill in to column F and G

i hope more clear..

thanks
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,449
Members
448,966
Latest member
DannyC96

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top