LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
Paul Mathews
 
Posts: n/a
Default countif not working

Nick, the countif condition "C11" has nothing to do with the contents of
cell C11. What you're checking for when the countif condition is "C11" is
items in a list whose alphanumeric sort value is greater than that of the
text string "C11". For example, the string "C12" would be greater than "C11"
but "C10" wouldn't be (see the topic "Default sort order" in Excel Help for
more details). The solution provided by Don concatenates the value contained
in cell C11 into the countif condition.

"Nick Krill" wrote:

Thanks for the help the expression ""&C11 did work, but how do I restore
the standard functionality? I have hundreds of workbooks with thousands of
calculations that are formulated in the standard fashion. If you click on the
function dropdown list and allow Excel to create the formula for you it
creates it exactly the same way Ive been using for years:
=COUNTIF(L11:O11,C11) but cant find cell C11




"Nick Krill" wrote:

I've used countif hundreds of times before, but now it has stopped working:

=COUNTIF(L11:O11,"c11") produces a 0 - apparently doesn't recognize cell
C11 - note that it remains lowercase in the countif statement rather than
automatically changing to uppercase (the correct calculated answer should be
2)

No cell reference between quotes is accepted.

substituting a real number for c11 functions properly.

I emailed this to a friend and it didn't work on his Excel either, proving
that it's not an application malfunction.



 
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
Working spreadsheet highlighting function for Excel 2007 Mr. Low Excel Worksheet Functions 4 June 16th 06 06:12 PM
COUNTIF across multiple sheets Gizmo63 Excel Worksheet Functions 3 April 10th 06 11:42 AM
click & drag not working Teresa Excel Discussion (Misc queries) 2 February 25th 06 01:52 AM
Working time and days Nortos Excel Worksheet Functions 5 May 6th 05 04:17 PM
Working time and days Nortos Excel Discussion (Misc queries) 1 May 6th 05 03:47 PM


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