Lookup across multiple columns in a dataset to return a value

Trillum

New Member
Joined
Mar 30, 2022
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Hi
I have a dataset that runs across multiple columns that shows all the same type of data. I need to find a policy # within that dataset and then return values that are in static columns at the end.
I can't seem to figure out the right combination of V/H/Xlookups, find, index, match that will move through the entire dataset as I don't know which column the value might be in.
I'm sure it's a simple fix....

I'm posting from a work computer so I can't download the XL2BB file, sorry.

1648641348884.png
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi & welcome to MrExcel.
How about
Excel Formula:
=INDEX($O$2:$O$100,AGGREGATE(15,6,(ROW($O$2:$O$100)-ROW($O$2)+1)/($A$2:$M$100=Q2),1))
 
Upvote 0
Solution
OMG aggregate! I didn't think to use that!
THANK YOU!!!!! :love:
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,246
Members
449,075
Latest member
staticfluids

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