Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default COUNTIF and multiple criteria

XL2003. I've checked many of the answers in this forum, but none has worked
for me.
One column in my table has staff initials where the same few people are
scattered down the column. A dozen more columns have events marked with an X.
I want to count the number of Xs for each person. I've named the dozen
columns 'Xarray'.

I've tried variations on COUNTIF($B$2:$B$500="AB",Xarray,"X"), sometimes
CSE-ing them, sometimes using AND() and SUMIF() in different ways, but get
either an error-in-formula message, or the total number of Xs, or the total
number of cells, or FALSE or #N/A.

Please would someone tell me where I'm going wrong?
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default COUNTIF and multiple criteria

Don, Francis, and ryguy7272: thank you all for your quick and useful
responses: SUMPRODUCT and SUM worked perfectly for me. I think I feel silly
for not having got it right before, but I'm there now!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 175
Default COUNTIF and multiple criteria

Hi Jonathan

Thank you for your feedback. Am glad that these have been helpful
Me too was silly and is still learning, Excel can surprises me with
something new everyday. Best wishes.

Would you mind clicking on the Yes button below the posts that have answered
your question, this will help others to find the solution easlier in the
archive
later. Thanks
--
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



"Jonathan589" wrote:

Don, Francis, and ryguy7272: thank you all for your quick and useful
responses: SUMPRODUCT and SUM worked perfectly for me. I think I feel silly
for not having got it right before, but I'm there now!


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 175
Default COUNTIF and multiple criteria

one way, try this array formula, confirm by CSE

=SUM((A2:A500="AB")*(B2:F500="x"))
--
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



"Jonathan589" wrote:

XL2003. I've checked many of the answers in this forum, but none has worked
for me.
One column in my table has staff initials where the same few people are
scattered down the column. A dozen more columns have events marked with an X.
I want to count the number of Xs for each person. I've named the dozen
columns 'Xarray'.

I've tried variations on COUNTIF($B$2:$B$500="AB",Xarray,"X"), sometimes
CSE-ing them, sometimes using AND() and SUMIF() in different ways, but get
either an error-in-formula message, or the total number of Xs, or the total
number of cells, or FALSE or #N/A.

Please would someone tell me where I'm going wrong?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default COUNTIF and multiple criteria

Couple great tutorials right he
http://www.contextures.com/xlFunctions04.html
http://www.contextures.com/xlFunctions01.html

HTH,
Ryan---


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Francis" wrote:

one way, try this array formula, confirm by CSE

=SUM((A2:A500="AB")*(B2:F500="x"))
--
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



"Jonathan589" wrote:

XL2003. I've checked many of the answers in this forum, but none has worked
for me.
One column in my table has staff initials where the same few people are
scattered down the column. A dozen more columns have events marked with an X.
I want to count the number of Xs for each person. I've named the dozen
columns 'Xarray'.

I've tried variations on COUNTIF($B$2:$B$500="AB",Xarray,"X"), sometimes
CSE-ing them, sometimes using AND() and SUMIF() in different ways, but get
either an error-in-formula message, or the total number of Xs, or the total
number of cells, or FALSE or #N/A.

Please would someone tell me where I'm going wrong?

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
Nesting COUNTIF for multiple criteria in multiple columns NeedExcelHelp07 Excel Worksheet Functions 1 December 12th 07 05:47 PM
COUNTIF MULTIPLE CRITERIA will A Excel Discussion (Misc queries) 18 March 8th 06 06:58 PM
countif, multiple criteria... Oggie Ben Doggie Excel Worksheet Functions 2 January 19th 06 06:52 PM
countif using multiple criteria Wayne E Excel Discussion (Misc queries) 4 January 19th 06 03:11 AM
Countif with multiple criteria and multiple worksheets JJ Excel Worksheet Functions 1 December 28th 04 06:37 PM


All times are GMT +1. The time now is 04:15 AM.

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"