Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default separate text and number

dear sir

in Cell A1 is "rajulu1234". i want in cell B1 "rajulu" & cell C1 "1234".
please help me.

thanks advance.

raju
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default separate text and number

Hi Raju

One way..

In B1
=LEFT(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123 456789"))-1)

In C1
=SUBSTITUTE(A1,B1,)

--
Jacob (MVP - Excel)


"raju" wrote:

dear sir

in Cell A1 is "rajulu1234". i want in cell B1 "rajulu" & cell C1 "1234".
please help me.

thanks advance.

raju

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default separate text and number

Give these formulas a try...

B1: =LEFT(A1,LEN(A1)-LEN(C1))

C1: =LOOKUP(9E+307,--RIGHT(A1,ROW($1:$99)))

Note: When you put the first formula into B1, it will initially display the
entire contents of A1 **until** you put the other formula into C1.

--
Rick (MVP - Excel)



"raju" wrote in message
...
dear sir

in Cell A1 is "rajulu1234". i want in cell B1 "rajulu" & cell C1 "1234".
please help me.

thanks advance.

raju


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default separate text and number

In C1: =LOOKUP(10^10,--RIGHT(A1,ROW(1:99)))

In B1: =SUBSTITUTE(A1,C1,)



"raju" wrote:

dear sir

in Cell A1 is "rajulu1234". i want in cell B1 "rajulu" & cell C1 "1234".
please help me.

thanks advance.

raju

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 464
Default separate text and number

Try: http://www.ozgrid.com/VBA/ExtractNum.htm to pull the number into C1,
then: =SUBSTITUTE(A1,C1,"") in B1



--
Regards
Dave Hawley
www.ozgrid.com
"raju" wrote in message
...
dear sir

in Cell A1 is "rajulu1234". i want in cell B1 "rajulu" & cell C1 "1234".
please help me.

thanks advance.

raju




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
How I can separate text and number in one column from each others Mr. Most Excel Discussion (Misc queries) 3 February 23rd 09 03:25 AM
separate two dates from a text string into two separate cells Tacrier Excel Discussion (Misc queries) 3 October 13th 08 08:53 PM
How to split number and text string to separate cells? Lai704 Excel Discussion (Misc queries) 4 September 29th 08 02:18 AM
Trying to put a dash- in my formula to separate a number&name bearingpg Excel Worksheet Functions 2 October 24th 07 08:38 PM
separate a text cell to many number cells Khoshravan[_2_] Excel Worksheet Functions 1 July 19th 07 11:22 PM


All times are GMT +1. The time now is 05:17 PM.

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

About Us

"It's about Microsoft Excel"