Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The following data is in cells A1,A2.
16K (C7) 7K (C4) I need to extract 16 and 7 into different cells. =LEFT(A1,2) handles the 16. =LEFT(A2) handles the 7. What is the formula for handling single and double digits please? Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One way:
=LEFT(A2,FIND("K",A2)-1) HTH, Paul "Saxman" wrote in message ... The following data is in cells A1,A2. 16K (C7) 7K (C4) I need to extract 16 and 7 into different cells. =LEFT(A1,2) handles the 16. =LEFT(A2) handles the 7. What is the formula for handling single and double digits please? Thanks. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
2 ways
=left(A1,len(a1)-1) - results in text if it's always a "k" =SUBSTITUTE(A1,"k","") - also results in text If you want the result to be a number, do something like =SUBSTITUTE(A1,"k","")*1 "Saxman" wrote: The following data is in cells A1,A2. 16K (C7) 7K (C4) I need to extract 16 and 7 into different cells. =LEFT(A1,2) handles the 16. =LEFT(A2) handles the 7. What is the formula for handling single and double digits please? Thanks. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
PCLIVE wrote:
One way: =LEFT(A2,FIND("K",A2)-1) This works perfectly. Thanks to all. I must compliment the 'experts' on this group for their dedicated support. A really useful group. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Another way would be to do Data TextToColumns and use K as the delimiter
and choosing not to import the data to the right...........the beauty of this method is that it does not require a helper column. Vaya con Dios, Chuck, CABGx3 "Saxman" wrote: The following data is in cells A1,A2. 16K (C7) 7K (C4) I need to extract 16 and 7 into different cells. =LEFT(A1,2) handles the 16. =LEFT(A2) handles the 7. What is the formula for handling single and double digits please? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reusing formula | Excel Discussion (Misc queries) | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |