View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Maax Maax is offline
external usenet poster
 
Posts: 12
Default spliting data in a cell

Hi Ron, many thanks i will give that a try.

"Ron Rosenfeld" wrote:

On Mon, 12 Mar 2007 08:06:54 -0700, Maax
wrote:

Hello all, i have a cell that has a partnumber in it and a revision
number. As in "1234567/A". The part number and issue can be in any format and
any length(numbers or letters in any order). There is always a "/" to
seperate the part number from the revision. I require a formula/code that
will copy the part number prior to the "/" in to a cell and also i require
the revision after the "/" to another cell.

Any help would be appreciated.

many thanks


1. You could use, instead of a formula, Data/Text to Columns and specify the
"/" as the delimiter.

If you require formulas:

Part Number: =LEFT(A1,FIND("/",A1)-1)
Revision: =MID(A1,FIND("/",A1)+1,255)


--ron