Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
KKJ KKJ is offline
external usenet poster
 
Posts: 3
Default Want it to be blank if date has not been added

This should be simple: In cell A1 there is a date. in cell B2 I want to add
7 days to that date. But if I have not yet added a date in A1 I would like
B2 to stay blank.

I Can't seem to make that happen.

Thank You!!


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Want it to be blank if date has not been added

Try this in B2:

=IF(A1="","",A1+7)

Format it as Date.

--
Biff
Microsoft Excel MVP


"KKJ" wrote in message
...
This should be simple: In cell A1 there is a date. in cell B2 I want to
add
7 days to that date. But if I have not yet added a date in A1 I would
like
B2 to stay blank.

I Can't seem to make that happen.

Thank You!!




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Want it to be blank if date has not been added

Hi,

Here is another alternative

=IF(A1,A1+7,"")

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"KKJ" wrote:

This should be simple: In cell A1 there is a date. in cell B2 I want to add
7 days to that date. But if I have not yet added a date in A1 I would like
B2 to stay blank.

I Can't seem to make that happen.

Thank You!!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Want it to be blank if date has not been added


Format cells in column A and B as date and add following formula in cell
B1
=IF(A1="","",A1+7)



Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com




--
Chris Bode
  #5   Report Post  
Posted to microsoft.public.excel.misc
KKJ KKJ is offline
external usenet poster
 
Posts: 3
Default Want it to be blank if date has not been added

Thanks to everyone!! worked great!

kkj

"Chris Bode" wrote:


Format cells in column A and B as date and add following formula in cell
B1
=IF(A1="","",A1+7)



Chris
------
Convert your Excel spreadsheet into an online calculator.
http://www.spreadsheetconverter.com




--
Chris Bode



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
CAN EXCEL AUTO DATE ADDED WORKSHEETS? Dean W. Excel Worksheet Functions 1 June 6th 08 10:53 PM
How do i set Excel to record the date etc of info added arrivarob Excel Worksheet Functions 1 March 29th 07 02:23 PM
Can a creation date be added to a footer rogerl_uk Excel Discussion (Misc queries) 3 June 2nd 06 02:03 PM
Pivot Table problem, blank fields aren't being added Ant Excel Discussion (Misc queries) 3 November 8th 05 03:13 AM
Can a conditional formula indicate "date added" next to a text? Earnest er Excel Worksheet Functions 2 September 7th 05 05:45 PM


All times are GMT +1. The time now is 04:09 AM.

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

About Us

"It's about Microsoft Excel"