VLOOKUP with multiple criterias

Eyeson15

Board Regular
Joined
Apr 30, 2015
Messages
201
Good morning

I tried few of the suggestions from google but still can't get it done right.

I need to find the value from corresponding date & time.

Here is a pic for easier understanding - Im trying to fill all the cells in column G with the corresponding data from column C

The first example in G1, looks for the value of 3rd Jan 2016, 17:00 which is C1.

second example in G2, looks for the value of 3rd Jan 2016, 17:24 which is C25. I highlighted them to help you understand.

I hope I am explaining this clearly.

Any help will be GREATLY appreciated. - James

ZSE2l1u.png
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
hi again

i sort of worked it out
Code:
{=INDEX(C:C,MATCH(E1&F1,A:A&B:B,0))}
works. this is array formula btw
im interested in a vba option but im grateful to have this at least.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,982
Messages
6,128,104
Members
449,421
Latest member
AussieHobbo

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