HLOOKUP with multiple criteria

Rab_marr

New Member
Joined
Apr 12, 2016
Messages
24
Good Afternoon all,

I have been searching the forum as well as other sites as to how I can resolve a little problem I have

I have a table in a cross tab format, something like this

(a) ---------------------(b) -----------------(c) ---------------(d) ---------------(e) -----------------(f) ------------(g)

1 white123
2
3 ------------------45678white123 --45679white123 --45679black456 --45680Jones124 --45680white123 --45681black456
4 ---------------------White123 --------white123 ---------black456 ---------Jones124 ---------white123 ------black456
5
6 Sam Smith
7 Ted Jones
8 Alan Black
9 Phil Green
10 Jeff White

What I am trying to achieve is run a lookup type formula that will search row 4 and find the last value that equals that in cell A1 and deliver the contents of the cell directly above it on row 3.

eg in the example above "white123" would skip the contents of column B & C and give the result in Col f = 45680white123

I hope I have made myself clear on what I am hoping to achieve, I am kind of confusing myself.

I thank you for your assistance in advance.

Rab
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,216,151
Messages
6,129,162
Members
449,489
Latest member
spvclub

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