[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
NeonFrog
Newbie

Joined: 26 Apr 2010
Posts: 3

 Posted: Mon Apr 26, 2010 12:18 pm    Post subject: Sorting challenge where numbers are to decrease from highest Hi guys, wondering if anyone would know the remedy here please. Trying to sort a column of cuurency amounts from highest so choosing "decreasing" but instead of running from top to bottom as say... £350, £300, £250, £100, £80, £70, £60, £50... It runs... £80, £70, £60, £50, £350, £300, £250, £100. So it see's the highest value 1-9 first. Using 3.2 on Windows 7.
jrkrideau
Super User

Joined: 08 Aug 2005
Posts: 6733

Posted: Mon Apr 26, 2010 12:26 pm    Post subject: Re: Sorting challenge where numbers are to decrease from hig

 NeonFrog wrote: Hi guys, wondering if anyone would know the remedy here please. Trying to sort a column of cuurency amounts from highest so choosing "decreasing" but instead of running from top to bottom as say... £350, £300, £250, £100, £80, £70, £60, £50... It runs... £80, £70, £60, £50, £350, £300, £250, £100. So it see's the highest value 1-9 first. Using 3.2 on Windows 7.

How are you inputing the £? It sounds as if you have actually entered the symbol and turned the column into a character rather than numeric column.

If so you would need to remove the £ and transform the values into numeric
_________________
jrkrideau
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
NeonFrog
Newbie

Joined: 26 Apr 2010
Posts: 3

 Posted: Mon Apr 26, 2010 12:55 pm    Post subject: Weekly for work I copy 'amounts' from a table online and paste into a column of some 300 rows. Then I need to sort from highest to lowest. The unit I copy already has the £ in front. You don't want me to remove each £ sign from each of the 300 rows manually do you?
NeonFrog
Newbie

Joined: 26 Apr 2010
Posts: 3

 Posted: Tue Apr 27, 2010 2:36 pm    Post subject: Any idea's folks? Still having this problem. Have I explained it well enough?
ken johnson
Super User

Joined: 23 Apr 2009
Posts: 1851
Location: Sydney, Australia

 Posted: Tue Apr 27, 2010 5:57 pm    Post subject: You do have to remove the pound signs from those cells. Use Find & Replace to replace them with nothing. Select one of those cells then double click or press F2 then select the pound sign then Ctrl+C to copy it. Select all the cells with the pound sign to be removed. Go Edit|Find & Replace or Ctrl+F to bring up the "Find & Replace" dialog. Click in the "Search for" box then Ctrl+V to paste the pound sign. Leave the "Replace with" box empty. "Match case" and "Entire cells" should not be ticked. Click the "More Options" button then tick "Current selection only". Select "Values" from the "Search in" combo box. Make search direction "Rows". Click "Replace All" You should see all of the pound signs disappear and the numbers move to the right side of their cell, provided the cell format is Number General. Change the cell format to currency. If they should now sort correctly. Ken Johnson_________________If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
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