Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default sumproduct exclude count

I'm trying to get somproduct to count every occurance of a word but except
where they match another word. like below it would not count both "problem"
and "solved" but would count every thing else, but it don't seem to be
working, this is how I thought it be written
=sumproduct((a7:a60="test")-(b7:b60={"problem","solved"}))
given a result for below of 3, but that is not working as I seem to have a
ghost of 1 coming up,
a7 test b7problem
a8 test b8 solved
a9 test
a10 test b10 resloved
a11 test b11 next


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default sumproduct exclude count

TRY:

=SUMPRODUCT(--(A7:A60="test"))-SUMPRODUCT(--(A7:A60="test")*(B7:B60={"Problem","Solved"}))


"Dreamstar_1961" wrote:

I'm trying to get somproduct to count every occurance of a word but except
where they match another word. like below it would not count both "problem"
and "solved" but would count every thing else, but it don't seem to be
working, this is how I thought it be written
=sumproduct((a7:a60="test")-(b7:b60={"problem","solved"}))
given a result for below of 3, but that is not working as I seem to have a
ghost of 1 coming up,
a7 test b7problem
a8 test b8 solved
a9 test
a10 test b10 resloved
a11 test b11 next


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 exclude count Dreamstar_1961 Excel Worksheet Functions 0 March 28th 07 02:46 AM
sumproduct exclude count Teethless mama Excel Worksheet Functions 0 March 28th 07 12:17 AM
SUMPRODUCT - (amended) Exclude LAST Row of Matched Criteria (Month & Year) Sam via OfficeKB.com Excel Worksheet Functions 2 January 9th 07 12:37 AM
SUMPRODUCT - Exclude LAST Row of Matched Criteria (Month & Year) Sam via OfficeKB.com Excel Worksheet Functions 10 January 8th 07 07:03 PM
exclude data from count wdama13 Excel Worksheet Functions 1 September 19th 05 04:06 PM


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