Function for turning cells into a list

Chandler8

New Member
Joined
Jun 29, 2022
Messages
23
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello all, so I need a formula to grab all of the peoples names in random cells from one sheet into another sheet while creating a straight down list of the names! And, if there is a way to (prompt/warning) when there is a duplicate name while not posting it to the list that would be very helpful! I have listed some pictures for examples below. Thank you very much!

Ex..xlsx
ABCDE
1Random_Guest 1Random_Guest 2Random_Guest 3Random_Guest 4Random_Guest 5
2Billy BobKellie BobBradyn Bob
3Kayla MingJoe Smith
4Bobby DoeJoey LawrenceLarry BillJohn CorleyKelc Corley
5Ashton Piercing
6Ashur LowTim Low
7Lauv Smiley
8Lola JeanMichael Jean
9Kayla PearsonMichelle Pearson
10David KurtLindsey Kurt Kiley SimbLarry Simb
Names


Ex..xlsx
A
1Guest_List_Names
2Formula Here/to generate the names with ability to drag down (one name per cell)
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
List
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
How many cells will you have on the Names sheet?
 
Upvote 0
It will be a continuous list as we are adding new people to the list every day. Right now we have about 600+ names.
 
Upvote 0
Ok, how about
Fluff.xlsm
ABCDEFG
1Random_Guest 1Random_Guest 2Random_Guest 3Random_Guest 4Random_Guest 5Unique List
2Billy BobKellie BobBradyn BobBilly Bob
3Kayla MingJoe SmithKellie Bob
4Bobby DoeJoey LawrenceLarry BillJohn CorleyKelc CorleyBradyn Bob
5Ashton PiercingKayla Ming
6Ashur LowTim LowJoe Smith
7Lauv SmileyBobby Doe
8Lola JeanMichael JeanJoey Lawrence
9Kayla PearsonMichelle PearsonLarry Bill
10David KurtLindsey Kurt Kiley SimbLarry SimbJohn Corley
11Kelc Corley
12Ashton Piercing
13Ashur Low
14Tim Low
15Lauv Smiley
16Lola Jean
17Michael Jean
18Kayla Pearson
19Michelle Pearson
20David Kurt
21Lindsey Kurt
22Kiley Simb
23Larry Simb
Main
Cell Formulas
RangeFormula
G2:G23G2=UNIQUE(FILTERXML("<k><m>"&TEXTJOIN("</m><m>",,IF(A2:E10<>"",A2:E10,""))&"</m></k>","//m"))
Dynamic array formulas.
 
Upvote 0
That's exactly what I am looking for, but it's not working when I put it into my own sheet. Here is the real work. If you could show which exact cells that formula works with. The list starts in another sheet in A4 called (Guest_List).

Rental Arrivals.xlsm
FGHIJ
3Registered_Guest1Registered_Guest2Registered_Guest3Registered_Guest4Registered_Guest5
4Catherine FryeRick Jones
5Greg ProctorTrina ProctorMark PooveySharon Poovey
6Neal BlindeJessica BlindeArden BlindeNorah BlindeGraham Blinde
7Stacie MenichellaDan MenichellaBryce MenichellaBrandon ArtiquaLauren Artiqua
8Dave PowellMeredith PowellPorter PowellRivers PowellElla Powell
9David TaylorElizabeth TaylorBroughton TaylorWilliam Taylor
10Michael PattonAmy Patton
11Anne WarrenEllie WarenTimothy WarrenClaire WarrenJeff Warren
12Patrick WalshEmily WalshMichael WalshMartha WalshPatrick Jr. Walsh
13Mark Frisch
14Cam FindlayAmy FindlayDavid FindlaySusan FindlayKathryn Beiser
15Hans Stig MollerNancy Stig MollerCatherine Stig MollerRita Stig MollerJens Stig Moller
16Ginny ShawRuthie ShawFinley ShawRobbie ShawAlan Shaw
17Chip Dotson Mike KavanaghJohn Lady
18John SimmonsCathy SimonsElliott SimmonsDavid SimmonsMary Catherine Simmons
19Kelly TaylowMatt TaylorHank TaylorMaggie Taylor
20Cathy BlackwelderEmery BlackwelderChip BlackwelderAlli WengertBen Wengert
Guest_Info



Rental Arrivals.xlsm
A
3Guest_Name
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Guest_List
 
Upvote 0
What is the formula you used?
 
Upvote 0
So the range will actually be starting with F4 and going through V:1000 as there are some lines with 15 guests long.
I put this formula in A4 in (Guest_List)
=UNIQUE(FILTERXML("<k><m>"&TEXTJOIN("</m><m>",,IF(F4:V1000<>"",F4:V1000,""))&"</m></k>","//m"))
 
Upvote 0
So the range will actually be starting with F4 and going through V:1000
Which is why I asked how many names & you said about 600 that is over 10,000 cells & so the formula won't work.
 
Upvote 0
Try
Excel Formula:
=LET(Data,Guest_Info!A2:E10,r,ROWS(Data),s,SEQUENCE(r*COLUMNS(Data),,0),x,INDEX(Data,MOD(s,r)+1,INT(s/r)+1),UNIQUE(FILTER(x,x<>"")))
 
Upvote 0
As of right now it only goes from F4:V138 which add up to around 637 names. (Not counting the blanks). but I just wanted it to go to V:1000 for all the added names we do on this sheet in the coming years. My apologies.
 
Upvote 0

Forum statistics

Threads
1,215,500
Messages
6,125,168
Members
449,211
Latest member
ykrcory

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