Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Calculating for a specific date range

I have a column that lists a date of manufacture for an item. I need the next
colum to tell me the date 6 months before the date of manufacture in 4 years.
I then need it to tell me the date for 6 months after the date of
manufacture in 8 years. So for example, this units date of manufacture is
November of 2003. I need the next column to tell me 5/2007, then for the next
5/2008. Any help?
--
Christy P
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Calculating for a specific date range

Christy,

I've only included the example for the first cell but it's easy enough to
work out for the second.

=DATE(YEAR(A1)+4,MONTH(A1)-6, DAY(A1))

i.e. for May 2007 add 4 year and take away 6 months.

Mike

"Christy P" wrote:

I have a column that lists a date of manufacture for an item. I need the next
colum to tell me the date 6 months before the date of manufacture in 4 years.
I then need it to tell me the date for 6 months after the date of
manufacture in 8 years. So for example, this units date of manufacture is
November of 2003. I need the next column to tell me 5/2007, then for the next
5/2008. Any help?
--
Christy P

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Calculating for a specific date range

Your description and your examples aren't consistant. I'll assume your
examples are what you want, and that you want a one-year interval
centered on 4 years from manufacture. Adjust to suit.

One way:

A1: 11/1/2003
B1: =DATE(YEAR(A1)+4,MONTH(A1)-6,DAY(A1))
C1: =DATE(YEAR(A1)+4,MONTH(A1)+6,DAY(A1))

In article ,
Christy P wrote:

I have a column that lists a date of manufacture for an item. I need the next
colum to tell me the date 6 months before the date of manufacture in 4 years.
I then need it to tell me the date for 6 months after the date of
manufacture in 8 years. So for example, this units date of manufacture is
November of 2003. I need the next column to tell me 5/2007, then for the next
5/2008. Any help?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Calculating for a specific date range

One way

With your date in A1

=DATE(YEAR(A1)+4,MONTH(A1)-6,DAY(A1))

that should give you a clue how to get the 8 year 6 months after

Make sure the dates are dates and not text like November of 2003

If indeed you have text but it will always be name of month of year you can
use

=DATE(YEAR(LEFT(A1,FIND(" ",A1)-1)&" 1,
"&MID(A1,FIND("f",A1)+2,255))+4,MONTH(LEFT(A1,FIND (" ",A1)-1)&" 1,
"&MID(A1,FIND("f",A1)+2,255))-6,DAY(LEFT(A1,FIND(" ",A1)-1)&" 1,
"&MID(A1,FIND("f",A1)+2,255)))

--
Regards,

Peo Sjoblom


"Christy P" wrote in message
...
I have a column that lists a date of manufacture for an item. I need the
next
colum to tell me the date 6 months before the date of manufacture in 4
years.
I then need it to tell me the date for 6 months after the date of
manufacture in 8 years. So for example, this units date of manufacture is
November of 2003. I need the next column to tell me 5/2007, then for the
next
5/2008. Any help?
--
Christy P



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
Create a formula in a date range to locate a specific date - ecel util Excel Discussion (Misc queries) 0 February 19th 07 03:03 PM
find sum if one col = ? within specific date range jrheinschm Excel Discussion (Misc queries) 8 July 5th 06 09:48 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
How do I sum a date specific range of cells? Gabbon Excel Worksheet Functions 3 April 6th 06 08:40 AM


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