Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
FFB PFK
 
Posts: n/a
Default Splitting an Excel cell

I am trying to figure out to split a cell formated with a numeric and alpha
format. For example, the format is "10100 Accounts Payable"

I want to split the cells to "10100" (1st cell) then "Accounts Payable" (2nd
cell).

I have 2,700 cells to split, so I need efficient commands. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David Billigmeier
 
Posts: n/a
Default Splitting an Excel cell

Assume your original values are in column A starting on row 1:

In B1: =LEFT(A1,SEARCH(" ",A1)-1)
In C1: =SUBSTITUTE(A1,B1&" ","")

--
Regards,
Dave


"FFB PFK" wrote:

I am trying to figure out to split a cell formated with a numeric and alpha
format. For example, the format is "10100 Accounts Payable"

I want to split the cells to "10100" (1st cell) then "Accounts Payable" (2nd
cell).

I have 2,700 cells to split, so I need efficient commands. Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Gord Dibben
 
Posts: n/a
Default Splitting an Excel cell

Any rhyme or reason to the numbers?

All 5 digit or not?

DataText to Columns will do the trick using Fixed Width if all digits are
same length.


Gord Dibben Excel MVP

On Tue, 20 Dec 2005 12:06:02 -0800, "FFB PFK" <FFB
wrote:

I am trying to figure out to split a cell formated with a numeric and alpha
format. For example, the format is "10100 Accounts Payable"

I want to split the cells to "10100" (1st cell) then "Accounts Payable" (2nd
cell).

I have 2,700 cells to split, so I need efficient commands. Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ashish Mathur
 
Posts: n/a
Default Splitting an Excel cell

Hi,

You may try the following array formula (Ctrl+****+Enter)

Assume that "10100 Accounts payable" is entered in cell A14. In B14 enter
the following array formula

=1*MID(A14,MATCH(TRUE,ISNUMBER(1*MID(A14,ROW($1:$1 9),1)),0),COUNT(1*MID(A14,ROW($1:$19),1))+IF(ISNUM BER(MATCH(".",MID(A14,ROW($1:$19),1),0)),1,0))

In cell D14, enter the following array formula

=MID(A14,MATCH(TRUE,ISERROR(1*MID(A14,ROW($1:$51), 1)),0),100+IF(ISERROR(MATCH(".",1*MID(A14,ROW($1:$ 51),1),0)),1,0))

I hop this helps. Please let me know if you need any further help on this.

My e-mail address is

Regards,


"FFB PFK" wrote:

I am trying to figure out to split a cell formated with a numeric and alpha
format. For example, the format is "10100 Accounts Payable"

I want to split the cells to "10100" (1st cell) then "Accounts Payable" (2nd
cell).

I have 2,700 cells to split, so I need efficient commands. Thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Krishnakumar
 
Posts: n/a
Default Splitting an Excel cell


Hi,

Another option..

In B1,

=LOOKUP(9.999999999E+307,--MID(A1,1,ROW($1:$1024)))

In C1,

=TRIM(SUBSTITUTE(A1,B1,""))

HTH


--
Krishnakumar


------------------------------------------------------------------------
Krishnakumar's Profile: http://www.excelforum.com/member.php...o&userid=20138
View this thread: http://www.excelforum.com/showthread...hreadid=494996

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
cell on one page equals cell on another page in excel? toswald Excel Worksheet Functions 1 September 26th 05 08:52 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
How Can I make a cell flash in Excel monir Excel Discussion (Misc queries) 0 February 4th 05 03:41 AM
Excel: how to formulate conditional cell references centraloffice Excel Worksheet Functions 1 December 10th 04 08:57 PM
Paste rows of numbers from Word into single Excel cell BecG Excel Discussion (Misc queries) 1 December 8th 04 04:55 PM


All times are GMT +1. The time now is 09:48 PM.

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"