Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JerryS
 
Posts: n/a
Default Totals based on meeting multiple criteria

I have a sheet that looks something like this:

Date New Old
1/1/06 10
1/5/06 5 5
1/8/06 20
1/8/06 15 5

How do I get a total for New and old between specific dates? For example,
dtotal New between 1/1/06 and 1/5/06?

Thanks
--
JerryS
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
 
Posts: n/a
Default Totals based on meeting multiple criteria

something like this
=sumproduct((a3:a22=a1)*(a3:a22<=a2)*b3:b22)

--
Don Guillett
SalesAid Software

"JerryS" wrote in message
...
I have a sheet that looks something like this:

Date New Old
1/1/06 10
1/5/06 5 5
1/8/06 20
1/8/06 15 5

How do I get a total for New and old between specific dates? For example,
dtotal New between 1/1/06 and 1/5/06?

Thanks
--
JerryS



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Totals based on meeting multiple criteria

Hi Jerry

One way
=SUMPRODUCT(--($A$2:$A$100=DATE(2006,1,1),--($A$2:$A$100<=DATE(2006,1,5),$B$2:$C:100)

--
Regards

Roger Govier


"JerryS" wrote in message
...
I have a sheet that looks something like this:

Date New Old
1/1/06 10
1/5/06 5 5
1/8/06 20
1/8/06 15 5

How do I get a total for New and old between specific dates? For
example,
dtotal New between 1/1/06 and 1/5/06?

Thanks
--
JerryS



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default Totals based on meeting multiple criteria

=SUMIF(A:A,"<=1/5/2006",B:B)-SUMIF(A:A,"<1/1/2006",B:B)

Vaya con Dios,
Chuck, CABGx3


"JerryS" wrote in message
...
I have a sheet that looks something like this:

Date New Old
1/1/06 10
1/5/06 5 5
1/8/06 20
1/8/06 15 5

How do I get a total for New and old between specific dates? For example,
dtotal New between 1/1/06 and 1/5/06?

Thanks
--
JerryS



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
Counting by multiple criteria Risky Dave Excel Worksheet Functions 4 September 28th 05 01:29 PM
COUNTIF or SUM function (Multiple criteria) HELP!! Australia Excel Worksheet Functions 3 September 19th 05 07:39 AM
Using Sumproduct with multiple Criteria Mark Jackson Excel Worksheet Functions 1 May 6th 05 10:07 PM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 3rd 04 12:04 AM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


All times are GMT +1. The time now is 07:21 PM.

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"