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

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
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,223,060
Messages
6,169,860
Members
452,286
Latest member
noclue2000

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