Aug 13 2019 04:49 AM
I've been using a sheet for a long time. Suddenly today, a simple COUNTIF function doesn't work any more. The formula is as simple as they get: =COUNTIF(AC23:SZ23,"L"). There are numerous 'L's in the row, yet it returns 1.
There are many other such countif functions counting data in the same row, such as =COUNTIF(AC23:SZ23,"FDO"), which works perfectly. It looks at exactly the same data set, formatted in exactly the same manner. The cells are all 'general'.
What can be wrong?
Aug 13 2019 06:27 AM
SolutionAug 13 2019 07:01 AM
This formula works, thanks.
I checked, and there were training spaces behind the 'L's. Upon investigation it turns out that my staff member typed in 'leave' and then corrected it afterwards. Excel let the word 'leave' reappear when he tried typing in 'L', so he made a space to get the 'L'. And that 'incapacitated' my formula.
Feb 22 2022 05:54 AM
Aug 13 2019 06:27 AM
Solution