Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default How to sum a data range thru and after a cut off date

How do I sum a Data range thru and after a cut off date ?
i.e. Cut Off Date is in cell B2 and is equal (after formatting) to
8/23.
The expected result in Column Done, Item B, thru the 23rd is 400,
and in Column ToGo, Item A, after the 23rd is 300.
The calendar starts in D2, last Column unknown.
The Data itself starts in Row 3, Last row unknown.
Cut off Date : 8/23
Item Done ToGo 8/21 8/22 8/23 8/24 8/25 ...
A 80 40 60 20 40
B 400 300 140 100 160 120 180 ...
....
....
Help appreciated,
Celeste

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default How to sum a data range thru and after a cut off date

=SUMIF(A3:A2000,"<="&B2)

etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"u473" wrote in message
ups.com...
How do I sum a Data range thru and after a cut off date ?
i.e. Cut Off Date is in cell B2 and is equal (after formatting) to
8/23.
The expected result in Column Done, Item B, thru the 23rd is 400,
and in Column ToGo, Item A, after the 23rd is 300.
The calendar starts in D2, last Column unknown.
The Data itself starts in Row 3, Last row unknown.
Cut off Date : 8/23
Item Done ToGo 8/21 8/22 8/23 8/24 8/25 ...
A 80 40 60 20 40
B 400 300 140 100 160 120 180 ...
...
...
Help appreciated,
Celeste



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default How to sum a data range thru and after a cut off date


Sorry I made a mistake in my text, the Cut off Date is in Cell B1, but
your
solution does not fit the problem. I know it involves the sum a a
flexible range
driven by the date Offset but I do not master the syntax.
Thank you for your response,
Celeste.

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
Averaging data across a date range Barry Excel Worksheet Functions 1 December 17th 09 04:58 PM
Look up data for date range Lexi[_3_] Excel Worksheet Functions 1 November 8th 08 07:04 PM
Sum data by date range david72 Excel Discussion (Misc queries) 1 April 24th 06 08:06 AM
Selecting data within a date range mtaylor Excel Worksheet Functions 1 September 1st 05 12:17 PM
Help! Selecting data according to date range redbna Excel Discussion (Misc queries) 0 June 8th 05 06:58 PM


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