#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 275
Default sum for date ranges

hi

culoumn a is date

column b is numbers

c1 cell is a report as at today input

how do i write a formula to sum the contents of column B based on there date
been in the last 7 days from report date
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default sum for date ranges

One way:

=SUMPRODUCT(--(A1:A10=C1-7),--(A1:A10<=C1),B1:B10)

--
Biff
Microsoft Excel MVP


"Anthony" wrote in message
...
hi

culoumn a is date

column b is numbers

c1 cell is a report as at today input

how do i write a formula to sum the contents of column B based on there
date
been in the last 7 days from report date



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
How do I get a new calculated date from different date ranges? Ann LeBlanc Excel Worksheet Functions 3 June 26th 09 01:56 PM
If and Date Ranges Romanli Excel Worksheet Functions 1 July 25th 08 04:42 AM
Using IF and date ranges Romanli Excel Worksheet Functions 1 July 25th 08 12:20 AM
compare date to various date ranges and sum value al Excel Worksheet Functions 2 January 10th 07 10:17 AM
If then Date Ranges Mark B Excel Worksheet Functions 0 November 30th 05 05:49 PM


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