Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Calculating With Dates

I am trying to come up with a formula that will calculate projected usage as
dates change. Example I want a formula that would say that in the first 3
time periods below "using todays date as the reference point(1 June foe
example) group all projected usage for the next 3 weeks." The desired result
is 3 below. Then lets say that a week later (June 8) the same formula would
return a result of 4 (the expected usage for the time period covering 8 June
to 22 June) any suggestions?


6/1/2007 6/8/2007 6/15/2007 6/22/2007 6/29/2007 7/6/2007
1 1 1 2 1 1

--
Clark
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Calculating With Dates

(assume 6/1/2007 is cell A1)

row 1 -- 6/1/2007 -- 6/8/2007
row 2 -- 1 -- 1
row 3 - =A2+B2+C2 -- =B2+C2+D2 -- and so on...

Copy this formula (=A2+B2+C2) to the right (adjacent cells).



"Clark" wrote:

I am trying to come up with a formula that will calculate projected usage as
dates change. Example I want a formula that would say that in the first 3
time periods below "using todays date as the reference point(1 June foe
example) group all projected usage for the next 3 weeks." The desired result
is 3 below. Then lets say that a week later (June 8) the same formula would
return a result of 4 (the expected usage for the time period covering 8 June
to 22 June) any suggestions?


6/1/2007 6/8/2007 6/15/2007 6/22/2007 6/29/2007 7/6/2007
1 1 1 2 1 1

--
Clark

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Calculating With Dates

Hi Clark

Try
=SUMPRODUCT((A1:F1=TODAY())*(A1:F1<=TODAY()+14)*A 2:F2)

--
Regards

Roger Govier


"Clark" wrote in message
...
I am trying to come up with a formula that will calculate projected
usage as
dates change. Example I want a formula that would say that in the
first 3
time periods below "using todays date as the reference point(1 June
foe
example) group all projected usage for the next 3 weeks." The desired
result
is 3 below. Then lets say that a week later (June 8) the same formula
would
return a result of 4 (the expected usage for the time period covering
8 June
to 22 June) any suggestions?


6/1/2007 6/8/2007 6/15/2007 6/22/2007 6/29/2007 7/6/2007
1 1 1 2 1 1

--
Clark



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
Calculating dates Toby0320 Excel Worksheet Functions 11 July 18th 06 04:52 PM
Calculating dates alen_re Excel Discussion (Misc queries) 2 January 25th 06 10:32 AM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
calculating with dates DzEK Excel Discussion (Misc queries) 6 July 2nd 05 12:24 AM
Calculating dates Bob Phillips Excel Discussion (Misc queries) 1 March 18th 05 09:21 AM


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