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).

StatusDue DateAwareness Date
Overdue3/31/20153/19/2015
Not Due2/10/20165/19/2015
No Plan6/17/2015
No Plan1/25/2016

<tbody>
</tbody>

I feel like I might be asking for too much but any help will be appreciated.

Thanks
1/25/2016

<colgroup><col span="2"><col></colgroup><tbody>
</tbody>
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
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,215,465
Messages
6,124,982
Members
449,201
Latest member
Lunzwe73

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