Thomas5000
MIS
have a column of cells where users put in "Y" for yes and "N" for no. However, when i count the Y's and N's, if there is a space after the letter, it will not count the character. I can't depend on users to remove the spaces,they are not that computer literate. Besides spaces are hard to see.
I'm actually using the sumproduct function instead of count but i figured the method would be similar but just in case, i thought i would make sure.
How can i trim the spaces? So that "Y" will be treated the same as " Y "?
I found this function called trim() but it will not allow me to do
=COUNTIF(trim(A2:A5),"y") and i can't format the cell to trim automatically that i know of.
Thanks!
I'm actually using the sumproduct function instead of count but i figured the method would be similar but just in case, i thought i would make sure.
How can i trim the spaces? So that "Y" will be treated the same as " Y "?
I found this function called trim() but it will not allow me to do
=COUNTIF(trim(A2:A5),"y") and i can't format the cell to trim automatically that i know of.
Thanks!