Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 989
Default Leave "formula cell J7" empty until H7 has a date.

I have the following formula in cell J7

=DATE(YEAR(H7),MONTH(H7)+6,DAY(H7))

This gives me a date in J7 that is 6 months forward from the date I will
enter in H7.

I would like J7 to stay empty (blank) until needed.

Right now the formula works but I get a generic date in J7 of 6/30/00 and I
not only don't know why, I would that not like that to happen.

The date in J7 should be six months forward of H7.

Sorry for being so verbose, I am always afraid I do not ask the right
question.

Thanks to all you experts in advance. For your time, your patience and your
teaching capabilities.

Mark
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Leave "formula cell J7" empty until H7 has a date.

Hi,

=if(H7="","",=DATE(YEAR(H7),MONTH(H7)+6,DAY(H7)))

"Mark" wrote:

I have the following formula in cell J7

=DATE(YEAR(H7),MONTH(H7)+6,DAY(H7))

This gives me a date in J7 that is 6 months forward from the date I will
enter in H7.

I would like J7 to stay empty (blank) until needed.

Right now the formula works but I get a generic date in J7 of 6/30/00 and I
not only don't know why, I would that not like that to happen.

The date in J7 should be six months forward of H7.

Sorry for being so verbose, I am always afraid I do not ask the right
question.

Thanks to all you experts in advance. For your time, your patience and your
teaching capabilities.

Mark

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Leave "formula cell J7" empty until H7 has a date.

Try
=IF(H7,DATE(YEAR(H7),MONTH(H7)+6,DAY(H7)),"")

--
Jacob (MVP - Excel)


"Mark" wrote:

I have the following formula in cell J7

=DATE(YEAR(H7),MONTH(H7)+6,DAY(H7))

This gives me a date in J7 that is 6 months forward from the date I will
enter in H7.

I would like J7 to stay empty (blank) until needed.

Right now the formula works but I get a generic date in J7 of 6/30/00 and I
not only don't know why, I would that not like that to happen.

The date in J7 should be six months forward of H7.

Sorry for being so verbose, I am always afraid I do not ask the right
question.

Thanks to all you experts in advance. For your time, your patience and your
teaching capabilities.

Mark

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
How do I return "leave cell blank" using IF logic. tlm1tlm Excel Worksheet Functions 3 April 8th 08 11:20 PM
To leave a cell blank following an "IF" function abie26 Excel Worksheet Functions 9 April 11th 07 09:44 PM
a formula that leaves cell "empty"? sarahmross Excel Worksheet Functions 6 November 11th 05 06:17 AM
Leave cell data (IF(ISNA(VLOOKUP) is TRUE instead of returning blank (" ") or #NA [email protected] Excel Worksheet Functions 6 October 27th 05 04:02 PM


All times are GMT +1. The time now is 10:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"