Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Adding letters instead of numbers

hi

ive got a column with grades ranging from A-G. i am trying to find out how
many A-C grades there are. ive used the following formula but its not working.

=COUNTIF(enla,OR("A","B","C"))

where enla is my named range.

any help appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Adding letters instead of numbers

=SUM(COUNTIF(enla,{"A","B","C"}))

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


"mits" wrote:

hi

ive got a column with grades ranging from A-G. i am trying to find out how
many A-C grades there are. ive used the following formula but its not working.

=COUNTIF(enla,OR("A","B","C"))

where enla is my named range.

any help appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Adding letters instead of numbers

Hi,

You may use this formula. Also, please post a question in a new thread

=SUM(COUNTIF(enla,{"A","B","C"}))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"mits" wrote in message
...
hi

ive got a column with grades ranging from A-G. i am trying to find out how
many A-C grades there are. ive used the following formula but its not
working.

=COUNTIF(enla,OR("A","B","C"))

where enla is my named range.

any help appreciated.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Adding letters instead of numbers

Thanks, that's perfect!

What if i wanted to break this down further and wanted to see how many males
got A-C grades. I think i'd have to use sumproduct, but don't know how to
compose this. Could you help?

many thanks


"Jacob Skaria" wrote:

=SUM(COUNTIF(enla,{"A","B","C"}))

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


"mits" wrote:

hi

ive got a column with grades ranging from A-G. i am trying to find out how
many A-C grades there are. ive used the following formula but its not working.

=COUNTIF(enla,OR("A","B","C"))

where enla is my named range.

any help appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Adding letters instead of numbers

"m" for male..

=SUMPRODUCT((A1:A100={"a","b","c"})*(B1:B100="m"))

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


"mits" wrote:

Thanks, that's perfect!

What if i wanted to break this down further and wanted to see how many males
got A-C grades. I think i'd have to use sumproduct, but don't know how to
compose this. Could you help?

many thanks


"Jacob Skaria" wrote:

=SUM(COUNTIF(enla,{"A","B","C"}))

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


"mits" wrote:

hi

ive got a column with grades ranging from A-G. i am trying to find out how
many A-C grades there are. ive used the following formula but its not working.

=COUNTIF(enla,OR("A","B","C"))

where enla is my named range.

any help appreciated.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Adding letters instead of numbers

Please ignore the previous post...Try the below

=SUMPRODUCT(--(B1:B100="m"),--ISNUMBER(MATCH(A1:A100,{"a","b","c"},0)))

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


"mits" wrote:

Thanks, that's perfect!

What if i wanted to break this down further and wanted to see how many males
got A-C grades. I think i'd have to use sumproduct, but don't know how to
compose this. Could you help?

many thanks


"Jacob Skaria" wrote:

=SUM(COUNTIF(enla,{"A","B","C"}))

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


"mits" wrote:

hi

ive got a column with grades ranging from A-G. i am trying to find out how
many A-C grades there are. ive used the following formula but its not working.

=COUNTIF(enla,OR("A","B","C"))

where enla is my named range.

any help appreciated.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Adding letters instead of numbers

WOW! Thank you so much - you have saved me hours of work!

really really appreciate it

"Jacob Skaria" wrote:

Please ignore the previous post...Try the below

=SUMPRODUCT(--(B1:B100="m"),--ISNUMBER(MATCH(A1:A100,{"a","b","c"},0)))

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


"mits" wrote:

Thanks, that's perfect!

What if i wanted to break this down further and wanted to see how many males
got A-C grades. I think i'd have to use sumproduct, but don't know how to
compose this. Could you help?

many thanks


"Jacob Skaria" wrote:

=SUM(COUNTIF(enla,{"A","B","C"}))

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


"mits" wrote:

hi

ive got a column with grades ranging from A-G. i am trying to find out how
many A-C grades there are. ive used the following formula but its not working.

=COUNTIF(enla,OR("A","B","C"))

where enla is my named range.

any help appreciated.

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
Adding letters instead of numbers Can :) Excel Worksheet Functions 2 August 5th 09 12:00 AM
adding numbers with letters [email protected] Excel Worksheet Functions 21 January 10th 08 10:34 AM
adding numbers but not letters SoozeeC Excel Worksheet Functions 4 December 20th 07 11:00 AM
adding numbers with letters Singha Excel Discussion (Misc queries) 4 October 25th 06 01:34 PM
FORMULAS FOR ADDING LETTERS REPRESENTING NUMBERS koolone Excel Discussion (Misc queries) 1 April 8th 05 12:39 PM


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