#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Nested countif,or

I am having trouble writing a nested function. I want a range of cells (A1 to
D1) to be counted if they contain the letter X or C.

Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Nested countif,or

How about:

=countif(a1:d1,"X")+countif(a1:d1,"C")

Regards,
Fred.

"letsrolldog" wrote in message
...
I am having trouble writing a nested function. I want a range of cells (A1
to
D1) to be counted if they contain the letter X or C.

Thank you.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Nested countif,or

One mo

=SUM(COUNTIF(A1:D1,{"X","C"}))


letsrolldog wrote:

I am having trouble writing a nested function. I want a range of cells (A1 to
D1) to be counted if they contain the letter X or C.

Thank you.


--

Dave Peterson
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
Nested Countif joshpub New Users to Excel 6 May 15th 08 06:03 AM
Nested IF and Countif ? LPS Excel Worksheet Functions 6 December 5th 07 07:45 PM
nested countif FLChick Excel Worksheet Functions 5 September 4th 07 05:18 PM
Using nested IFs with CountIf Excel novice Excel Worksheet Functions 7 May 12th 06 11:32 AM
Nested Countif wayne75 Excel Worksheet Functions 2 June 3rd 05 04:30 PM


All times are GMT +1. The time now is 01:57 PM.

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"