View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default extracting data from one cell to another

Try the below...This might go wrong if you have multiple instances of the
text "QN "

With text in cell A1

=IF(ISNUMBER(FIND("QN ",A1)),MID(A1,FIND("QN ",A1),14),"")

--
Jacob (MVP - Excel)


"pat67" wrote:

I have a sheet that i downloaded from our erp system that has one
column with text. the text is long and descriptive. the only thing is
the same is that there is one piece that starts with QN then a blank
then 11 numbers like this. QN 40000152489. What i want to do is pull
that from the text cell to another cell. Is that possible?
.