LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default combine countif and sumproduct?

I had this message buried in another email so posting as a new
question...

Column A1 would have and B1 would have
10/10/2007 16:04 CA
10/17/2007 16:10 OR
1/3/2008 10:32 MA
1/5/2008 14:00 MA
2/4/2008 11:00 OR
2/4/2008 11:30 MA
2/10/2008 15:00 OR


then I want formulas with a row by states and column months
01/2008 02/2008
MA 2 1
OR 0 2


Does that makes sense? I currently use the formula to sum them all up
by state using COUNTIF(state!B1:B2000,"CA")
Can I combine the COUNTIF with the SUMPRODUCT in one formula? Its not
actually states I am using but something like that and I will need to
use a *, my real COUNTIF is COUNTIF(product!B1:B2000,"ucol*") so I
need to be sure and be able to use the wild symbol in the formula.
The SUMPRODUCT I use is SUMPRODUCT(--(MONTH(A1:A7)=10),--
(YEAR(A1:A7)=2008))

TIA

 
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
Combine SUMIF and SUMPRODUCT Tevuna Excel Worksheet Functions 10 April 28th 23 07:42 PM
How to combine SUMPRODUCT with COUNTIF? mckzach Excel Worksheet Functions 7 March 21st 08 06:57 PM
Do I need to combine hlookup and countif????? sharkh Excel Worksheet Functions 2 August 17th 06 05:05 PM
How do I combine 2 COUNTIF formulas?? MANDY Excel Worksheet Functions 5 January 19th 06 06:07 PM
SUMPRODUCT - How to combine Robert Excel Worksheet Functions 4 February 1st 05 01:33 PM


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