First time poster--please bear with me.
I get these reports that are made for PDFs and so they are not tabular. In excel, I managed to clean up the data using many different steps which include complex IF statements, then pasting the values in a different worksheet, sorting, deleting blanks etc. Example is in the highlighted orange under the "Data" Worksheet. There's several other steps after this and it's time consuming.
I'd like to convert them to a tabular format using Power Query but I'm not sure how to tackle this. I would love some guidance. Attached is an example of the report that's been scrubbed a bit.
The one tricky part I haven't been able to replicate in Power Query would be in Column C, some times the data is on a single row but sometimes it spans into the next room (i.e. Cell C37 and C38) and I can't think of easy logic in Power Query to concatenate them. In my old way, I've been using the IF statements to concatenate by basing whether data exists in a different column.
I know about the solution to stacked data and using modulo but I don't think I can use that for this case.
Another option I thought was maybe duplicating column C and then deleting a single cell so that it's offsetting. Then that way, I can use some sort of IF statement within Power Query to possibly concatenate the lines BUT I don't know if it's possible to just delete a single cell and shift up that data in one specific column within Power Query.
I'm hoping someone can open my eyes to some other things that can be done. I'm approaching this from one angle but I think I may just need someone to steer me in a different direction for cleaning up this data.
Thank you!!
I get these reports that are made for PDFs and so they are not tabular. In excel, I managed to clean up the data using many different steps which include complex IF statements, then pasting the values in a different worksheet, sorting, deleting blanks etc. Example is in the highlighted orange under the "Data" Worksheet. There's several other steps after this and it's time consuming.
I'd like to convert them to a tabular format using Power Query but I'm not sure how to tackle this. I would love some guidance. Attached is an example of the report that's been scrubbed a bit.
The one tricky part I haven't been able to replicate in Power Query would be in Column C, some times the data is on a single row but sometimes it spans into the next room (i.e. Cell C37 and C38) and I can't think of easy logic in Power Query to concatenate them. In my old way, I've been using the IF statements to concatenate by basing whether data exists in a different column.
I know about the solution to stacked data and using modulo but I don't think I can use that for this case.
Another option I thought was maybe duplicating column C and then deleting a single cell so that it's offsetting. Then that way, I can use some sort of IF statement within Power Query to possibly concatenate the lines BUT I don't know if it's possible to just delete a single cell and shift up that data in one specific column within Power Query.
I'm hoping someone can open my eyes to some other things that can be done. I'm approaching this from one angle but I think I may just need someone to steer me in a different direction for cleaning up this data.
Thank you!!