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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,476
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
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

nalsur

New Member
Joined
Jan 29, 2012
Messages
21
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
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,195,858
Messages
6,011,979
Members
441,661
Latest member
Pammie007

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
Top