Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sorting data on google sheets chart

I have unsorted data in the sheet and I would like to show a chart with sorted data.

Here is an example:

enter image description here


I would like the chart to be sorted ascending, by compensation.

How can this be done with the data being structured as on the picture?

like image 941
user3760419 Avatar asked Feb 05 '19 16:02

user3760419


People also ask

Can you sort data in a chart?

In Power View you can organize your data in a chart with one click. You can sort chart categories by a category value (in the Axis box) or by a numeric value (in the Values box). Hover over the top edge of a chart until you see sort by in the upper-left corner, then the name of a field, and then either asc or desc.

Can you sort a table in Google Sheets?

Sort an entire sheet On your computer, open a spreadsheet in Google Sheets. At the top, right-click the letter of the column you want to sort by. Click Sort sheet A to Z or Sort sheet Z to A.


1 Answers

move and sort your individual tables to Sheet2 with: =SORT(Sheet1!A3:B6,2,1)

then construct your chart from there:

like image 116
player0 Avatar answered Oct 17 '22 21:10

player0