Forum Discussion
Anonymous
6 years agoNot applicable
Shift data left to null cell
I'm wondering if it is possible to replicate the Excel trick where you select all empty cells using crtl-g, delete values and shift cells left. I'm exporting and merging data from 100s of pdfs and ev...
Anonymous
4 years agoNot applicable
For anyone out there looking for a way to do this with a few simple clicks, I was able to get all data shifted left by the following:
In Power Query;
- Highlight all columns that you want the data shifted left.
- Select 'Merge Columns'. Use equals sign as the separator (don't use semi-colon, didn't work this way). Select OK.
- Then right click on your new merged column, and select 'split column'.
- Split by the equals sign delimeter
- Choose 'split into columns' (under Advanced options).
- Enter how many columns to split into (probably the same number of columns as original in case there's a row(s) where data exists in each one)
- Click OK.
- All of your values are now shifted left in the columns.