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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Sorry didn't see that! Thank you. So I tried the formula on my computer with Excel 365 but I changed the A2:E10 to F4:V1000 and its giving me a spill error.

=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
In that case you need to clear all the cells below where you put the formula.
 
Upvote 0
I'll let you know if it works as soon as I get access to my 365 Excel Computer. Still waiting on it. Thank you!
 
Upvote 0
=LET(Data,Guest_Info!F4:V1000,r,ROWS(Data),s,SEQUENCE(r*COLUMNS(Data),,0),x,INDEX(Data,MOD(s,r)+1,INT(s/r)+1),UNIQUE(FILTER(x,x<>"")))

Was finally able to test this formula on the 365 computer. It seems to work somewhat, but it looks like it grabs only the Registered_Guest1 column. Instead of all names. For the unfilled names it gives me (#CALC) error.
 
Upvote 0
That will get the data from all the columns & put it in one vertical list.
 
Upvote 0
What did you mean by
Out of the 600+ names it only pulls from the first column which is like 100 and then gives me #calc errors for the other 500 going down the list.
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,827
Members
449,470
Latest member
Subhash Chand

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