Lookup between dates

macangc

Board Regular
Joined
Mar 28, 2006
Messages
140
Office Version
  1. 365
Hi

I have a spreadsheet im trying to complete which if done manually will take forever but i cant work out how to automate.

In one sheet i have information as per the below

Date Employee Name Holiday taken
02/06/2018 Joe bloggs
03/06/2018 Joe bloggs
06/06/2018 Joe bloggs
02/06/2018 John Smith
03/06/2018 John Smith
06/06/2018 John Smith


In another sheet

I have the below

Name Start Date End Date Working Days taken
Joe Bloggs 02/06/2018 02/06/2018 1
Joe Bloggs 03/06/2018 06/06/2018 2
John Smith 02/06/2018 06/06/2018 3

I need a formula to populate the 1st spreadsheet in the column name holiday taken
. Just need to say true or yes

thanks
 

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.
Use the following

Excel Workbook
ABC
1DateEmployee NameHoliday taken
202/06/2018JoebloggsYes
303/06/2018JoebloggsYes
406/06/2018JoebloggsYes
502/06/2018JohnSmithYes
603/06/2018JohnSmithYes
706/06/2018JohnSmithNo
sheet1
 
Upvote 0

Forum statistics

Threads
1,223,723
Messages
6,174,108
Members
452,544
Latest member
aush

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