ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If cellA is blank or 0 then cellB is blank (https://www.excelbanter.com/excel-worksheet-functions/5227-if-cella-blank-0-then-cellb-blank.html)

~Natasha~

If cellA is blank or 0 then cellB is blank
 

I need your help again, I am still learning excel with a few bumps, here
is one of them.


=+E18+120

This is the formula I have in cell G18, E18 is a date, if E18 is left
blank or 0, I want G18 to be blank.

The end result I want G18 to read 120 days from the date in E18, if E18
has no date, G18 should be blank.

Thank you!
Natasha


--
~Natasha~
------------------------------------------------------------------------
~Natasha~'s Profile: http://www.excelforum.com/member.php...o&userid=14572
View this thread: http://www.excelforum.com/showthread...hreadid=273272


Aladin Akyurek


=IF(ISNUMBER(E18),E18+120,"")

~Natasha~ Wrote:
I need your help again, I am still learning excel with a few bumps, here
is one of them.


=+E18+120

This is the formula I have in cell G18, E18 is a date, if E18 is left
blank or 0, I want G18 to be blank.

The end result I want G18 to read 120 days from the date in E18, if E18
has no date, G18 should be blank.

Thank you!
Natasha



--
Aladin Akyurek
------------------------------------------------------------------------
Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165
View this thread: http://www.excelforum.com/showthread...hreadid=273272


Frank Kabel

Hi
try
=IF(N(E18)=0,"",E18+120)

"~Natasha~" wrote:


I need your help again, I am still learning excel with a few bumps, here
is one of them.


=+E18+120

This is the formula I have in cell G18, E18 is a date, if E18 is left
blank or 0, I want G18 to be blank.

The end result I want G18 to read 120 days from the date in E18, if E18
has no date, G18 should be blank.

Thank you!
Natasha


--
~Natasha~
------------------------------------------------------------------------
~Natasha~'s Profile: http://www.excelforum.com/member.php...o&userid=14572
View this thread: http://www.excelforum.com/showthread...hreadid=273272




All times are GMT +1. The time now is 06:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com