LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default countif / sumif function error

Try this

=SUMPRODUCT(--(" "&A1:A2=" "&A1))

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"Mark J." <Mark wrote in message
...
If the criterion for one of these functions is a string of 15+ of

numerical
characters only - formatted as text, it will pick up as a match any string

of
numerical characters only - formatted as text in the same length as the
criteria and the first 15 characters match the first 15 characters of the
criteria, even though the numerical characters past the 15'th character

does
not match to the criteria, (the reason is probably because these functions
are considering a value string - formatted as text as a numerical value,

and
since excel does not keep the actual #'s after 15 numerical values it just
keeps the 0's so these functions ignore the values after the 15 character
because they assume them to be 0's only, they just check the length to be

the
same after the 15'th character.)

Example:

A1: '1234567890123456
A2: '1234567890123457
B1: =Countif(A1:A2,A1) the result is 2




----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow

this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.


http://www.microsoft.com/office/comm...et.f unctions


 
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
Is there a function Countif that operates like Sumif? Undrline Excel Worksheet Functions 7 April 12th 06 05:55 AM
CountIf Function Question Josh in Indy Excel Discussion (Misc queries) 4 April 6th 06 08:28 PM
CountIF Function On Linked Spreadsheet Josh in Indy Excel Discussion (Misc queries) 0 April 5th 06 05:09 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
Lookup Function Error Jacinthe Excel Worksheet Functions 2 March 10th 05 07:37 AM


All times are GMT +1. The time now is 08:25 AM.

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"