Create list from multiple cells on multiple sheets?

FatalLordes

Board Regular
Joined
Dec 22, 2017
Messages
76
Office Version
  1. 365
Platform
  1. Windows
Hi all

So I have have multiple cells across multiple sheets that I want to sort into one list which I can then use to create a drop down list. I want it to exclude any empty cells and I only want unique values.

My cells are all the same on both sheets, specifically H10:H22 and H26:H38 and my sheets are "2004" and "2005".

How would I go about doing this? Is it possible? I will gradually be adding more sheets but the cell numbers will always be the same on every sheet.

Would really appreciate some help and guidance. :)
 
  1. What happened to the issue of 'blank' cells as mentioned in post 6?
    If there are any formula cells returning "", doesn't that formula produce a 'vacant' cell A1 on the 'Data Validation' sheet?

  2. You have gone to a lot of unnecessary work to use the results in a data validation drop-down.
    - You do not need the formula in C1
    - You do not need anything in the Name Manager
    - In any cells where you want the list as drop-down values use data validation -> Allow: List -> in the Source box put this formula
    ='Data Validation'!$A$1#

    (ensuring that the blue text is the name of the worksheet where your long formula resides in cell A1
BTW, when posting a formula in the forum, use the icon indicated below, not the 'Inline code' icon

View attachment 117751
Hi Peter

Using the formula I included seemed to have removed the blank cells. I assumed I had to do all that to then get the list alphabetical? But I will try your method. I probably did take a very long winded way around as I was learning as I went. And I have learnt I don't need the formula in C1 but I assume I would need the Name Manager which sorts the list alphabetically? But I will try your suggestion. :)

I appreciate all your help :)
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Using the formula I included seemed to have removed the blank cells.
If the cells are truly empty then your formula will remove them (via the TOCOL function). However, if any cells contain "" as the result of another formula then the final list would have one apparently blank cell in it.

I assume I would need the Name Manager which sorts the list alphabetically?
It is not Name Manager that sorts the list it is the long formula in A1
 
Upvote 0
If the cells are truly empty then your formula will remove them (via the TOCOL function). However, if any cells contain "" as the result of another formula then the final list would have one apparently blank cell in it.


It is not Name Manager that sorts the list it is the long formula in A1
LOL, I just did as you said and yep, it works.... so I learnt a VERY long winded way of doing something very easy LOL! Thank you so much again! :)
 
Upvote 0

Forum statistics

Threads
1,224,812
Messages
6,181,102
Members
453,021
Latest member
Justyna P

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