Calculate Deadline Date Based On Latest Date In Previous Column

SaraWitch

Active Member
Joined
Sep 29, 2015
Messages
322
Office Version
  1. 365
Platform
  1. Windows
Hello everyone.

I would like to create a deadline date based on the latest date in the previous column. I have an existing formula for two entries (=IF($C12>0,$C12+42,""), but this doesn't work for more than two dates when the deadline is calculated 42 days on from the latest date. I have tried the MAX formula to put in another column, but can't work out how to not return a result if any cells are blank.
  • Column C = dates received
  • Column F = deadline date (42 days after latest date in column C (and is where current formula of =IF($C>0,$C12+42,"" is))
One formula in column F would be ideal, if possible!

Ta muchly, folks!
Sara
 
This appears to work if you keep Col B as merged cells, but remove the merge from Col D

=IF(OR(B21<>"",C21=""),"",C21+42)

1596011245683.png
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Thank you. Although your original formula, "=MAX($C:$C)+42" works well. I just need this tweaked that if any cells in column C are blank, don't calculate (only when all the dates are received, does column D give a Response Target Date). I did try "=IF($C13:$C17>0,MAX($C13:$C17)+42,"")", but that's not working... e.g.
MEx Ref No.Date Received (if 2-way MEx, enter 2nd details in third line of section)Response Target (date will auto-populate when last application date received entered)
000118/05/2020
000206/06/202018/07/2020
06/06/2020
000301/06/202008/09/2020
28/07/2020
15/07/2020
 
Last edited:
Upvote 0
Hello. I've worked it out!! So, I've used your original MAX formula and set a conditional formatting of "=COUNTBLANK ($C:$C)" and set the font colour to the row colour. Works a treat - thank you for your help...:)
 
Upvote 0
You're welcome, I'm surprised it works with merged cells! But if it does great.
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,822
Members
449,096
Latest member
Erald

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