Excel sorting.

vbacoder12

New Member
Joined
Sep 4, 2024
Messages
41
Office Version
  1. 2024
  2. Prefer Not To Say
Platform
  1. Windows
I have created an excel worksheet which is a combination of a power query and custom made excel columns. It seems like even though they are in the same sheet when I try to sort using one or another the colums don't stay with other.
Example column A is from the query. Column I is a custom row. If I sort column a all the data in row 1 won't stay together
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Please post a sample of your data in a third party platform, ie. Dropbox.com or Box.net. In this way we can see exactly the issue. I am guessing that the new column is not part of the table created by PQ and needs to be incorporated to that table.
 
Upvote 0
Please post a sample of your data in a third party platform, ie. Dropbox.com or Box.net. In this way we can see exactly the issue. I am guessing that the new column is not part of the table created by PQ and needs to be incorporated to that table.
I think i figured this out. I converted to range and then scripted a filter to go on the columns. I do have another question though related to vba. I some users which can run the macro n some that can't. I think it's associated with users not having access to tables used In the macro that I query. Anythoughts if it can't be anything else?
 
Upvote 0

Forum statistics

Threads
1,226,516
Messages
6,191,500
Members
453,660
Latest member
Wp1902

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