How can i compare a Date within all date ranges that i have?

SammyKoo

New Member
Joined
Nov 22, 2017
Messages
3
Hi all,

i need help on the below question.
i have a leave tracker that i have prepared, in which it shows me all the dates that my staff have applied for leave.
example in Column A and B, i have the below dates, where column A is the start date and column B is the end date, in File A:
23/11/201728/11/2017
1/5/20171/6/2017
3/4/20175/4/2017
5/1/20177/1/2017
9/3/201711/3/2017

<tbody>
</tbody>

i also have a separate file where keep daily records of their attendance, in file B, say column C is where i keep the dates, example:

1/1/2017
6/1/2017
3/4/2017
3/5/2017
10/12/2017
29/11/2017

<tbody>
</tbody>
so now i need to check if dates in column C in file B, falls under any dates within A:B in file A, for leave reconciliation.
i tried to use the IF formula, which it would only compare within the same row. however i need C1 to compare with all A1:B5 (or even more data when the list expands)..

anyone can help?

sorry if i have not explained it clearly....
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,213,489
Messages
6,113,954
Members
448,535
Latest member
alrossman

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