Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default Sumproduct.....



Hi there

Cell B1 to B100 have 10 options (subjects), one of which is test
Cell AF1 to AF100 has various dates (say Jan to dec)

I have a countif on the subject column giving me totals of the 10
subjects.

I need to know month by month how many occurences there are in the
subject column - complication is that I need to EXCLUDE the test
occurence, ie so I need a split by date for the remaining three. The
split of the subject within the month is not important - just looking
for total number of occurences of the three subjects within a month

eg
b1 A jan
b2 B feb
b3 A Mar
b4 C Feb
b5 Test Feb
B6 Test Feb

So result of formulae needs to say in Jan there was ONE occurence.
IN Feb there was TWO occurences (not four, ie exclude the two tests...)

Hope this makes sense...

Thanks

D





Think its sumproduct.. but not sure....


*** Sent via Developersdex http://www.developersdex.com ***
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Sumproduct.....

Hi Darin,

You guessed right! Assume that months ar in cells A8(Jan), A9(Feb), etc.
In B8 enter

=SUMPRODUCT(--($C$1:$C$6=A8);--($B$1:$B$6<"Test"))

Regards,
Stefi

€˛Darin Kramer€¯ ezt Ć*rta:



Hi there

Cell B1 to B100 have 10 options (subjects), one of which is test
Cell AF1 to AF100 has various dates (say Jan to dec)

I have a countif on the subject column giving me totals of the 10
subjects.

I need to know month by month how many occurences there are in the
subject column - complication is that I need to EXCLUDE the test
occurence, ie so I need a split by date for the remaining three. The
split of the subject within the month is not important - just looking
for total number of occurences of the three subjects within a month

eg
b1 A jan
b2 B feb
b3 A Mar
b4 C Feb
b5 Test Feb
B6 Test Feb

So result of formulae needs to say in Jan there was ONE occurence.
IN Feb there was TWO occurences (not four, ie exclude the two tests...)

Hope this makes sense...

Thanks

D





Think its sumproduct.. but not sure....


*** Sent via Developersdex http://www.developersdex.com ***

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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
SUMPRODUCT Alex H[_2_] Excel Worksheet Functions 6 September 7th 07 10:02 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
SUMPRODUCT Serge Excel Discussion (Misc queries) 1 April 10th 06 09:50 PM


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