Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default count across 3 columns

In my test sheet, column B is male(m) or female (f), column M is special
needs (which can be any text) and column O is test score. How can I count
e.g. how many boys have special needs and how many boys with special needs
have a test score? Am tearing my hair out!
Mrs T
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default count across 3 columns

Males with special needs:

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<""))

Males with special needs and having a test score.

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<"")*(O1:O100 0<""))

SUMPRODUCT() is a powerful feature! See:


http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
Gary''s Student - gsnu200851


"Mrs T." wrote:

In my test sheet, column B is male(m) or female (f), column M is special
needs (which can be any text) and column O is test score. How can I count
e.g. how many boys have special needs and how many boys with special needs
have a test score? Am tearing my hair out!
Mrs T

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default count across 3 columns

Hi,
thanks for your help. Males with special needs works perfectly. I entered
=SUMPRODUCT((B21:B153="m")*(M21:M153<"")*(O21:O15 3<"")) for males with
special needs and a test score but got #N/A in the cell. Formula that brings
test scores into the sheet is
=IF($N210,LOOKUP($N21,AR$20:$AR$62,AS$20:AS$62)," ") is that the problem?
Thanks
Mrs T

"Gary''s Student" wrote:

Males with special needs:

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<""))

Males with special needs and having a test score.

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<"")*(O1:O100 0<""))

SUMPRODUCT() is a powerful feature! See:


http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
Gary''s Student - gsnu200851


"Mrs T." wrote:

In my test sheet, column B is male(m) or female (f), column M is special
needs (which can be any text) and column O is test score. How can I count
e.g. how many boys have special needs and how many boys with special needs
have a test score? Am tearing my hair out!
Mrs T

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default count across 3 columns

Hi

Does your formula return a result?
what does AR20: AR62 and AS20: AS62 contain?

I suggest that you post a sample on before and after result.
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Mrs T." wrote:

Hi,
thanks for your help. Males with special needs works perfectly. I entered
=SUMPRODUCT((B21:B153="m")*(M21:M153<"")*(O21:O15 3<"")) for males with
special needs and a test score but got #N/A in the cell. Formula that brings
test scores into the sheet is
=IF($N210,LOOKUP($N21,AR$20:$AR$62,AS$20:AS$62)," ") is that the problem?
Thanks
Mrs T

"Gary''s Student" wrote:

Males with special needs:

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<""))

Males with special needs and having a test score.

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<"")*(O1:O100 0<""))

SUMPRODUCT() is a powerful feature! See:


http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
Gary''s Student - gsnu200851


"Mrs T." wrote:

In my test sheet, column B is male(m) or female (f), column M is special
needs (which can be any text) and column O is test score. How can I count
e.g. how many boys have special needs and how many boys with special needs
have a test score? Am tearing my hair out!
Mrs T

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default count across 3 columns

Hi,
This is a lookup table where AR20:AR62 contains levels e.g. 3c, 3b, 3a and
AS20:AS62 contains a value for each level 1,2,3,etc. Column N in my sheet
contains the level and column O brings over the point value for each level
but returns #N/A if a level has not been entered.
Boys with special needs works fine so it must be the last bracket that needs
changing but I don't know what to!
=SUMPRODUCT((B21:B153="m")*(M21:M153<""))
gives me an answer of 2 (boys with special needs)
=SUMPRODUCT((B21:B153="m")*(M21:M153<"")*(O21:O15 3<""))
gives me an answer of #N/A (boys with special needs and a test score).

Thanks for your help
Mrs T

"Francis" wrote:

Hi

Does your formula return a result?
what does AR20: AR62 and AS20: AS62 contain?

I suggest that you post a sample on before and after result.
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Mrs T." wrote:

Hi,
thanks for your help. Males with special needs works perfectly. I entered
=SUMPRODUCT((B21:B153="m")*(M21:M153<"")*(O21:O15 3<"")) for males with
special needs and a test score but got #N/A in the cell. Formula that brings
test scores into the sheet is
=IF($N210,LOOKUP($N21,AR$20:$AR$62,AS$20:AS$62)," ") is that the problem?
Thanks
Mrs T

"Gary''s Student" wrote:

Males with special needs:

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<""))

Males with special needs and having a test score.

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<"")*(O1:O100 0<""))

SUMPRODUCT() is a powerful feature! See:


http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
Gary''s Student - gsnu200851


"Mrs T." wrote:

In my test sheet, column B is male(m) or female (f), column M is special
needs (which can be any text) and column O is test score. How can I count
e.g. how many boys have special needs and how many boys with special needs
have a test score? Am tearing my hair out!
Mrs T



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default count across 3 columns

The SUMPRODUCT() function is examining cols B, M, and O.

There can be no errors in these three columns for SUMPRODUCT(_) to work.
--
Gary''s Student - gsnu200851


"Mrs T." wrote:

Hi,
This is a lookup table where AR20:AR62 contains levels e.g. 3c, 3b, 3a and
AS20:AS62 contains a value for each level 1,2,3,etc. Column N in my sheet
contains the level and column O brings over the point value for each level
but returns #N/A if a level has not been entered.
Boys with special needs works fine so it must be the last bracket that needs
changing but I don't know what to!
=SUMPRODUCT((B21:B153="m")*(M21:M153<""))
gives me an answer of 2 (boys with special needs)
=SUMPRODUCT((B21:B153="m")*(M21:M153<"")*(O21:O15 3<""))
gives me an answer of #N/A (boys with special needs and a test score).

Thanks for your help
Mrs T

"Francis" wrote:

Hi

Does your formula return a result?
what does AR20: AR62 and AS20: AS62 contain?

I suggest that you post a sample on before and after result.
--
Hope this is helpful

Pls click the Yes button below if this post provide answer you have asked

Thank You

cheers, francis

Am not a greek but an ordinary user trying to assist another



"Mrs T." wrote:

Hi,
thanks for your help. Males with special needs works perfectly. I entered
=SUMPRODUCT((B21:B153="m")*(M21:M153<"")*(O21:O15 3<"")) for males with
special needs and a test score but got #N/A in the cell. Formula that brings
test scores into the sheet is
=IF($N210,LOOKUP($N21,AR$20:$AR$62,AS$20:AS$62)," ") is that the problem?
Thanks
Mrs T

"Gary''s Student" wrote:

Males with special needs:

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<""))

Males with special needs and having a test score.

=SUMPRODUCT((B1:B1000="m")*(M1:M1000<"")*(O1:O100 0<""))

SUMPRODUCT() is a powerful feature! See:


http://www.xldynamic.com/source/xld.SUMPRODUCT.html
--
Gary''s Student - gsnu200851


"Mrs T." wrote:

In my test sheet, column B is male(m) or female (f), column M is special
needs (which can be any text) and column O is test score. How can I count
e.g. how many boys have special needs and how many boys with special needs
have a test score? Am tearing my hair out!
Mrs T

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
Need to count on two columns Debbi Excel Worksheet Functions 1 March 13th 09 01:13 AM
Count of Different Columns Andy Excel Discussion (Misc queries) 5 November 26th 08 09:44 AM
How to count for 3 columns Mysa Excel Worksheet Functions 2 July 22nd 08 07:39 PM
Count in two columns [email protected] Excel Worksheet Functions 6 February 3rd 07 03:57 PM
Count certain changes between columns SLB Excel Worksheet Functions 1 November 1st 04 08:54 PM


All times are GMT +1. The time now is 09:35 PM.

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"