Unique Values from Multiple Sheets more than 4 sheets

ravi2628

Board Regular
Joined
Dec 20, 2017
Messages
221
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Dear All,

good morning / afternoon /evening,

happy new year for all,

I was looking for a formula where I can get unique values from multiple sheets.

no macro please because who ever is using in my team is not much familiar with macros, so formula will help them much.

sample data is shared for reference.

Sheet1:
Country
Botswana
Botswana
Chile
Chile
Chile
Costarica
Dominican Republic
Dominican Republic
Dominican Republic

sheet 2


Country
Nigeria
Srilanka
Costarica
Philippines
Honduras
Uzbekistan
Peru
El Salvador
Bhutan
Syria
Dominican Republic
Guatemala
Myanmar
Panama
Chile
Nepal
Nicaragua
Kenya

sheet3:


Country
DR Congo
Georgia
Iran
Kenya
Namibia
Nepal
Nigeria
Philippines
Srilanka
Uganda
Yemen
Mozambique
Russia
Syria
Nicaragua
Botswana
El Salvador
Morocco
Thailand
Cambodia
Vietnam
Myanmar
Ecuador

sheet4:


Country
Colombia
Costarica
Cuba
Ghana
Peru
Kenya
Kyrgystan
Maldova
Myanmar
Nicaragua
North Sudan
Paraguay
Philippines
Russia
Srilanka
Uganda
Zambia
Nepal
Ecuador
Chile
Honduras
Bhutan
Syria
El Salvador
Jamaica
Georgia
Guatemala
Dominican Republic
Iran
Uzbekistan


Output:

Country
Bhutan
Botswana
Cambodia
Chile
Colombia
Costarica
Cuba
Dominican Republic
DR Congo
Ecuador
El Salvador
Georgia
Ghana
Guatemala
Honduras
Iran
Jamaica
Kenya
Kyrgystan
Maldova
Morocco
Mozambique
Myanmar
Namibia
Nepal
Nicaragua
Nigeria
North Sudan
Panama
Paraguay
Peru
Philippines
Russia
Srilanka
Syria
Thailand
Uganda
Uzbekistan
Vietnam
Yemen
Zambia

please help me out with the formula.

thanks in advance.

Regards,
Ravi
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
How about
Excel Formula:
=LET(v,VSTACK(Sheet1!A2:A100,Sheet2!A2:A100,Sheet3!A2:A100,sheet4!A2:A100),SORT(UNIQUE(FILTER(v,v<>""))))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
If Sheets 1 to 4 are consecutive in your workbook then you could try

Excel Formula:
=LET(v,VSTACK(Sheet1:Sheet4!A1:A100),SORT(UNIQUE(FILTER(v,v<>""))))
 
Upvote 0
Excel Formula:
=SORT(UNIQUE(TOCOL(Sheet1:Sheet4!A2:A100,1)))
 
Upvote 0
That won't work if the OP has formulae in those cells that return "" ;)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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