Forum Discussion

River_998's avatar
River_998
Copper Contributor
Sep 02, 2023
Solved

Automatically move Excel rows up or down for certain columns so that all data of rows align well

Hello. I downloaded sets of food data (one Excel file for each type of food) from https://food-nutrition.canada.ca/cnf-fce/newSearch, copied their columns, and pasted them into one Excel spreadsheet....
  • Riny_van_Eekelen's avatar
    Sep 03, 2023

    River_998 This is really something for Power Query (PQ). I downloaded the three nutrition reports you showed in the screenshot. Saved them in one folder and connected PQ to that folder. Did some basic cleaning up and created a pivot table that automatically lines up all nutrients for you. The end result (just a portion of it) looks like this:

    It that what had in mind?

     

Resources