Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have data like these: 123ABC, 456EFG
Is there any way to return just number from those cells? How to do it? Thx. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() JJ;221872 Wrote: I have data like these: 123ABC, 456EFG Is there any way to return just number from those cells? How to do it? Thx. If it just 3 numbers always to the left, then use =LEFT(A1,3) or =LEFT(A1,3)*1 to format it to a number -- oldchippy ------------------------------------------------------------------------ oldchippy's Profile: http://www.thecodecage.com/forumz/member.php?userid=111 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=61197 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming the number is always in the beginning of the text...
=LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99))) If the referenced cell could be blank, then use this... =IF(A1="","",LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99)))) to suppress the error message when the referenced cell is empty. -- Rick (MVP - Excel) "JJ" wrote in message ... I have data like these: 123ABC, 456EFG Is there any way to return just number from those cells? How to do it? Thx. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
If they are consistantly 3 numbers followed by 3 letters, you can 1. Choose the Data, Text to Columns command and follow the wizard 2. =--LEFT(A1,3) -- If this helps, please click the Yes button Cheers, Shane Devenshire "JJ" wrote: I have data like these: 123ABC, 456EFG Is there any way to return just number from those cells? How to do it? Thx. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Just for clarification... the formula I posted will retrieve a numbers of varying number of digits from the front of the text. If, as others have pointed out, your data is always 3-digits long, then use the LEFT function to get it...
=--LEFT(A1,3) where the double minus sign turns the text number returned by the LEFT function into a real number. -- Rick (MVP - Excel) "Rick Rothstein" wrote in message ... Assuming the number is always in the beginning of the text... =LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99))) If the referenced cell could be blank, then use this... =IF(A1="","",LOOKUP(9.9E+307,--LEFT(A1,ROW($1:$99)))) to suppress the error message when the referenced cell is empty. -- Rick (MVP - Excel) "JJ" wrote in message ... I have data like these: 123ABC, 456EFG Is there any way to return just number from those cells? How to do it? Thx. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula to change scientific number to regular number or text | Excel Discussion (Misc queries) | |||
Counting a mixed text/number column based on text in another colum | Excel Discussion (Misc queries) | |||
convert text-format number to number in excel 2000%3f | Excel Discussion (Misc queries) | |||
Why does this fail? =TEXT(RC3,Number)&" / "&TEXT(R32C,Number) | Excel Worksheet Functions | |||
not able to convert text, or graphic number to regular number in e | Excel Worksheet Functions |