Automatically Sort after refreshing data

Sundance_Kid

Board Regular
Joined
Sep 2, 2017
Messages
128
Office Version
  1. 365
Platform
  1. Windows
Hi, I am wondering is it possible to have a table I have in excel automatically sort once data is updated/refreshed?

I have 4 columns.

Column A = List of countries
Column B = Is vlooking up a pivot table in another sheet to return a monthly figure
Column C = Is vlooking up a pivot table in another sheet to return an annual figure
Column D = Is a formula, returning column B as a percentage of column C.

Column D is the column I am using to sort the table by highest % to lowest %.
However, when I refresh the pivot tables and the figures change, I need to go back to the table and manually highlight it and click sort to sort column D by highest to lowest.

Can I do something that when the pivot refreshes and it may impact the sort order, it will do it automatically?

Thanks
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,214,832
Messages
6,121,844
Members
449,051
Latest member
excelquestion515

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