INDEX MATCH With 2 criteria inc. between date

MishyWhite

New Member
Joined
May 26, 2017
Messages
1
Hi

I am hoping someone can help me... this is my first post so please bear with me :)

I am writing what will become a job planner so that i can see what jobs my guys are working on on which days. I have almost got there but i am stuck on the INDEX MATCH. I have a raw data tab showing (sorry, can't seem to upload a pic) :

DayCodeJob NumberActionStart DateEnd DateMonthEngineerTeam
Dave Smith03/01/17146-15-DW003Meeting03/01/1703/01/171.00Dave SmithMaintenance & SW
Dave Smith03/10/16Meeting03/10/1603/10/1610.00Dave SmithMaintenance & SW
Dave Smith05/01/171190-14-DW066Meeting05/01/1705/01/171.00Dave SmithMaintenance & SW
Dave Smith07/01/171190-14-DW066Meeting07/01/1719/01/171.00Dave SmithMaintenance & SW

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

I then have a seperate tab to show the job per person, per day :
01/01/1702/01/1703/01/1704/01/1705/01/1706/01/1707/01/17
Andy Smith
Dave Smith 146-15-DW003 1190-14-DW066 1190-14-DW066
Andrew ****sedge
Ed Peters
John King 158456153211584561532115845615321 15845615321
Kevin Jones
Michelle Jenkins 15845615321



<colgroup><col><col span="7"></colgroup><tbody>
</tbody>
So i have managed to get the jobs tab to lookup the person and the date (concatenated) and get the job number - =IFERROR(INDEX(RawData!$A:$I,MATCH($A7&B$5,RawData!$A:$A,0),2),"")

But what i really need to do is to look at the plan date for that person and if that date falls between the start and end date to show the job number. The added complication is that there may be more than one job for that person on that day so i'm not sure how to get around that but for now just the first job on tat day will suffice. I hope i have explained myself well enough but please let me know if i haven't... any help would be gratefully received, thanks
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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