How to trim starting spaces of entire column in LibreOffice or Google sheets?

Atchyut Nagabhairava picture Atchyut Nagabhairava · Jun 15, 2016 · Viewed 7.4k times · Source

I'm a bit of a newbie at this, so hope to get some help.

I have a large spreadsheet where columns C and D each have a blank space before the data in each column. Can some one please explain me how to trim an entire column to remove starting spaces in LibreOffice of Google Spreadsheets

Answer

Mile Cilic picture Mile Cilic · May 24, 2019

In LibreOffice:
1. Select the cells you want to change
2. Edit -> Find & Replace
3. Find: ^\s+
4. Replace:
5. Other Options - Regular expressions: ON
6. Other Options - Current selection only: ON
7. Click Replace All