ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   extracting data from one cell to another (https://www.excelbanter.com/excel-worksheet-functions/262866-extracting-data-one-cell-another.html)

pat67

extracting data from one cell to another
 
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?

Bob Phillips[_4_]

extracting data from one cell to another
 
Try

=MID(A2,FIND("QN ",A2),14)

and copy down

--

HTH

Bob

"pat67" wrote in message
...
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?




Jeff

extracting data from one cell to another
 
=Left(A1,14)

Pulls the first 14 characters from the cell.

Jeff

"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?
.


Jacob Skaria

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?
.


pat67

extracting data from one cell to another
 
On Apr 30, 10:54*am, Jacob Skaria
wrote:
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?
.- Hide quoted text -


- Show quoted text -


I do so that won't work

pat67

extracting data from one cell to another
 
On Apr 30, 10:46*am, Jeff wrote:
=Left(A1,14)

Pulls the first 14 characters from the cell.

Jeff



"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?
.- Hide quoted text -


- Show quoted text -


can't use left, the QN could be anywhere in the text

pat67

extracting data from one cell to another
 
On Apr 30, 10:42*am, "Bob Phillips"
wrote:
Try

=MID(A2,FIND("QN ",A2),14)

and copy down

--

HTH

Bob

"pat67" wrote in message

...



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?- Hide quoted text -


- Show quoted text -


I will try this

pat67

extracting data from one cell to another
 
On Apr 30, 10:42*am, "Bob Phillips"
wrote:
Try

=MID(A2,FIND("QN ",A2),14)

and copy down

--

HTH

Bob

"pat67" wrote in message

...



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?- Hide quoted text -


- Show quoted text -


this works. almost always. It would all the time but i am dealing with
morons.

Thanks

Bob Phillips[_4_]

extracting data from one cell to another
 
What are the morons doing?

--

HTH

Bob

"pat67" wrote in message
...
On Apr 30, 10:42 am, "Bob Phillips"
wrote:
Try

=MID(A2,FIND("QN ",A2),14)

and copy down

--

HTH

Bob

"pat67" wrote in message

...



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?- Hide quoted
text -


- Show quoted text -


this works. almost always. It would all the time but i am dealing with
morons.

Thanks




All times are GMT +1. The time now is 11:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com