OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How to add button to column header to sort data by column

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
damiengolding
General User
General User


Joined: 17 May 2012
Posts: 5
Location: Osaka, Japan

PostPosted: Tue May 29, 2012 11:57 pm    Post subject: How to add button to column header to sort data by column Reply with quote

Hi, I am looking to add a button to my spreadsheet for each column header, that sorts rows of all the data by the data in the column of the button pressed.
For example:

Name|Website|Comments
a|Google|Search
b|Facebook|SNS
c|Ebay|auction

Clicking Website would sort into the following order: c,b,a
Clicking Comments would sort into the following order: c,a,b

Any help would be very appreciated.
Thank you in advance.
_________________
Translator and English teacher in Japan.
Please check out my blog.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Wed May 30, 2012 3:05 am    Post subject: Reply with quote

This what databases can do because database tables are organized as a collection of indivisible rows. Spreadsheets do not know any tables. By mere intention sheets are organized as single cells with coordinates.
3 options:
-- Use a database (expensive to build up, very easy to use)
-- Use the "cheap tool" as is (easy to build up, more difficult to use)
-- Write a macro program for the "cheap tool"
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group