#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default The wrong answer

Hi

I created the following formula in the hope that it would count the number
of cells with M as an entry:

=COUNTA(F3:F100,"m")

It is returning an answer of 8 but I know there are only 3 M cells in the
column. Any ideas what I've done wrong?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default The wrong answer

You need to make it:

=COUNTIF(F3:F100,"m")

COUNTA counts all the non-blanks cells (including the "m").

Hope this helps.

Pete

On Oct 29, 11:06 am, Adam wrote:
Hi

I created the following formula in the hope that it would count the number
of cells with M as an entry:

=COUNTA(F3:F100,"m")

It is returning an answer of 8 but I know there are only 3 M cells in the
column. Any ideas what I've done wrong?

Thanks



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 returning wrong answer Max Excel Worksheet Functions 1 September 14th 07 04:12 PM
Formula returning wrong answer Mike H Excel Worksheet Functions 1 September 14th 07 04:04 PM
Wrong Answer Loren Excel Discussion (Misc queries) 5 December 11th 06 09:24 PM
Array gives wrong answer Shu of AZ Excel Discussion (Misc queries) 1 November 11th 06 07:03 PM
Formula correct, answer wrong TJAC Excel Discussion (Misc queries) 2 January 3rd 06 06:15 PM


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