Hello,
I'm trying to come up with a way to count leading and trailing spaces in cells. I have seen posts discussing ways of trimming such spaces, but I didn't see anything about counting them.
(The reason I need this is that it will help me identify the source software from which some of my data comes from. When students copy and paste data from the source, cells get pasted with leading and/or trailing spaces in addition to other source formatting etc.)
Thanks for any input!
P.S. By the way, by "total" in the title, I didn't mean the sum of leading and trailing space counts. I need them separately.
I'm trying to come up with a way to count leading and trailing spaces in cells. I have seen posts discussing ways of trimming such spaces, but I didn't see anything about counting them.
(The reason I need this is that it will help me identify the source software from which some of my data comes from. When students copy and paste data from the source, cells get pasted with leading and/or trailing spaces in addition to other source formatting etc.)
Thanks for any input!
P.S. By the way, by "total" in the title, I didn't mean the sum of leading and trailing space counts. I need them separately.