Tweak Existing "DAYS LATE" formula to look at 2nd column for completion

Lisa Nicoletta

New Member
Joined
Sep 2, 2015
Messages
6
Objective: to show days late, based on a projected date vs today's date UNLESS a completed date is showing in a different column

Current columns:
M4: has TODAY() formula to display today's date
M10: no formula. Projected Meeting Date is entered here
N10: no formula. Actual Meeting Date is entered here
P10: current formula only shows days late based on M10 and M4.... =IF(COUNT(M10,$M$4)=2,TEXT($M$4-M10,"0 ""Day(s) Late"";0 "" Day(s) Early"";""On Time"""),"")

What I'm looking for is the correct formula that would also look at cell N10 to see if there is a date (person had meeting). If there IS a date in cell N10, then P10 would display COMPLETE.

Please help :) Pretty please!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
=IF(ISNUMBER(N10),"Complete",IF(COUNT(M10,$M$4)=2,TEXT($M$4-M10,"0 ""Day(s) Late"";0 "" Day(s) Early"";""On Time"""),""))

great formula ninja. I was just going to change my formula as I realized the OP asked for one to check both.

However would the criteria for "Complete" not be better served to check if it is a date in the cell rather than a number?

something like

=IF(LEFT(CELL("format",N10),1)="D","Complete",IF(COUNT(M10,$M$4)=2,TEXT($M$4-M10,"0 ""Day(s) Late"";0 "" Day(s) Early"";""On Time"""),""))

Rich
 
Upvote 0
=IF(ISNUMBER(N10),"Complete",IF(COUNT(M10,$M$4)=2,TEXT($M$4-M10,"0 ""Day(s) Late"";0 "" Day(s) Early"";""On Time"""),""))

Thank you (once again) CodeNinja! I actually used a formula that you previously gave me for a similar, but different scenario and it worked! :)
=IF(ISBLANK(N9),IF(COUNT(M9,$M$4)=2,TEXT($M$4-M9,"0 ""Day(s) Late"";0 "" Day(s) Early"";""On Time"""),""),"COMPLETE")
 
Upvote 0

Forum statistics

Threads
1,216,725
Messages
6,132,340
Members
449,719
Latest member
excel4mac

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