if with multi condition

hi every one .

i have a table with 5 column and 100row .

i wanna set a condition for each cell that check this condition =>

if length of that cell = 1 then replace something with something else .

how i can do this .?

thanks for your help