Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Data is as follows: A1 099 A2 99 A3 099 A4 99 The cells are all formatted as TEXT In A5 is a formula =COUNTIF(A1:A4, A1) The result incorrectly calculates to 4 not 2 which is what I would rather see. Has anybody experienced this anomoly and how do I force COUNTIF to evaluate the "literal text cell values" rather than a "numeric conversion of the cell values" which appears to be happening? -- shirley_kee ------------------------------------------------------------------------ shirley_kee's Profile: http://www.excelforum.com/member.php...o&userid=30384 View this thread: http://www.excelforum.com/showthread...hreadid=565899 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi!
Has anybody experienced this anomoly Oh yeah! Try this instead: =SUMPRODUCT(--(A1:A4=A1)) Biff "shirley_kee" wrote in message ... Data is as follows: A1 099 A2 99 A3 099 A4 99 The cells are all formatted as TEXT In A5 is a formula =COUNTIF(A1:A4, A1) The result incorrectly calculates to 4 not 2 which is what I would rather see. Has anybody experienced this anomoly and how do I force COUNTIF to evaluate the "literal text cell values" rather than a "numeric conversion of the cell values" which appears to be happening? -- shirley_kee ------------------------------------------------------------------------ shirley_kee's Profile: http://www.excelforum.com/member.php...o&userid=30384 View this thread: http://www.excelforum.com/showthread...hreadid=565899 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() The formula you gave me doesn't seem to work. =SUMPRODUCT(--(A1:A4=A1)) -- shirley_kee ------------------------------------------------------------------------ shirley_kee's Profile: http://www.excelforum.com/member.php...o&userid=30384 View this thread: http://www.excelforum.com/showthread...hreadid=565899 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
"shirley_kee" wrote....
The formula you gave me doesn't seem to work. =SUMPRODUCT(--(A1:A4=A1)) Worked for me. Based on your sample it returns 2. Biff |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() It works now. I changed the range to A:A instead of A1:A4. Thankx a lot -- shirley_kee ------------------------------------------------------------------------ shirley_kee's Profile: http://www.excelforum.com/member.php...o&userid=30384 View this thread: http://www.excelforum.com/showthread...hreadid=565899 |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
"shirley_kee" wrote...
It works now. I changed the range to A:A instead of A1:A4. Well, now that shouldn't work!!! Sumproduct can't use entire columns as range references, A:A. Biff |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find & Replace text format | Excel Discussion (Misc queries) | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
CountIf formula results in the formula itself being displayed. | Excel Worksheet Functions | |||
countif text formula help | Excel Worksheet Functions | |||
Display Format with Text & Formula | Excel Worksheet Functions |