I am trying to import a table from Excel into Stata, but it always split the cells that span across multiple columns. For example, my data looks like this in Excel
but after importing it to Stata, it becomes this
After importing, Stata split the cells that span across multiple columns. Only the first columns contain the original value and other columns are converted to missing. Therefore I can't tell the difference between row 1 and 3 and make my data cleaning task harder.
I know Stata doesn't support individual cells that span across columns but is there a way to let Stata leave some marks when splitting those cells, such as letting other columns contain extended missing values like .s? Couldn't find any solution online
55 | a1 | 0 | 0 | |
56 | a2 | b2 | 0 | 1 |
57 | a3 | 1 | 0 |
55 | a1 | 0 | 0 | |
56 | a2 | b2 | 0 | 1 |
57 | a3 | 1 | 0 |
I know Stata doesn't support individual cells that span across columns but is there a way to let Stata leave some marks when splitting those cells, such as letting other columns contain extended missing values like .s? Couldn't find any solution online

Comment