Remember Me?

#### Menu

#1
April 1st 08, 06:22 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Aug 2006 Posts: 47
return empty string value if cell is blank

I think I understand how to do this but need help with the exact formula. If
I want to do a date function that adds 6 months to a cell value I have added
teh forumula
=DATE(YEAR(E13),MONTH(E13)+6,DAY(E13)), however some of the cells have no
values in the E column yet, so they bring back erroneous information. Can't
I use some sort of an If("", ) statement to only bring back values for cells
which are not empty??

Thanks in advance,

#2
April 1st 08, 06:27 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Jul 2006 Posts: 1,316
return empty string value if cell is blank

The following formula will do the trick:

=IF(ISBLANK(E13),"",DATE(YEAR(E13),MONTH(E13)+6,DA Y(E13)))

Hope this helps.
--
Kevin Backmann

"Nat" wrote:

I think I understand how to do this but need help with the exact formula. If
I want to do a date function that adds 6 months to a cell value I have added
teh forumula
=DATE(YEAR(E13),MONTH(E13)+6,DAY(E13)), however some of the cells have no
values in the E column yet, so they bring back erroneous information. Can't
I use some sort of an If("", ) statement to only bring back values for cells
which are not empty??

Thanks in advance,

#3
April 1st 08, 08:55 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Aug 2006 Posts: 47
return empty string value if cell is blank

That is perfect .. thanks a bunch.

"Kevin B" wrote:

The following formula will do the trick:

=IF(ISBLANK(E13),"",DATE(YEAR(E13),MONTH(E13)+6,DA Y(E13)))

Hope this helps.
--
Kevin Backmann

"Nat" wrote:

I think I understand how to do this but need help with the exact formula. If
I want to do a date function that adds 6 months to a cell value I have added
teh forumula
=DATE(YEAR(E13),MONTH(E13)+6,DAY(E13)), however some of the cells have no
values in the E column yet, so they bring back erroneous information. Can't
I use some sort of an If("", ) statement to only bring back values for cells
which are not empty??

Thanks in advance,

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post cls Excel Worksheet Functions 8 February 4th 08 04:27 AM Dave F[_2_] Excel Discussion (Misc queries) 13 August 7th 07 05:59 PM Troymello Excel Worksheet Functions 0 March 3rd 06 05:19 PM Mike D. Excel Discussion (Misc queries) 2 January 3rd 06 06:27 PM Pasmatos Excel Discussion (Misc queries) 0 November 25th 05 03:54 PM

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

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

# About Us

"It's about Microsoft Excel"

Copyright © 2017