UNIQUE with selection from drop down list

virtuosok

Board Regular
Joined
Sep 2, 2020
Messages
209
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have a set of tabs named JAN, FEB, MAR and so on... and then the Summary tab
In one of the cells on tab Summary - let's say it's cell A1 - I have set up data validation so that it contains a drop down list with names of all the other tabs: JAN,FEB,MAR....
How can I add a formula in cell A2 on that Summary tab so that it pulls unique entries from column B on any tab I select for a given month? In other words,
=UNIQUE(JAN!B2:B50) works just as well as =UNIQUE(FEB!B2:B50), but I'd rather have it along the lines of =UNIQUE(TEXT(A1)!B2:B50), so that when I select JAN in A1, it pulls data from tab JAN, and when I select FEB it does the same from FEB tab...
Ideally, a solution that would work in Excel 2007, but 365 is great, too!
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Try this (365 or 2021 only)
Excel Formula:
=UNIQUE(INDIRECT(A1&"!B2:B50"))
 
Upvote 0
Solution

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

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