Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
carl
 
Posts: n/a
Default Sumproduct ?? Question

My data comes in like this:

Type ID Group
B BOX017 VR
A BOX017 S1
B BOX017 S1
A BOX234 S1
B BOX017 S1
B BOX017 GK




I am trying to find a formula for cell B2 below that will count the number
of occurances of Type=A, ID=BOX017, and Group=S1.

ID Type A
BOX017 1

Thank you in advance.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default Sumproduct ?? Question

=SUMPRODUCT(--(A2:A7]=""A""),--(B2:B7]=""BOX017""),--(C2:C7]=""S1""))

HTH
--
AP

"carl" a écrit dans le message de
...
My data comes in like this:

Type ID Group
B BOX017 VR
A BOX017 S1
B BOX017 S1
A BOX234 S1
B BOX017 S1
B BOX017 GK




I am trying to find a formula for cell B2 below that will count the number
of occurances of Type=A, ID=BOX017, and Group=S1.

ID Type A
BOX017 1

Thank you in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tom Ogilvy
 
Posts: n/a
Default Sumproduct ?? Question

Whats up with the square bracked and the double double quotes?

=SUMPRODUCT(--(A2:A7="A"),--(B2:B7="BOX017"),--(C2:C7="S1"))

--
Regards,
Tom Ogilvy



"Ardus Petus" wrote:

=SUMPRODUCT(--(A2:A7]=""A""),--(B2:B7]=""BOX017""),--(C2:C7]=""S1""))

HTH
--
AP

"carl" a écrit dans le message de
...
My data comes in like this:

Type ID Group
B BOX017 VR
A BOX017 S1
B BOX017 S1
A BOX234 S1
B BOX017 S1
B BOX017 GK




I am trying to find a formula for cell B2 below that will count the number
of occurances of Type=A, ID=BOX017, and Group=S1.

ID Type A
BOX017 1

Thank you in advance.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Herbert Seidenberg
 
Posts: n/a
Default Sumproduct ?? Question

If you need to make several searches and
you want to save typing,
enter this formula below Countx:
=SUMPRODUCT((Type=TypeX R)*(ID=IDx R)*(Group=GroupX R))
Formula is in R1C1 style.
Arrange your search data this way and name it:
TypeX IDx GroupX Countx
A BOX017 S1 1
B BOX017 S1 2

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 Question Victor Chapman Excel Worksheet Functions 4 January 5th 06 05:47 PM
another sumproduct question cjjoo Excel Worksheet Functions 9 November 18th 05 07:59 PM
SUMPRODUCT Question John Moore Excel Discussion (Misc queries) 2 October 18th 05 12:31 PM
SUMPRODUCT Question... PokerZan Excel Discussion (Misc queries) 4 August 27th 05 12:09 AM
Question about sumproduct bj Excel Discussion (Misc queries) 0 April 21st 05 05:40 PM


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