View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John[_22_] John[_22_] is offline
external usenet poster
 
Posts: 694
Default Conditional formula for dates

Hi
try this =IF(D1="z",A1+10,IF(D1="y",A1+20,"")) , you can copy down the column.
HTH
John
"BMoran" wrote in message
...
I'm looking for help with a conditional formula.

A B C D
1 11/1/09 z

I'd like a formula in column B to calculate days depending on columns A and
D. If column D is "z", i'd like to add 10 days to column A. If column D is
"y", I'd like to add 20 days to column A.

Thanks for any assistance!