Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Remove Blank Cells in spreadsheet and shift cells left

Hello. I have set of data where multiple values of same information is spread accros columns. I would need to use something like in Excel when you mark all blank cells in the area, hit delete and shift cells left. I have too large set of data which just cannot be processed by Excel, so Im wondering if this could be somehow achieved using DI. See the sample picture attached if it is unclear. Many thanks for help
0683p000009MBJ6.png
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi,
Have you tried to check out "Trim" option to trim the leading and trailing white space in advanced settings of tfileinputexcel component?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina. Thanks, but I think the Trim option only allows me to remove leading and trailing whitespaces within cells, correct? What I need is to remove entire cell which is empty and shift left all cells which are now right. Does it make sense from the picture? Many thanks for help 
TRF
Champion II
Champion II

Hi,
Push the record from Excel to a field where values are separated by ";" then use a regex to replace multiple ";" (let say ";;;") by a single ";" and finally push the result back to an Excel file.
Regards,
TRF