#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GVDLS
 
Posts: n/a
Default countif

I would like to count how many X's are in various cells within a worksheet.

Example: =countif(N8,S8,X8=X)

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default countif

=countif(D1:G4,"x")

Adjust range to suit.............

Vaya con Dios,
Chuck, CABGx3



"GVDLS" wrote:

I would like to count how many X's are in various cells within a worksheet.

Example: =countif(N8,S8,X8=X)

Thank you

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default countif

One way:

=COUNTIF(N8,"X")+COUNTIF(S8,"X")+COUNTIF(X8,"X")

Or, if your pattern continues:

=SUMPRODUCT(--(N8:X8="X"),--(MOD(COLUMN(N8:X8),5)=4))

In article ,
"GVDLS" wrote:

I would like to count how many X's are in various cells within a worksheet.

Example: =countif(N8,S8,X8=X)

Thank you

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GVDLS
 
Posts: n/a
Default countif

This is perfect, thank you very much!

"JE McGimpsey" wrote:

One way:

=COUNTIF(N8,"X")+COUNTIF(S8,"X")+COUNTIF(X8,"X")

Or, if your pattern continues:

=SUMPRODUCT(--(N8:X8="X"),--(MOD(COLUMN(N8:X8),5)=4))

In article ,
"GVDLS" wrote:

I would like to count how many X's are in various cells within a worksheet.

Example: =countif(N8,S8,X8=X)

Thank you


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 format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
COUNTIF COMBINATION?? Heather Excel Worksheet Functions 1 April 26th 05 02:44 AM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


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