Power Query Change “shift cells down” to “insert row”

andydtaylor

Active Member
Joined
Feb 15, 2007
Messages
360
Office Version
  1. 2016
Hi

When Power query tables return more (fewer) rows than previous it shifts cells down (up) below the table. I would instead like Excel to insert (remove) an entire row. This is because of the way the rest of my workbook is structured. Is there a way that I can select or effect this behavior? FYI Typically I am hitting the “refresh all” button to update.

Thanks

Andy
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
In short, no. Power Query returns a table. A table is more like a database than a spreadsheet. Order is not defined and hence you can’t rely on the order, and hence you can’t relay on the cell reference location. Consider instead loading the results to the data model and accessing the results from there.
 
Upvote 0
In short, no. Power Query returns a table. A table is more like a database than a spreadsheet. Order is not defined and hence you can’t rely on the order, and hence you can’t relay on the cell reference location. Consider instead loading the results to the data model and accessing the results from there.

Hi,

I may have a workaround which I will share (if so). I am exporting summary tables to worksheet purely for audit trail purposes. Power query being moon science after all....

Thanks,

Andy
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top