PC Review


Reply
Thread Tools Rate Thread

Date Formula question

 
 
=?Utf-8?B?cmFpbmJvd3JhdmVu?=
Guest
Posts: n/a
 
      23rd Apr 2007
I need to figure out a formula that will add 30 days to a month/day/ date but
return the year as 2007 if the date is before 2007 and just add 30 days if
it's a date after the today format.

clear as mud, 'eh .... maybe this would be easier ... (see below)

ColumnA B
is: would need to return

3/15/2002 4/15/2007
3/18/1998 4/18/2007
3/20/2006 4/20/2007
3/21/2007 4/21/2007
6/28/2008 7/28/2008
4/1/2003 5/1/2007
4/1/2010 5/1/2010

and so on, the dates in column A vary, and I have no problem adding the
extra 30 days, but it's the year that's throwing me .... any suggestions?

Donna
 
Reply With Quote
 
 
 
 
=?Utf-8?B?cmFpbmJvd3JhdmVu?=
Guest
Posts: n/a
 
      23rd Apr 2007
Please disregard this question, I put it into the wrong group.

Donna


"rainbowraven" wrote:

> I need to figure out a formula that will add 30 days to a month/day/ date but
> return the year as 2007 if the date is before 2007 and just add 30 days if
> it's a date after the today format.
>
> clear as mud, 'eh .... maybe this would be easier ... (see below)
>
> ColumnA B
> is: would need to return
>
> 3/15/2002 4/15/2007
> 3/18/1998 4/18/2007
> 3/20/2006 4/20/2007
> 3/21/2007 4/21/2007
> 6/28/2008 7/28/2008
> 4/1/2003 5/1/2007
> 4/1/2010 5/1/2010
>
> and so on, the dates in column A vary, and I have no problem adding the
> extra 30 days, but it's the year that's throwing me .... any suggestions?
>
> Donna

 
Reply With Quote
 
=?Utf-8?B?cmFpbmJvd3JhdmVu?=
Guest
Posts: n/a
 
      23rd Apr 2007
Please disregard this question. I posted it into the wrong area.

Donna

"rainbowraven" wrote:

> I need to figure out a formula that will add 30 days to a month/day/ date but
> return the year as 2007 if the date is before 2007 and just add 30 days if
> it's a date after the today format.
>
> clear as mud, 'eh .... maybe this would be easier ... (see below)
>
> ColumnA B
> is: would need to return
>
> 3/15/2002 4/15/2007
> 3/18/1998 4/18/2007
> 3/20/2006 4/20/2007
> 3/21/2007 4/21/2007
> 6/28/2008 7/28/2008
> 4/1/2003 5/1/2007
> 4/1/2010 5/1/2010
>
> and so on, the dates in column A vary, and I have no problem adding the
> extra 30 days, but it's the year that's throwing me .... any suggestions?
>
> Donna

 
Reply With Quote
 
Mike Mueller
Guest
Posts: n/a
 
      23rd Apr 2007
Not only the wrong group, but the wrong math--- he is adding
a month instead of 30 days


"rainbowraven" <(E-Mail Removed)>
wrote in message
news:2AB854A1-3BFC-4D34-81F0-(E-Mail Removed)...
:I need to figure out a formula that will add 30 days to a
month/day/ date but
: return the year as 2007 if the date is before 2007 and
just add 30 days if
: it's a date after the today format.
:
: clear as mud, 'eh .... maybe this would be easier ... (see
below)
:
: ColumnA B
: is: would need to
return
:
: 3/15/2002 4/15/2007
: 3/18/1998 4/18/2007
: 3/20/2006 4/20/2007
: 3/21/2007 4/21/2007
: 6/28/2008 7/28/2008
: 4/1/2003 5/1/2007
: 4/1/2010 5/1/2010
:
: and so on, the dates in column A vary, and I have no
problem adding the
: extra 30 days, but it's the year that's throwing me ....
any suggestions?
:
: Donna


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date formula question Jim Peterson Microsoft Excel Worksheet Functions 4 31st Mar 2009 09:16 PM
Another Date formula question gareth.miles@gmail.com Microsoft Excel Misc 3 10th Oct 2007 11:49 AM
date formula question ABASSANETTI Microsoft Excel Misc 2 1st Jul 2004 05:40 PM
Date formula question Tension Microsoft Excel Worksheet Functions 14 25th May 2004 10:53 PM
Date formula question totallyintheblue Microsoft Excel Worksheet Functions 2 17th Feb 2004 08:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:19 PM.