Sort chart data descending without sorting data source

Waxaholic

Board Regular
Joined
Apr 2, 2002
Messages
72
I want to display data within a chart in descending order without sorting the data source spreadsheet. Is this possible? I am using a bar chart for example and would like to graph the Top 20 values in descending order within the chart. I don't want to disturb the data source spreadsheet and do not want to create any more sheets or cells. I am trying to keep the workbook size to a minimum for distribution sake. Any help you can offer would be great.

Thanks,

Waxaholic
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
On 2002-06-17 12:01, Waxaholic wrote:
I want to display data within a chart in descending order without sorting the data source spreadsheet. Is this possible? I am using a bar chart for example and would like to graph the Top 20 values in descending order within the chart. I don't want to disturb the data source spreadsheet and do not want to create any more sheets or cells. I am trying to keep the workbook size to a minimum for distribution sake. Any help you can offer would be great.

Thanks,

Waxaholic
Yes, there is a way to do this - tough it involves creating your chart from PivoteTable:

1) Create a PivoteTable by entering the wizard and selecting range.

2) In Row field put the Names and in Data field put your Values.

3) When clicking twice on the Row PivoteTable field (Names) you can choose to sort your Values by entering the "Advanced..." option and choosing the field to sort (Values).

4) Create your Bar chart from the PivoteTable and Refresh it whenever you need.

Your plot will be sorted with no need to sort the original data.
Hope this make sense!

Eli
This message was edited by eliW on 2002-06-17 23:48
 
Upvote 0

Forum statistics

Threads
1,214,391
Messages
6,119,244
Members
448,879
Latest member
VanGirl

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