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 How do I create a "SUMIF" based upon a Date Range?

Column A represents the "Date" of an occurence.
Column B represents the "Cost" of each occurance.

There are 1,441 rows.

I want to know what the Cost is for a specific date range, the month of
December 2007 (i.e. =12/01/2007 and <=12/31/2007).

Any suggestion will be appreciated.


~SRacak
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How do I create a "SUMIF" based upon a Date Range?

Hi,

Where C1 & C2 contain the lower and upper date range

=SUMPRODUCT((A1:A1441=C1)*(A1:A1441<=C2)*(B1:B144 1))

Mike

"SRacak" wrote:

Column A represents the "Date" of an occurence.
Column B represents the "Cost" of each occurance.

There are 1,441 rows.

I want to know what the Cost is for a specific date range, the month of
December 2007 (i.e. =12/01/2007 and <=12/31/2007).

Any suggestion will be appreciated.


~SRacak

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 pivot table, error "Range is not valid" Daniel Charts and Charting in Excel 3 July 12th 07 11:12 PM
sumif with "broad" sum range SteveDB1 Excel Worksheet Functions 7 May 2nd 07 11:19 PM
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" Dennis Excel Discussion (Misc queries) 0 July 17th 06 02:38 PM
"Create a drop-down list from a range of cells" DILNAVAS Excel Worksheet Functions 1 May 3rd 06 08:40 AM
create links to check boxes marked "good" fair"and "bad" pjb Excel Worksheet Functions 3 April 20th 06 02:17 AM


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