• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

leave blank if no value - if or sumif?

mapyrant

New Member
I'd like to populate a "due date". Which is 14 days from a value in the previous column. But if there is no date in the previous column, I'd like the cell to remain blank. I'm struggling on this one. Thank you,
 
This is awesome, thank you!

Would it be possible to add multiple arguments?

i.e. =IF(A1="","",A1+14) ... BUT ILO +14, could i say if column D = Blue, do +14, if column D = green, +28, if column D = Red, +21, etc?
 
If column D contains the word "Blue" etc, then yes. If column D is actually coloured blue, then no (at least not without code).
 
To avoid a long formula, you can also build a small table of values say B1:B3 containing the words blue, green, yellow (say) and your formula then boils down to something like =IF(A1="","",match(D1,B1:B3,0)*7)
 
Back
Top