Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Date Calculation (from entered date / 1yr later in next field)

In Excel, I want to be able to enter a date in one field and have a date that
is 1 year later in the field next to it; what formula may I use to achieve
this?

Also, if the resulting date is past, how do I make the date turn red?

And, if the first date is 8/30/2008, how do I make it that it turns Green
when we are three months before this date?
--
AjaminB
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 747
Default Date Calculation (from entered date / 1yr later in next field)

Try this

suppose u enter date in A1
in B1 put this formula =DATE(YEAR(A1)+1,MONTH(A1),DAY(A1)) and drag it
till u need....

Select the col B | go to format | conditional formatting | condition
1- formula is : =B1<TODAY() | pcik the color | condition 2 - formula
is =B1(TODAY()-90) | pick the color | ok




On Sep 27, 6:54*pm, ajaminb wrote:
In Excel, I want to be able to enter a date in one field and have a date that
is 1 year later in the field next to it; what formula may I use to achieve
this?

Also, if the resulting date is past, how do I make the date turn red?

And, if the first date is 8/30/2008, how do I make it that it turns Green
when we are three months before this date?
--
AjaminB


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Date Calculation (from entered date / 1yr later in next field)

This is tremendously helpful. Condition 2 isn't working exactly as I'm
intending; it is making the color green (as I've selected) if it is any time
before the time of the date. My ideas is that the cell/field is black and the
font is white, if the date is past the date show, the date will turn red
(this is working). If the date show is long before it expires it will remain
white, at 90-day before the date is, it turns green. Any ideas?
--
AjaminB


"muddan madhu" wrote:

Try this

suppose u enter date in A1
in B1 put this formula =DATE(YEAR(A1)+1,MONTH(A1),DAY(A1)) and drag it
till u need....

Select the col B | go to format | conditional formatting | condition
1- formula is : =B1<TODAY() | pcik the color | condition 2 - formula
is =B1(TODAY()-90) | pick the color | ok




On Sep 27, 6:54 pm, ajaminb wrote:
In Excel, I want to be able to enter a date in one field and have a date that
is 1 year later in the field next to it; what formula may I use to achieve
this?

Also, if the resulting date is past, how do I make the date turn red?

And, if the first date is 8/30/2008, how do I make it that it turns Green
when we are three months before this date?
--
AjaminB



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Date Calculation (from entered date / 1yr later in next field)

Hi,

Here is a shorter formula:
suppose the first date is in A1 and in B1 you enter

=EDATE(A1,12)

This is an analysis toolpak function, so in 2003 and earlier you need to
choose Tools, Add-ins, and check Analysis ToolPak
--
Thanks,
Shane Devenshire


"ajaminb" wrote:

In Excel, I want to be able to enter a date in one field and have a date that
is 1 year later in the field next to it; what formula may I use to achieve
this?

Also, if the resulting date is past, how do I make the date turn red?

And, if the first date is 8/30/2008, how do I make it that it turns Green
when we are three months before this date?
--
AjaminB

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Date Calculation (from entered date / 1yr later in next field)

Not sure why but this method didn't work for me.
--
AjaminB


"ShaneDevenshire" wrote:

Hi,

Here is a shorter formula:
suppose the first date is in A1 and in B1 you enter

=EDATE(A1,12)

This is an analysis toolpak function, so in 2003 and earlier you need to
choose Tools, Add-ins, and check Analysis ToolPak
--
Thanks,
Shane Devenshire


"ajaminb" wrote:

In Excel, I want to be able to enter a date in one field and have a date that
is 1 year later in the field next to it; what formula may I use to achieve
this?

Also, if the resulting date is past, how do I make the date turn red?

And, if the first date is 8/30/2008, how do I make it that it turns Green
when we are three months before this date?
--
AjaminB



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Date Calculation (from entered date / 1yr later in next field)

What do you mean by "did not work"? Did you get an error message, or an
unexpected result?
Did you look at Excel help for the EDATE function?
--
David Biddulph

"ajaminb" wrote in message
...
Not sure why but this method didn't work for me.
--
AjaminB


"ShaneDevenshire" wrote:

Hi,

Here is a shorter formula:
suppose the first date is in A1 and in B1 you enter

=EDATE(A1,12)

This is an analysis toolpak function, so in 2003 and earlier you need to
choose Tools, Add-ins, and check Analysis ToolPak
--
Thanks,
Shane Devenshire


"ajaminb" wrote:

In Excel, I want to be able to enter a date in one field and have a
date that
is 1 year later in the field next to it; what formula may I use to
achieve
this?

Also, if the resulting date is past, how do I make the date turn red?

And, if the first date is 8/30/2008, how do I make it that it turns
Green
when we are three months before this date?
--
AjaminB



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Date Calculation (from entered date / 1yr later in next field)

Yes, the end result was not the date one year from the other date. It had a
#NAME? in the field and, no, I did not try help because another person who
gave me another way to do it, their method worked, it is just a longer
formula.

Thank you,
--
AjaminB


"David Biddulph" wrote:

What do you mean by "did not work"? Did you get an error message, or an
unexpected result?
Did you look at Excel help for the EDATE function?
--
David Biddulph

"ajaminb" wrote in message
...
Not sure why but this method didn't work for me.
--
AjaminB


"ShaneDevenshire" wrote:

Hi,

Here is a shorter formula:
suppose the first date is in A1 and in B1 you enter

=EDATE(A1,12)

This is an analysis toolpak function, so in 2003 and earlier you need to
choose Tools, Add-ins, and check Analysis ToolPak
--
Thanks,
Shane Devenshire


"ajaminb" wrote:

In Excel, I want to be able to enter a date in one field and have a
date that
is 1 year later in the field next to it; what formula may I use to
achieve
this?

Also, if the resulting date is past, how do I make the date turn red?

And, if the first date is 8/30/2008, how do I make it that it turns
Green
when we are three months before this date?
--
AjaminB




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
Date Entered +7, unless another field is greater than 0 chickalina Excel Worksheet Functions 2 July 10th 08 12:48 PM
New date based on one date field minus minutes in another field [email protected] Excel Discussion (Misc queries) 1 December 25th 07 04:05 PM
Dates - Need to display date one month prior to user-entered date brettopp Excel Worksheet Functions 13 December 3rd 07 05:58 PM
Date subtraction -How to not show negative when 2nd date not entered Edward[_2_] New Users to Excel 2 September 27th 07 03:03 PM
#NUM! in Date field calculation Rick Excel Worksheet Functions 4 November 29th 05 09:31 PM


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

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"