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

Hello,

I'm struggling with what I think requires a sumproduct function but I can't
make it work and I'm going cross eyed...

I need to count the number of occurences of "x" in column c if the value in
column a = "text1" or "text2" but column b < "text3".


--
Any help appreciated,
MarkN
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default sumproduct i think

Hi Mark

Try the below
=SUMPRODUCT((ISNUMBER(MATCH(A1:A10,{"text1","text2 "},0)))*(B1:B10<"text3")*(C1:C10="x"))

If this post helps click Yes
---------------
Jacob Skaria


"MarkN" wrote:

Hello,

I'm struggling with what I think requires a sumproduct function but I can't
make it work and I'm going cross eyed...

I need to count the number of occurences of "x" in column c if the value in
column a = "text1" or "text2" but column b < "text3".


--
Any help appreciated,
MarkN

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumproduct i think

Try this...

=SUMPRODUCT(--(ISNUMBER(MATCH(A2:A20,{"text1","text2"},0))),--(B2:B20<"text3"),--(C2:C20="x"))

--
Biff
Microsoft Excel MVP


"MarkN" wrote in message
...
Hello,

I'm struggling with what I think requires a sumproduct function but I
can't
make it work and I'm going cross eyed...

I need to count the number of occurences of "x" in column c if the value
in
column a = "text1" or "text2" but column b < "text3".


--
Any help appreciated,
MarkN



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 104
Default sumproduct i think

Thanks very much Jacob,

Not only for the prompt reply but it works a treat.
--
Thanks,
MarkN


"Jacob Skaria" wrote:

Hi Mark

Try the below
=SUMPRODUCT((ISNUMBER(MATCH(A1:A10,{"text1","text2 "},0)))*(B1:B10<"text3")*(C1:C10="x"))

If this post helps click Yes
---------------
Jacob Skaria


"MarkN" wrote:

Hello,

I'm struggling with what I think requires a sumproduct function but I can't
make it work and I'm going cross eyed...

I need to count the number of occurences of "x" in column c if the value in
column a = "text1" or "text2" but column b < "text3".


--
Any help appreciated,
MarkN

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? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
SUMPRODUCT, or something else entirely? MeMe Excel Discussion (Misc queries) 7 August 9th 06 11:02 AM
using sumproduct hankinator Excel Worksheet Functions 2 August 5th 06 05:40 PM


All times are GMT +1. The time now is 01:13 AM.

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"