Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default COUNTIF not counting properly

Hello, I hope someone can help!

I am using the following formula: =COUNTIF(AM6:AM105,"=1.0")-(AM112+AM113)

It works great except it will not count any occurance of "1.0". The same
formula for counting "=4.0" picks up both occurances of 4.0. Literally, it
is only 1.0 it refuses to count...help :-)

Thank you all in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default COUNTIF not counting properly

Hi,
is the information being uploaded if yes check for blank spaces at the
beginning or at the end of 1.0

"DogCrazy" wrote:

Hello, I hope someone can help!

I am using the following formula: =COUNTIF(AM6:AM105,"=1.0")-(AM112+AM113)

It works great except it will not count any occurance of "1.0". The same
formula for counting "=4.0" picks up both occurances of 4.0. Literally, it
is only 1.0 it refuses to count...help :-)

Thank you all in advance!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 269
Default COUNTIF not counting properly

I can think of two things to check

1) make sure your value is actually 1.0 and not something like .99999999999
displaying as 1
- try changing your formula to =.9 and see if that changes the result

2) Check that the cell containg 1.0 are not formatted as text.
--
If this helps, please remember to click yes.


"DogCrazy" wrote:

Hello, I hope someone can help!

I am using the following formula: =COUNTIF(AM6:AM105,"=1.0")-(AM112+AM113)

It works great except it will not count any occurance of "1.0". The same
formula for counting "=4.0" picks up both occurances of 4.0. Literally, it
is only 1.0 it refuses to count...help :-)

Thank you all in advance!

  #4   Report Post  
Senior Member
 
Location: Hyderabad
Posts: 237
Thumbs up

Quote:
Originally Posted by DogCrazy View Post
Hello, I hope someone can help!

I am using the following formula: =COUNTIF(AM6:AM105,"=1.0")-(AM112+AM113)

It works great except it will not count any occurance of "1.0". The same
formula for counting "=4.0" picks up both occurances of 4.0. Literally, it
is only 1.0 it refuses to count...help :-)

Thank you all in advance!

steps to be taken care
1. remove white spaces before and after the number, use TRIM function to remove
2. make sure that all the cells are formatted as number instead of text.
__________________
Thanks
Bala
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
Countif not counting PatriciaT Excel Discussion (Misc queries) 2 March 23rd 09 10:41 PM
COUNTIF not counting properly Christine Excel Discussion (Misc queries) 4 October 23rd 08 08:21 PM
COUNTIF not counting will b Excel Discussion (Misc queries) 3 September 14th 07 05:50 PM
COUNTIF not counting properly!! Character limit? kytihu Excel Worksheet Functions 2 January 30th 06 04:45 PM
Using COUNTIF for Counting Words? Rich B Excel Worksheet Functions 2 September 26th 05 08:40 PM


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