#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Formula needed

Hi
I need a formula that will look in one column range for a certain value and
for another value in another column range and when they are both found in the
same row, will count the number of occurances. Help!!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Formula needed

Krissy wrote:
Hi
I need a formula that will look in one column range for a certain value and
for another value in another column range and when they are both found in the
same row, will count the number of occurances. Help!!!!



http://www.contextures.com/xlFunctio...tml#SumProduct

Omit the "values to be summed".

=SUMPRODUCT(--(A2:A6="Active"), --(B2:B6=10))
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default Formula needed

Glenn wrote:
Krissy wrote:
Hi
I need a formula that will look in one column range for a certain
value and for another value in another column range and when they are
both found in the same row, will count the number of occurances. Help!!!!



http://www.contextures.com/xlFunctio...tml#SumProduct

Omit the "values to be summed".

=SUMPRODUCT(--(A2:A6="Active"), --(B2:B6=10))



More specifically...

http://www.contextures.com/xlFunctio...tml#SumProduct
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Formula needed

Say In A1 thru B10 we have:

Krissy Sad
Krissy Sad
Krissy Sad
Krissy Happy
Krissy Happy
Debbi Happy
Debbi Happy
Debbi Sad
Debbi Sad
Debbi Sad

and we want to count the rows in which Krissy is Happy:

=SUMPRODUCT((A1:A10="Krissy")*(B1:B10="Happy"))
--
Gary''s Student - gsnu200909


"Krissy" wrote:

Hi
I need a formula that will look in one column range for a certain value and
for another value in another column range and when they are both found in the
same row, will count the number of occurances. Help!!!!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Formula needed

I have tried both suggestions and they don't seem to work right. More info
may help:
In Column E Row 3 to 57 are various numbers - 1 through to 112 in column G
row 3 to 57 are either a T or F
I need to count how many times a number such as "14" in column E has a Y in
column G on the same row. i.e. Row 51 Column E = 14 column G = Y so would be
counted as 1 and if row 46 had the same criteria I would then have a count of
2 and so on.

"Krissy" wrote:

Hi
I need a formula that will look in one column range for a certain value and
for another value in another column range and when they are both found in the
same row, will count the number of occurances. Help!!!!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Formula needed

=sumproduct(--(e3:e57=14),--(g3:g57="Y"))

Regards,
Fred

"Krissy" wrote in message
...
I have tried both suggestions and they don't seem to work right. More info
may help:
In Column E Row 3 to 57 are various numbers - 1 through to 112 in column G
row 3 to 57 are either a T or F
I need to count how many times a number such as "14" in column E has a Y
in
column G on the same row. i.e. Row 51 Column E = 14 column G = Y so would
be
counted as 1 and if row 46 had the same criteria I would then have a count
of
2 and so on.

"Krissy" wrote:

Hi
I need a formula that will look in one column range for a certain value
and
for another value in another column range and when they are both found in
the
same row, will count the number of occurances. Help!!!!


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 905
Default Formula needed

"Krissy" wrote:
I have tried both suggestions and they don't seem to work right.


They should have. How exactly how did you apply them? That is, exactly
what formula are you trying in our worksheet that does not work?


I need to count how many times a number such as
"14" in column E has a Y in column G on the same row.


Ostensibly:

=sumproduct((E3:E57=14)*(G3:G57="Y"))

But if the "numbers" in column E are actually text, then:

=sumproduct((E3:E57="14")*(G3:G57="Y"))

Note: The comparision G3:G57="Y" will be true when each of G3:G57 is either
"Y" or "y". Is that a problem?


----- original message -----

"Krissy" wrote:
I have tried both suggestions and they don't seem to work right. More info
may help:
In Column E Row 3 to 57 are various numbers - 1 through to 112 in column G
row 3 to 57 are either a T or F
I need to count how many times a number such as "14" in column E has a Y in
column G on the same row. i.e. Row 51 Column E = 14 column G = Y so would be
counted as 1 and if row 46 had the same criteria I would then have a count of
2 and so on.

"Krissy" wrote:

Hi
I need a formula that will look in one column range for a certain value and
for another value in another column range and when they are both found in the
same row, will count the number of occurances. Help!!!!

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
Formula help needed Jeremy Excel Discussion (Misc queries) 9 July 23rd 09 03:04 PM
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
IF AND Formula Help Needed Karen Smith Excel Discussion (Misc queries) 7 February 11th 08 03:31 PM
Sum formula needed Zilla Excel Discussion (Misc queries) 2 February 28th 07 01:03 AM
formula needed Darrell New Users to Excel 6 May 5th 05 10:25 PM


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