Updating a Unique/Filter formula to find the correct column

erniepoe

Active Member
Joined
Oct 23, 2006
Messages
377
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I currently have the simple Unique formula as follows:

=UNIQUE(FILTER($E$12:$E$10000,($AI$12:$AI$10000>0))).

Column AI is the column that corresponds to the date, so was hoping to build one dynamically that would automatically find the correct column based on the date, rather than have to manually change the formula each month to AJ, AK, etc...

The date can be found in cell A1, and corresponds to row 10, and I came up with the following, which is not working.

=UNIQUE(FILTER($E$12:$E$10000,INDEX(F12:AP10000,MATCH(A1,F10:AP10,0))>0))

Any help in making this a less manual activity each month would be most appreciated. Thank you so much.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
How about:

Excel Formula:
=UNIQUE(FILTER($E$12:$E$10000,(CHOOSECOLS($F$12:$AP$10000,XMATCH(A1,F10:AP10))>0)))
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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