#1   Report Post  
Junior Member
 
Posts: 13
Default Autofilling dates

I am having a bit of an issue with being able to pull down my formula from E2 and it not make up a date if the D2 cell is empty. I know I need to put in some kind of a rule that will let the program know that I want it to remain blank if D2 does not have a date, but can't seem to find how. Here is my formula, any help would be greatly appriciated!

=DATE(YEAR(D2)+10,MONTH(D2),DAY(D2))
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Jade Summers View Post
I am having a bit of an issue with being able to pull down my formula from E2 and it not make up a date if the D2 cell is empty. I know I need to put in some kind of a rule that will let the program know that I want it to remain blank if D2 does not have a date, but can't seem to find how. Here is my formula, any help would be greatly appriciated!

=DATE(YEAR(D2)+10,MONTH(D2),DAY(D2))
Try putting IF(D2="","", before "date" in your formula and another closing bracket at the end of the formula.r
  #3   Report Post  
Junior Member
 
Posts: 13
Default

Quote:
Originally Posted by Spencer101 View Post
Try putting IF(D2="","", before "date" in your formula and another closing bracket at the end of the formula.r
Thank you, wonrked like a charm!
  #4   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Jade Summers View Post
Thank you, wonrked like a charm!
Glad to be able to help, Jade :)
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
Autofilling a formula down CLR Excel Programming 5 June 7th 08 02:46 PM
Autofilling Faboboren Excel Programming 7 November 26th 07 05:48 PM
Autofilling Macro Bob F[_2_] Excel Programming 6 September 11th 06 07:16 PM
Help with autofilling formulas moncara New Users to Excel 1 June 21st 06 11:42 PM
Autofilling information sujomo Excel Worksheet Functions 0 February 15th 06 10:31 PM


All times are GMT +1. The time now is 09:49 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"