Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
In Excel 2000, I have used formula :
=countif(Muster!$M5:$M283,D5) where Muster is a sheet and range M5:M283 contains newspaper name like TOI, FE, ECO, LS etc.(abbreviations for newspaper full name). But this formula is showing wrong result for TOI as 20 whereas when manually checked total TOI are more than 50 in the said range. Surprisingly, when I delete any TOI string in the said range from M5:M283, immediately the result shows 19. Where am I going wrong? -- Knowldege is Power |
#2
![]() |
|||
|
|||
![]()
=countif(Muster!$M5:$M283,D5)
Try instead: =SUMPRODUCT(--(TRIM(Muster!$M$5:$M$283)=D5)) The TRIM() should help remove any extraneous white spaces within the source range: Muster!$M$5:$M$283, which are probably the culprits fouling up the correct matching / count -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "Ajit Munj" wrote in message ... In Excel 2000, I have used formula : =countif(Muster!$M5:$M283,D5) where Muster is a sheet and range M5:M283 contains newspaper name like TOI, FE, ECO, LS etc.(abbreviations for newspaper full name). But this formula is showing wrong result for TOI as 20 whereas when manually checked total TOI are more than 50 in the said range. Surprisingly, when I delete any TOI string in the said range from M5:M283, immediately the result shows 19. Where am I going wrong? -- Knowldege is Power |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF COMBINATION?? | Excel Worksheet Functions | |||
Combining IF and COUNTIF based on two columns | Excel Discussion (Misc queries) | |||
COUNTIF in one colum then COUNTIF in another...??? | Excel Worksheet Functions | |||
Countif - Countif | Excel Worksheet Functions | |||
countif, again | Excel Worksheet Functions |