Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Assigning Data According to Position in Table

Hello all,

 

I'm having an issue transforming a table that is set up for humans to read, not computers. Unfortunately, I do not control this spreadsheet and cannot change the way it is arranged. I've modified the data to look the the first table in the picture, but I'm having trouble figuring out how to get to the form in the second table (highlighted in yellow). I am confident in my ability to move from step 2 to steps 3 and 4, but need help getting from step 1 to step 2. Is this transformation possible? There is no other unique information to tie these records together.

 

 

I would greatly appreciate your help. Thanks!

  • Yes, in Power Query, simply use the Fill Down feature. Right click on that column and select Fill, Fill Down.

     

    Note that the cells must be null, not just blanks. If they are blank, before you do the fill down, select the column, right-click and Replace, leave the first block blank, and type the word null in the second.

     

     

     

1 Reply

  • edhans's avatar
    edhans
    Community Champion

    Yes, in Power Query, simply use the Fill Down feature. Right click on that column and select Fill, Fill Down.

     

    Note that the cells must be null, not just blanks. If they are blank, before you do the fill down, select the column, right-click and Replace, leave the first block blank, and type the word null in the second.