PDA

View Full Version : Excel if then


dragster1091
Apr 17, 2014, 08:20 AM
I have column B with a date, I have column C with a formula (I have =(B1+180) in column C) I need the text in cell c1 to be visible. How do I do this?

Cheryl

dragster1091
Apr 17, 2014, 08:31 AM
I am using excel 2010. I am an excel beginner. I have column b formated as a date. I have column C formated with the date from column B and adding 180. The formula in column C is: =(B2+180). This works fine. However, now I need to figure out how to only disply the information in column C if column B is filled in.
EX:
column A Column B Column C
(info should not be visible in Column "C" if no
info is in "B")


Equipment #

PM Complete date

PM Due Date




010-008-003

16-Apr

10/13/2014




010-129

16-Apr

10/13/2014




010-159


6/28/1900




036-136


6/28/1900




036-137


6/28/1900

ScottGem
Apr 17, 2014, 09:39 AM
Try:

=IfBlank(B2),"",(B2+180))

dragster1091
Apr 17, 2014, 12:11 PM
Thank you for your quick reply, unfortunately I got an error message:
"The formula you typed contains an error"
I wish I could share the file or a screenshot with you.

dragster1091
Apr 17, 2014, 12:13 PM
45938

ScottGem
Apr 17, 2014, 12:15 PM
Sorry, my memory is failing. Try:

=IF(ISBLANK(B2),"",B2+180)

dragster1091
Apr 18, 2014, 04:12 AM
That works, thank you very much!
:)

ScottGem
Apr 18, 2014, 04:43 AM
Glad to assist. Sorry for the brain fart.