ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Countif (in finnish laske.jos) (https://www.excelbanter.com/excel-worksheet-functions/6992-countif-finnish-laske-jos.html)

TT

Countif (in finnish laske.jos)
 
When trying to count the number of same values in one column Excel does count
a number of these, but then gives only zero to answer value.

It is like this:

A B
C
11.11.2002 0:01:00 11.11.2002 0:01:00
=COUNTIF($A$1:$A$;B1)
11.11.2002 0:01:00 11.11.2002 0:02:00
=COUNTIF($A$1:$A$;B2)
11.11.2002 0:02:00
11.11.2002 0:03:00
etc.

On count 1 answer should be 2 (there is 2 times cell matching cell B1)
On count 2 answer should be 1 (there is 1 times cell matching cell B2) etc.

But Excel (version 2002 SP3) does this randomly and gives answers mostly
zero when copying the function in column C down. What to do ?

Thanks, TT

TT

Sorry the malformatting: C includes the countif functions, B Ã*ncludes the
comparing value and A includes the data to look at.

"TT" kirjoitti:

When trying to count the number of same values in one column Excel does count
a number of these, but then gives only zero to answer value.

It is like this:

A B
C
11.11.2002 0:01:00 11.11.2002 0:01:00
=COUNTIF($A$1:$A$;B1)
11.11.2002 0:01:00 11.11.2002 0:02:00
=COUNTIF($A$1:$A$;B2)
11.11.2002 0:02:00
11.11.2002 0:03:00
etc.

On count 1 answer should be 2 (there is 2 times cell matching cell B1)
On count 2 answer should be 1 (there is 1 times cell matching cell B2) etc.

But Excel (version 2002 SP3) does this randomly and gives answers mostly
zero when copying the function in column C down. What to do ?

Thanks, TT



All times are GMT +1. The time now is 05:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com