The problem is this: I have a column full of nouns. These nouns could be something like: "Doctor", "doctor" or "DOCTOR " (with a space at the end).
Clearly I need to normalize those records before using
COUNTIF. Rigth now I'm just using a new column "in the middle" in which I normalize the data and then I use COUNTIF on those normalized data.
I'm doing this because I can't understand how I can normalize the range taken for COUNTIF as first argumenti. Is it possibile to apply functions to the first argument? Or is there a more suitable function I can use in this case?
I have at home the 2007 and at the office 2010 so you can aim for both version.
Column A has:
"Doctor " "doctor" " doctoR" "fireman"
I need to do something like COUNTIF( NORMALIZE(A1:A4) ; "doctor" ) because " Doctor" will not match "doctor" because of the space. Right now I'm doing NORMALIZE(A1:A4) in B1:B4 and then COUNTIF( B1:B4; "doctor")
NORMALIZE is something I just inventend, not a real function of course.