angeloudaki
New Member
- Joined
- Jul 7, 2015
- Messages
- 46
Issue:
I often import data from web pages where there is no 'export as' function which means I am often left with non-breaking spaces embedded (not visible in cells), or or leading/trailing spaces. This causes problems when using countif functions and also Conditional formatting (for duplicate values). This makes my calculations inaccurate.
Existing solution:
I know I can use the =TRIM(A1) for leading/trailing spaces and =TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," "))) for non-breaking spaces but it is a pain when I have 20 columns. I currently create a helper column and just change the column reference then copy and paste as unformatted content to each column but when I have to do it a lot it is time consuming
All online help content points towards the cell reference formulae; and I couldn't find anything in the forum...

I often import data from web pages where there is no 'export as' function which means I am often left with non-breaking spaces embedded (not visible in cells), or or leading/trailing spaces. This causes problems when using countif functions and also Conditional formatting (for duplicate values). This makes my calculations inaccurate.
Existing solution:
I know I can use the =TRIM(A1) for leading/trailing spaces and =TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," "))) for non-breaking spaces but it is a pain when I have 20 columns. I currently create a helper column and just change the column reference then copy and paste as unformatted content to each column but when I have to do it a lot it is time consuming

All online help content points towards the cell reference formulae; and I couldn't find anything in the forum...
