vlookup with date criteria.

Status
Not open for further replies.

Godders199

Active Member
Joined
Mar 2, 2017
Messages
313
Office Version
  1. 2013
Hello, i am trying to get the following formula to work.
=INDEX('QA Oversight file'!J:J,MATCH(1,IF('QA Oversight file'!G:G, ">="&COA!$M$2,IF('QA Oversight file'!G:G, "<="&COA!$N$2,IF('QA Oversight file'!A:A,"="&A4,1))),0))

Effectively i need to return the text in column J:J, where the date in column G:G is between the dates in M2 and N2 , then the name in column A:A equals A4. all i am able to return is "0".

So Effectively a Vlookup =VLOOKUP(A4,'QA Oversight file'!A:J,10,FALSE) but with the date criteria between M2 and N2

There will only ever be one matching record within the date range.

I have tried both as an array and as a normal formula.

Any help appreciated.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Duplicate to: vlookup with date criteria.

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,545
Messages
6,125,448
Members
449,227
Latest member
Gina V

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