Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default need this formula to exclude cell value 'x' and 'xx' when counting

Hi. I have a function that will count 1 every time there is text in a cell.
Is there a way to get the following function to count all cells having text
and exclude cells that contain cell values: 'xx' or x?

=SUM(IF(ISTEXT(C17:K17),1,0))

Please help me.
Thanks. Misty

--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200807/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default need this formula to exclude cell value 'x' and 'xx' when counting

=SUM(IF(ISTEXT(C17:K17),1,0))-COUNTIF(C17:K17,"x")-COUNTIF(C17:K17,"xx")
as an array formula
--
Gary''s Student - gsnu2007j


"Mitchell_Collen via OfficeKB.com" wrote:

Hi. I have a function that will count 1 every time there is text in a cell.
Is there a way to get the following function to count all cells having text
and exclude cells that contain cell values: 'xx' or x?

=SUM(IF(ISTEXT(C17:K17),1,0))

Please help me.
Thanks. Misty

--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200807/1


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default need this formula to exclude cell value 'x' and 'xx' when counting

Thanks!

Misty

--
Misty :-)

Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200807/1

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
Exclude weekends when counting days only on day 29 or 30 Loren A - Huntley, Illinois Excel Worksheet Functions 3 February 19th 08 09:18 PM
charts exclude cell with formula linda Charts and Charting in Excel 0 September 19th 07 05:12 AM
Excel 2003 - SUM Formula - exclude cell Peppermint Excel Worksheet Functions 2 January 4th 06 04:53 PM
formula for counting charachters in a cell ? Leezo Excel Discussion (Misc queries) 5 August 12th 05 09:51 PM
Pivot table, how do you exclude counting cells with formulas as a Greg Bobak Excel Worksheet Functions 4 November 4th 04 12:05 AM


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