Help with if statements for date calculations

MarioMac

New Member
Joined
Aug 23, 2014
Messages
10
I have an excel spreadsheet where I need to calculate due dates daily. I have four categories, Overdue, Not Due, No Plan. I have an if statement for this and it works. =IF(ISBLANK(B2),"No Plan",IF(B2<TODAY(),"Overdue","Not due"))

My problem is that I also want to split the no plan into 2 categories. You only need a plan after 30 days of awareness. So I would like to have No Plan, and Plan not Required (if it's less than 30 days from Awareness date - column C).

[TABLE="width: 486"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Status[/TD]
[TD]Due Date[/TD]
[TD]Awareness Date[/TD]
[/TR]
[TR]
[TD]Overdue[/TD]
[TD]3/31/2015[/TD]
[TD]3/19/2015[/TD]
[/TR]
[TR]
[TD]Not Due[/TD]
[TD]2/10/2016[/TD]
[TD]5/19/2015[/TD]
[/TR]
[TR]
[TD]No Plan[/TD]
[TD][/TD]
[TD]6/17/2015[/TD]
[/TR]
[TR]
[TD]No Plan[/TD]
[TD][/TD]
[TD]1/25/2016[/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I feel like I might be asking for too much but any help will be appreciated.

Thanks[/TD]
[TD][/TD]
[TD="align: right"]1/25/2016[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
on the forum you have lost the full code - this is because of < > being seen as html - put a space before and after

=IF(ISBLANK(B2),"No Plan",IF(B2<today(),"overdue","not due"))


=IF(AND ( ISBLANK(B2), C2 > today() - 30 ), "Plan not Required" IF ( ISBLANK(B2) , "No Plan", IF ( B2<today(),"overdue","not due"))
</today(),"overdue","not></today(),"overdue","not>
 
Upvote 0
Thanks - I didn't see that it cut off my formula. This is the missing piece (I cannot post the whole one - it keeps cutting it off):
<today(),"overdue","not due"))
IF ( C2 < TODAY () , "Overdue" , "Not due" ) )

It doesn't work if I combine with yours.

<today(),"overdue","not due"))]<="" html=""></today(),"overdue","not></today(),"overdue","not>
 
Upvote 0
I'm not winning this battle. The last part states that if the cell is more than today it's Overdue, if not it's Not due.
 
Upvote 0
ignore my post wrong reply !!!
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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