Matching dates in excel

supermax77

New Member
Joined
Jun 26, 2024
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Im trying to work out if date in column A falls between date in column B and date in column C. I've tried so many formulas and cant work out what im doing wrong! please help!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
This works for me:

MrExcel_2024-06.xlsm
ABCD
17/7/20246/1/20248/1/2024TRUE
Sheet2
Cell Formulas
RangeFormula
D1D1= AND(A1>=B1,A1<=C1)
 
Upvote 0
This works for me:

MrExcel_2024-06.xlsm
ABCD
17/7/20246/1/20248/1/2024TRUE
Sheet2
Cell Formulas
RangeFormula
D1D1= AND(A1>=B1,A1<=C1)
thanks for this - it's the exact formula ive been trying and it wont work despite how simple it seems - i think i may have an error elsewhere...
 
Upvote 0
A common cause for it not working is that one or more of the cells are text and not a number (a date being a number).
Select A1:C1 change the format to General (ctrl+shift+~ will do it).
Do all 3 values change to a number ?
Ctrl+Z to undo the formatting change.

Are there formula in the 3 cells and if so what is the formula ?
 
Upvote 0
Solution

Forum statistics

Threads
1,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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