Check date falls between mentioned date

nirmalachr

New Member
Joined
Nov 25, 2013
Messages
26
Dear Forum,

I would like to check the date(stored as date in column j) falls after 01/05/2015, before 30/06/2015 and i= "sanctioned" then it should calculate f*1 else 0 for this i am using the below formula but i am not able to get the true value even though date falls between the mentioned date and i = sanctioned.

=IF(AND(J3>=01/05/2015,J3<=30/06/2015,I3="SANCTIONED"),F3*1,0)

Kindly help me out.

Thanks in advance.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
In general you can't enter dates JUST like that in a formula. Try DATE(2015,5,1) and DATE(2015,6,30).
 
Upvote 0
Or

=IF(AND(J3>=datevalue("01/05/2015"),J3<=datevalue("30/06/2015"),I3="SANCTIONED"),F3*1,0)
 
Upvote 0

Forum statistics

Threads
1,216,054
Messages
6,128,516
Members
449,456
Latest member
SammMcCandless

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