Index match multiple criteria

kripper

Board Regular
Joined
Dec 16, 2013
Messages
102
Been a while since I posted.....have had a lot of success with tips from the amazing people here.....but now I am stumped, can't seem to get this formula to pull the results I need, just get an #NA error.

I have a two part question if I may.....

{=INDEX('Q1'!$A:$A,MATCH(1,INDEX(('Q1'!$C:$C=$D3)*('Q1'!$BI:$BI>=AAA$35)*('Q1'!$BI:$BI<=$AAB$35),0,1),0))}

On the data sheet is a serial number, column c, is an employee number and column BI is a date value column identifying the date of the call, and I am trying to get the formula to reference the serial number between the two dates in question using the employee number as reference.

Then on the next column, I want to pull the next serial number for the same employee in the same date range.....using the second formula..

{=INDEX('Q1'!$A:$A,MATCH(1,INDEX(('Q1'!$C:$C=$D3)*('Q1'!$BI:$BI>=AAA$35)*('Q1'!$BI:$BI<=$AAB$35)*(COUNTIF($ZY$3:ZY3,'Q1'!$A$2:$A$9630),0,1),0))}

Hoping someone can help point out what I am missing.......
 
Sorry, I copied them, but didn't past as such, my apologies.

I have done the evaluation and formula checking, and it throws false, false, true when I make the necessary corrections.
 
Upvote 0

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
My friend.....I found my error.......3 hours later, and some manual writing and trials.....but I did it.

Code:
{=INDEX('Q1'!$A:$A,MATCH($D3,IF('Q1'!$BI:$BI>=AMP$3,IF('Q1'!$BI:$BI<=AMQ$3,'Q1'!$C:$C,0)),0))}

Code:
{=INDEX('Q1'!$A:$A,MATCH($D3,IF('Q1'!$BI:$BI>=AMP$3,IF('Q1'!$BI:$BI<=AMQ$3,'Q1'!$C:$C,0)*(COUNTIF($ZY3:ZY3,'Q1'!$A:$A)=0),'Q1'!$C:$C),0))}

Thanks for the assistance.....greatly, greatly appreciated.....!

:)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,580
Messages
6,125,654
Members
449,245
Latest member
PatrickL

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