[Solved] Is there a way to flip the data?

Discuss the spreadsheet application
Post Reply
DapsyD
Posts: 2
Joined: Thu Nov 20, 2008 3:47 pm

[Solved] Is there a way to flip the data?

Post by DapsyD »

Hi,

For a presentation I have to create a graph showing the share prices of a company over the last 3 months. I download the data as a spreadsheet from yahoo finance and open it using calc. However the only problem is that the most recent share price is at the top with the oldest at the bottom. Subsequently, when I create the graph, it is the wrong way round, with the most recent date on the left and the oldest share price on the right. I was wondering if there is a way to flip the data in the spreadsheet or a way to flip it in the chart creation process. Hope I worded that alright.

Thanks,

Dan
Last edited by DapsyD on Tue Nov 25, 2008 4:15 pm, edited 1 time in total.
OOo 2.4.X on MS Windows Vista
User avatar
bobban
Volunteer
Posts: 535
Joined: Sat Nov 01, 2008 3:12 pm
Location: Australia

Re: Is there a way to flip the data?

Post by bobban »

Yes. If for example you have column A with a bunch of dates which are in descending order (and you want ascending), and then your share prices are in column B, then simply select the entire range (all data in A and B column):

Data->Sort..

Column A (ascending) should do the trick.
OOo 3.1.1 on Ms Windows XP
DapsyD
Posts: 2
Joined: Thu Nov 20, 2008 3:47 pm

Re: Is there a way to flip the data?

Post by DapsyD »

Thanks for the quick reply.

That looks a lot more like the recession now :!:
OOo 2.4.X on MS Windows Vista
User avatar
TheGurkha
Volunteer
Posts: 6482
Joined: Thu Mar 13, 2008 12:13 pm
Location: North Wales, UK.

Re: Is there a way to flip the data?

Post by TheGurkha »

If this has answered your question please go to your first post and use the Edit button, and add [Solved] to the start of the title. You can also use the green tick icon.
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Is there a way to flip the data?

Post by acknak »

There is also a "Reverse Direction" option for the chart axes. Look on the "Scale" tab for the axis.
AOO4/LO5 • Linux • Fedora 23
Post Reply