Merge restore and rollback
📑 Split and merge settings
💡 Instructions for use
- The split mode is used to separate multiple contents in a column, such as splitting "province, city, district" into three columns, or splitting a label string into multiple label columns.
- Merge mode is used to combine multiple scattered columns into one column, such as combining last name and first name into a name, and combining area and number into a complete number.
- In-cell delimiters support commas, spaces, semicolons, dashes, underlines, and vertical lines; table column delimiters are independent of them and can be set separately.
- Setting an upper limit on the number of splits can prevent individual abnormal rows from splitting too many columns, and the excess will be merged into the last column instead of being discarded.
- Removing leading and trailing spaces before splitting can avoid redundant empty columns. It is recommended to keep it enabled.
- The data is only processed in the browser and is not uploaded or saved; if you need to keep the file, please copy or download the results.
Merge and restore is used for rollback: rejoin the separated columns into one column and restore it to a form that is easy to display.
Two ways to restore
- Accurate restoration: If you remember the delimiters and order used when splitting, you can basically restore by merging them with the connectors in the same order.
- Approximate restoration: When the order or separators are no longer certain, the order and spacing of the content need to be manually checked after merging.
A safer approach
Keep a copy of the original data before splitting, and use the original directly when you need to roll back, which is more reliable than splicing afterwards. If splicing is necessary, it is recommended to reserve a column in the result to mark the source row number to facilitate comparison with the original data.
If the split result is not ideal, you can restore it to the original content with one click without having to re-paste it. It is recommended to make a copy of the original text for record keeping before adjusting the rules, especially when dealing with historical data that can no longer be obtained.
If the results have been modified manually, the restore will overwrite these changes. Please confirm before operation. When trying different delimiters multiple times, retaining the original text allows each attempt to start from the same data, so that the results are comparable.
It is recommended to restore the results before adjusting the rules each time to ensure that the results of the same data under different rules are being compared.
If you want to try multiple rules at one time, it is recommended to record the number of columns after each trial to facilitate horizontal comparison of which one is the most suitable.
Record the rules and column numbers so that you can directly reuse the same set of settings when encountering similar data in the future.
It is most reliable to back up the original data before splitting and exchange it directly for the original data when rolling back.
📖 Glossary
- sort
- Split multiple contents in a cell according to separators and put them into adjacent columns.
- Merge columns
- Use connectors to combine the contents of multiple columns into one column in order. The original columns can be retained or removed.
- cell separator
- The character used to separate multiple contents inside a cell and the column separator of the table are two different things and need to be set separately.
- Column separator
- Characters used to divide table columns. Tab characters are used for content copied by spreadsheet software, and commas are used for comma-delimited files.
- Fill empty cells
- When the number of splits in each row is inconsistent, fill in the empty columns according to the maximum number to ensure a neat table structure.
- Split cap
- Limit the maximum number of columns that can be split at a time, and merge the excess into the last column to prevent abnormal rows from cluttering the table.
- tag string
- A group of tags connected with delimiters, such as comma-separated keywords, which can be split into multiple columns.
- connector
- The character inserted between the contents of each column when merging, which can be a space, a comma, a dash, or an empty space.
- Data cleaning
- A common process for organizing data, sorting and merging are often used in conjunction with steps such as removing spaces and removing duplicates.
- structural consistency
- The number of columns in the entire table remains the same, which is a prerequisite for the table to be read and imported correctly.
🔗 All keywords and tutorials
❓ FAQ
- Can it be completely restored after splicing??
- When the order and connectors are consistent with the original split, it can be basically restored; otherwise, there will be interval differences and manual verification is required.
- What happens when empty cells are spliced??
- Empty cells will appear as two consecutive connectors. It is recommended to clear out the empty values before merging.