Author Topic: Gnumeric: converting text-numerals [Solved]  (Read 339 times)

Offline satuser083

  • Hero Member
  • *****
  • Posts: 510
Gnumeric: converting text-numerals [Solved]
« on: November 06, 2012, 02:33:14 PM »
Does anyone know of a rapid way of converting a list of numbers in text-format (i.e. '10 '11 '12), which gnumeric clearly cannot perform a sum on, to a list of number-values (i.e. 10 11 12) which it can add together. I believe I saw a procedure some time ago, but can't find it now, of course :'( . Thanks
« Last Edit: November 07, 2012, 06:31:43 AM by satuser083 »

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1472
  • In theory, theory=practice, in practice ???
Re: Gnumeric: converting text-numerals
« Reply #1 on: November 06, 2012, 03:08:29 PM »
Does anyone know of a rapid way of converting a list of numbers in text-format (i.e. '10 '11 '12), which gnumeric clearly cannot perform a sum on, to a list of number-values (i.e. 10 11 12) which it can add together. I believe I saw a procedure some time ago, but can't find it now, of course :'( . Thanks

They're not in the same cell are they, that is hard.   Otherwise just format them to
numeric, you should be able to search and replace any unwanted symbols.

FF
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline rich2005

  • Sr. Member
  • ****
  • Posts: 261
Re: Gnumeric: converting text-numerals
« Reply #2 on: November 07, 2012, 03:17:19 AM »
If they are in individual cells as text in a column then the value(cell) function should work

Offline satuser083

  • Hero Member
  • *****
  • Posts: 510
Re: Gnumeric: converting text-numerals
« Reply #3 on: November 07, 2012, 06:30:40 AM »
If they are in individual cells as text in a column then the value(cell) function should work

You've just given me an idea which led to the solution; here it is:
Code: [Select]

1. Remove currency-symbol if present (Edit -> Search and Replace -> etc)

2. Insert a new column IMMEDIATELY TO THE RIGHT of the column to be converted

3. Mark the entire column-length to be converted; then  -> Data -> Text to Columns -> Finish

4. The converted column should now be in the column IMMEDIATELY to its right; this is why it is necessary to
    insert a new column here (see 2. above), because this column's contents will be OVERWRITTEN!!!

5. Finished

Many thanks to you both  :) ;) .

Offline jnmtjv

  • New Friend
  • *
  • Posts: 1
Re: Gnumeric: converting text-numerals [Solved]
« Reply #4 on: March 31, 2013, 05:12:25 AM »
You can also take an advantage of Gnumeric-function numbervalue(range,'dec.separator').