Formula that returns 1 if dates falls in date Range

simplyc

New Member
Joined
Dec 1, 2014
Messages
11
Hello All,
I am in need of a formula that returns "1" if the start date is before or on the active date and if the close date is before or equal to the active date. I am trying to determine how many project are active in that month. If the project is not active, I would like a 0 returned.
Here is an example of what the spreadsheet would look like:
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Column BM
Start Date[/TD]
[TD]Column BN
Close Date[/TD]
[TD]Column BP
Active
1/15/2015[/TD]
[TD]Column BQ
Active
2/15/2015[/TD]
[TD]Column BR
Active
3/15/2015

[/TD]
[/TR]
[TR]
[TD]1/26/2015[/TD]
[TD]3/1/2016[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8/2/2013[/TD]
[TD]8/15/2015[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8/2/2013[/TD]
[TD]8/15/2015[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I tried the formula below and it did not work:
[TABLE="width: 71"]
<tbody>[TR]
[TD="class: xl63, width: 71"]=IF(OR(BM6<=BP4,BO6<=BP4),"1","0")[/TD]
[/TR]
</tbody>[/TABLE]

Any Help would be greatly appreciated !
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Any ideas as to how I should change my formula Rick?
Actually, I am at a loss... all your dates seem to be real dates... given that, the formula that I and bbot posted should have worked. I am not sure what the problem could be. If you would like to send me a copy of the workbook in question, I would be happy to take a look at it and see if I can spot the problem. My email address is...

rick DOT news AT verizon DOT net

Please mention this thread's title in your email so I can find this thread again more easily.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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