Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 155
Default Split numbers and text

Hi i have a spreadsheet which shows numbers and text:-
e.g
1FIC-2
16TIC-14/1
129IL-123B

I need to show the first number in one column, floowed by the rest in
another column.
e.g
1 FIC-2
16 TIC-14/1
129 IL-123B

Any help would be appreciated
Graham
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Split numbers and text

Graham,

Lets assume your first number is in a1, put this in b1

=LOOKUP(6.022*10^23,--LEFT(A1,ROW(INDIRECT("1:"&LEN(A1)))))

Then this in C1
=RIGHT(A1,LEN(A1)-LEN((B1)))

Drag both down. Note the second formula is dependent on the first so if you
put the first in a cell other than b1 be sure to refer to that cell in the
second formula.

Mike



"Graham" wrote:

Hi i have a spreadsheet which shows numbers and text:-
e.g
1FIC-2
16TIC-14/1
129IL-123B

I need to show the first number in one column, floowed by the rest in
another column.
e.g
1 FIC-2
16 TIC-14/1
129 IL-123B

Any help would be appreciated
Graham

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default Split numbers and text

with slightly adjusted formulae posted yesterday by Teethless Mama:

numbers:
=LEFT(A1,MIN(IF(ISERROR(FIND(CHAR(ROW(INDIRECT("65 :90"))),A1)),"",FIND
(CHAR(ROW(IND*IRECT("65:90"))),A1)))-1 )

"the rest":
=RIGHT(A1,LEN(A1)-MIN(IF(ISERROR(FIND(CHAR(ROW(INDIRECT
("65:90"))),A1)),"",FIND(CHAR(ROW(IND*IRECT("65:90 "))),A1)))+1))

array-enter these formulae i.e. CTRL+SHIFT+ENTER

HIH


On 4 Lis, 10:08, Graham wrote:
Hi i have a spreadsheet which shows numbers and text:-
e.g
1FIC-2
16TIC-14/1
129IL-123B

I need to show the first number in one column, floowed by the rest in
another column.
e.g
1 * * *FIC-2
16 * *TIC-14/1
129 *IL-123B

Any help would be appreciated
Graham


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
split text and numbers into separate cells Julie Excel Discussion (Misc queries) 5 April 2nd 23 07:11 PM
Split numbers and text from 1 column into 2 columns Kevin K[_2_] Excel Discussion (Misc queries) 0 April 25th 08 06:55 PM
split range of numbers in two columns to as many as numbers in ran arsovat Excel Discussion (Misc queries) 2 October 30th 06 03:57 PM
Split off numbers Mike R Excel Discussion (Misc queries) 4 September 24th 05 06:03 PM
How do I split a column having numbers and text in a random order rana8689 Excel Worksheet Functions 2 December 17th 04 09:14 PM


All times are GMT +1. The time now is 05:52 AM.

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"