A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

split the content of cell



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2010, 07:58 AM posted to microsoft.public.excel.worksheet.functions
Cosmic
external usenet poster
 
Posts: 6
Default split the content of cell

how do we split the content of one cell into two cells
example :

6'X3' = 6 and 3

  #2  
Old May 28th, 2010, 09:26 AM posted to microsoft.public.excel.worksheet.functions
Stefi
external usenet poster
 
Posts: 1,841
Default split the content of cell

Left part:
=LOOKUP(6.022*10^23,--LEFT(A1,ROW(INDIRECT("1:"&LEN(A1)))))
Right part:
=LOOKUP(6.022*10^23,--RIGHT(SUBSTITUTE(A1,"'",""),ROW(INDIRECT("1:"&LEN( SUBSTITUTE(A1,"'",""))))))


--
Regards!
Stefi



„cosmic” ezt *rta:

how do we split the content of one cell into two cells
example :

6'X3' = 6 and 3

  #3  
Old May 28th, 2010, 10:16 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default split the content of cell

Try

=--SUBSTITUTE(LEFT(A1,SEARCH("X",A1)-1),"'",)

=--SUBSTITUTE(MID(A1,SEARCH("X",A1)+1,10),"'",)


--
Jacob (MVP - Excel)


"cosmic" wrote:

how do we split the content of one cell into two cells
example :

6'X3' = 6 and 3

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.