r/excel • u/michael_carmichael • Oct 11 '18
unsolved Database output deleted NULL cell data and shifted cell left
I'm in a position where I need to analyze data that is provided, by request, from another department. I've been running a routine Index/Match/Match formula with only slight changes as needed. To date, the data has been dumped into excel in the following format: Col_A = unique identifier/ Col_B = Month/Yr / Col_C = Y/N value / D/E/F/etc... repeat Month/Yr and Y/N for 5 to 20 years of data for approximately 50,000 to 100,000 records.
Some starting dates for data are unavailable until midway through the date range, but always continue through the remainder of the data. Up to this point any NULLs have had "NULL" in the MM/YY and corresponding value cells leaving a nice clean table with headers for MM/YY lining up. In the most recent data extract, the NULLs were instead deleted and the cells shifted to the left leaving a messy ass table.
Is there an easy way to reformat the data to essentially shift the cells back to the right so all the MM/YY and the values immediately to the right line up? Requesting a correction to the data is going to take at least another month... speed of government.
View all comments
Show parent comment
1
u/michael_carmichael Oct 11 '18
I can try in the morning, but it may not be possible. Reddit is not allowed on the government controlled computer and moving a file from that computer is a huge deal. I'd have to confer with how rules are written if I could screenshot actual data even if scrubbed of personal data. The format is identical even if the data was made up. There is one column of a unique ID, followed by 240 columns (120 columns of month/year formatted the same as in the example, and 120 columns of 1 or 0 indicating yes or no to a variable) and there are about 57,000 rows (all unique). So even though I call it crappy because it is small, the format is identical to how it appears for the first 8/57,000 rows and the first 17/241 columns. I appreciate your input so far.