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  

extracting data from one cell to another



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2010, 03:05 PM posted to microsoft.public.excel.worksheet.functions
pat67
external usenet poster
 
Posts: 137
Default 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?
  #2  
Old April 30th, 2010, 03:42 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
Default 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?



  #3  
Old April 30th, 2010, 03:46 PM posted to microsoft.public.excel.worksheet.functions
Jeff
external usenet poster
 
Posts: 1,347
Default 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?
.

  #4  
Old April 30th, 2010, 03:54 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
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?
.

  #5  
Old April 30th, 2010, 09:44 PM posted to microsoft.public.excel.worksheet.functions
pat67
external usenet poster
 
Posts: 137
Default 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
  #6  
Old April 30th, 2010, 09:44 PM posted to microsoft.public.excel.worksheet.functions
pat67
external usenet poster
 
Posts: 137
Default 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
  #7  
Old April 30th, 2010, 09:45 PM posted to microsoft.public.excel.worksheet.functions
pat67
external usenet poster
 
Posts: 137
Default 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
  #8  
Old April 30th, 2010, 09:49 PM posted to microsoft.public.excel.worksheet.functions
pat67
external usenet poster
 
Posts: 137
Default 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
  #9  
Old April 30th, 2010, 11:50 PM posted to microsoft.public.excel.worksheet.functions
Bob Phillips[_3_]
external usenet poster
 
Posts: 489
Default 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


 




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 05:44 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.