LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 128
Default Finding a date range from given date

How can I write as an expression in excel that:

identifies the full 12 months prior to a given date
AND
identifies the full 12 months after a given date

So for a given date of 30/03/2006, how can I say what the date range is 12
months prior - the result I want is March 2005 - Feb 2006 (28/03/2005 -
28/02/2006).

The 12 month range after the above date needs to be April 2006 - March 2007
(28/04/2006 - 28/03/2007).

I want to be able to do a sumif, to find the given date in A2 and sum all
those cells that fall into the required date range, i.e. the previous 12
months.

Thanks in advance.

 
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
finding a max date in a range in vlookup data Graham Excel Discussion (Misc queries) 5 March 22nd 07 12:02 PM
finding earliest date within a range by employee Steve Excel Worksheet Functions 4 October 19th 06 11:34 PM
Finding dates within a date range Marcus Excel Worksheet Functions 2 April 5th 05 02:03 AM
Finding Dates in a date range Marcus Excel Discussion (Misc queries) 1 April 5th 05 01:51 AM
need help finding a Date range within long list A shink Excel Worksheet Functions 2 March 30th 05 05:01 PM


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