Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
mns mns is offline
external usenet poster
 
Posts: 23
Default Seperating numbers from text

Hi,
I am working on an excel file which has a column that contains product names
+ serial numbers. Dont know how but someone combined that data. they used to
be in different columns but now they are in same column and have no spaces
between them.
cells have names like this,
productname1345

is there any easy way to scan through the coulmn and at least seperate the
data like
productname 1345

after this step i think i can handle it:)

thanx for help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Seperating numbers from text

Hi,

With your string in A1 put this in C1 to extract the numbers
=LOOKUP(10^23,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0 123456789")),ROW($1:$10000))))

Put this in B1 for the name
=LEFT(A1,LEN(A1)-LEN(C1))

Mike

"mns" wrote:

Hi,
I am working on an excel file which has a column that contains product names
+ serial numbers. Dont know how but someone combined that data. they used to
be in different columns but now they are in same column and have no spaces
between them.
cells have names like this,
productname1345

is there any easy way to scan through the coulmn and at least seperate the
data like
productname 1345

after this step i think i can handle it:)

thanx for help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Seperating numbers from text

=LOOKUP(99^99,--("0"&MID(A10,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A10& "0123456789")),ROW(INDIRECT("1:"&LEN(A10))))))

and

=TRIM(SUBSTITUTE(A10,B10,""))

--
__________________________________
HTH

Bob

"mns" wrote in message
...
Hi,
I am working on an excel file which has a column that contains product
names
+ serial numbers. Dont know how but someone combined that data. they used
to
be in different columns but now they are in same column and have no spaces
between them.
cells have names like this,
productname1345

is there any easy way to scan through the coulmn and at least seperate the
data like
productname 1345

after this step i think i can handle it:)

thanx for help.



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
Seperating Text from Columns Greg Wilson Excel Discussion (Misc queries) 0 March 28th 07 02:50 AM
Seperating Text from Columns Johnny B[_2_] Excel Discussion (Misc queries) 0 March 28th 07 01:16 AM
Seperating text Richard Excel Discussion (Misc queries) 8 June 29th 06 10:21 PM
Seperating Numbers from Letters in Excel Tel Excel Worksheet Functions 7 March 23rd 06 11:36 PM
Seperating text if there's more than a one space between them Joey Excel Discussion (Misc queries) 3 January 17th 06 07:41 PM


All times are GMT +1. The time now is 03:42 AM.

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"