Formula that checks if an ID falls between two dates and a single date

Leicester City Fox

Board Regular
Joined
Oct 7, 2016
Messages
91
Office Version
  1. 2019
Platform
  1. Windows
Hi All


Want a formula thatcheck if an ID falls between two dates and a single date.
The will help me state they were staying at are home betweenthe dates below or they went to the hostel or they went aboard between thesedates.
I have an ID numbers and two dates see example below of whenpeople were at are home:
Home ID Dates crosscheck
A B C
2) ID No. StartDate End Date
3) 2321 12/01/2018 22/02/2019
4) 5437 01/06/2017 13/04/2019
50 2345 08/05/2019 11/11/2019

Hostel Tab
I want a formula that cross checks these data and ID No.above. With another tab which gives customerID Nos and dates, showing the start date they went in the end date the left hostileand when they left the hostel and if these dates fall within the dates above.
Aboard Tab
I have another tab that states the IDs and show one date theywent aboard. Again, I want to know if this falls within the dates above.

I am grateful for any help in the matter or ideas.
Many Thanks
Leicester Fox



 

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.
Re: Want a formula that checks if an ID falls between two dates and a single date

The formula
=COUNTIFS(A:A, F2, B:B, "<="&F3, C:C, ">="&F3)

Will tell if the ID number in F2 was at home on the date in F3
 
Upvote 0
Re: Want a formula that checks if an ID falls between two dates and a single date

Hi Mikerson

Good Morning

Thanks for the example it don't appear to work on the dates on the other tabs.

Thanks Anyway :)

The Leicester Fox
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,242
Members
448,951
Latest member
jennlynn

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