Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default CONVERT TEXT 2 NUMBERS

I have used quite some scheme of formulas like left(), right() to extract the
"numbers" from a list of codes but they turn out to be in text form. Any idea
how to use some sort of =Text() like function so as to convert the extracted
figures to numbers?

--
Best Regards,
FARAZ A. QURESHI
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default CONVERT TEXT 2 NUMBERS

=--(LEFT(A1,2))

Hope this helps.
--
John C


"FARAZ QURESHI" wrote:

I have used quite some scheme of formulas like left(), right() to extract the
"numbers" from a list of codes but they turn out to be in text form. Any idea
how to use some sort of =Text() like function so as to convert the extracted
figures to numbers?

--
Best Regards,
FARAZ A. QURESHI

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default CONVERT TEXT 2 NUMBERS

Use the =VALUE(TextValue) to convert numbers appearing as text to their
numeric value. The example below converts the test string in A1 to a value:

=VALUE(A1)


--
Kevin Backmann


"FARAZ QURESHI" wrote:

I have used quite some scheme of formulas like left(), right() to extract the
"numbers" from a list of codes but they turn out to be in text form. Any idea
how to use some sort of =Text() like function so as to convert the extracted
figures to numbers?

--
Best Regards,
FARAZ A. QURESHI

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default CONVERT TEXT 2 NUMBERS

Hi,

With this in A1
q2q

=Mid(a1,2,1)
extracts the 2 and you can still do arithmatic on it

If you want it to right justify like a number multiply it by 1

=Mid(a1,2,1)*1

Mike


"FARAZ QURESHI" wrote:

I have used quite some scheme of formulas like left(), right() to extract the
"numbers" from a list of codes but they turn out to be in text form. Any idea
how to use some sort of =Text() like function so as to convert the extracted
figures to numbers?

--
Best Regards,
FARAZ A. QURESHI

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default CONVERT TEXT 2 NUMBERS

use =value(left(text,num_char))


On Oct 14, 4:23*pm, FARAZ QURESHI
wrote:
I have used quite some scheme of formulas like left(), right() to extract the
"numbers" from a list of codes but they turn out to be in text form. Any idea
how to use some sort of =Text() like function so as to convert the extracted
figures to numbers?

--
Best Regards,
FARAZ A. QURESHI




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default CONVERT TEXT 2 NUMBERS

The easy option is to use the double unary minus.

=LEFT(A2) gives text, but =--LEFT(A2) would give a number (providing, of
course, that the text was numerical).
--
David Biddulph

"FARAZ QURESHI" wrote in message
...
I have used quite some scheme of formulas like left(), right() to extract
the
"numbers" from a list of codes but they turn out to be in text form. Any
idea
how to use some sort of =Text() like function so as to convert the
extracted
figures to numbers?

--
Best Regards,
FARAZ A. QURESHI



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default CONVERT TEXT 2 NUMBERS

Yet another way is to add zero to the text value (as long as it is
purely made up of numbers):

=LEFT(A1,3)+0

Hope this helps.

Pete

On Oct 14, 12:23*pm, FARAZ QURESHI
wrote:
I have used quite some scheme of formulas like left(), right() to extract the
"numbers" from a list of codes but they turn out to be in text form. Any idea
how to use some sort of =Text() like function so as to convert the extracted
figures to numbers?

--
Best Regards,
FARAZ A. QURESHI


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert numbers stored as numbers to text GemmaEiduks Excel Worksheet Functions 3 July 24th 06 09:02 PM
Convert numbers stored as text to numbers Excel 2000 Darlene Excel Discussion (Misc queries) 6 January 31st 06 08:04 PM
convert numbers to text. tech1pc Excel Worksheet Functions 2 June 21st 05 07:49 PM
How do I convert numbers stored as text with spaces to numbers Baffuor Excel Discussion (Misc queries) 1 May 24th 05 07:39 AM
How to convert Excel imported numbers from text to numbers? Alden Excel Discussion (Misc queries) 9 April 1st 05 09:51 PM


All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"