bobhc
Excel Ninja
Hi all, old man again with the need of more help.
I have a two columns of cells with full names and address, the problem is that some people have the habit of hitting the space bar before and/or after entering data.
I have to remove this white space before and after the data BUT NOT the white space in-between the names, so _john_smith_ would become john_smith ( _= white space)I have looked at =substitute(A2," ","") and the suggestion of Hui's (did a search) of trim but these are for single cell use. How can I enter a formula and select all the required cells,including cells without white space, as not all who input to a shared workbook enter data the same way or am I asking for some thing that does no exists.
I have a two columns of cells with full names and address, the problem is that some people have the habit of hitting the space bar before and/or after entering data.
I have to remove this white space before and after the data BUT NOT the white space in-between the names, so _john_smith_ would become john_smith ( _= white space)I have looked at =substitute(A2," ","") and the suggestion of Hui's (did a search) of trim but these are for single cell use. How can I enter a formula and select all the required cells,including cells without white space, as not all who input to a shared workbook enter data the same way or am I asking for some thing that does no exists.