ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I need to extract the first 3 digits from a cell (ex: AAG12345)? (https://www.excelbanter.com/excel-worksheet-functions/139886-i-need-extract-first-3-digits-cell-ex-aag12345.html)

Rob

I need to extract the first 3 digits from a cell (ex: AAG12345)?
 
I have 26,000 cells that I need to extract just the first 3 digits of the
cell. For example, the cell reads AAG122345 and I need a new cell that only
reads "AAG". How can I do this?

Ron Coderre

I need to extract the first 3 digits from a cell (ex: AAG12345)?
 
Try this

With
A1:A100 containing text entries
and
you want the 1st 3 characters extracted into a new list beginning in cell D1

Then

Select A1:A100

From the Excel main menu
<data<text to columns
Check: Fixed Width............Click [next]
Insert a break point after the 3rd character............Click [next]
Select the 2nd column and Check: Do not import column
Destination: D1
Click [Finish]

That will copy the 1st 3 characters from A1:A100 into a new list beginning
in cell D1

Does that help?

Regards,

Ron

"Rob" wrote in message
...
I have 26,000 cells that I need to extract just the first 3 digits of the
cell. For example, the cell reads AAG122345 and I need a new cell that
only
reads "AAG". How can I do this?




Rob

I need to extract the first 3 digits from a cell (ex: AAG12345
 
Ron,

Perfect! Thanks for your help!

Rob

"Ron Coderre" wrote:

Try this

With
A1:A100 containing text entries
and
you want the 1st 3 characters extracted into a new list beginning in cell D1

Then

Select A1:A100

From the Excel main menu
<data<text to columns
Check: Fixed Width............Click [next]
Insert a break point after the 3rd character............Click [next]
Select the 2nd column and Check: Do not import column
Destination: D1
Click [Finish]

That will copy the 1st 3 characters from A1:A100 into a new list beginning
in cell D1

Does that help?

Regards,

Ron

"Rob" wrote in message
...
I have 26,000 cells that I need to extract just the first 3 digits of the
cell. For example, the cell reads AAG122345 and I need a new cell that
only
reads "AAG". How can I do this?





David Biddulph[_2_]

I need to extract the first 3 digits from a cell (ex: AAG12345)?
 
=LEFT(A1,3)
--
David Biddulph

"Rob" wrote in message
...
I have 26,000 cells that I need to extract just the first 3 digits of the
cell. For example, the cell reads AAG122345 and I need a new cell that
only
reads "AAG". How can I do this?




Ron Coderre

I need to extract the first 3 digits from a cell (ex: AAG12345
 
I'm glad that worked for you......and thanks for the feedback!


***********
Regards,
Ron

XL2002, WinXP


"Rob" wrote:

Ron,

Perfect! Thanks for your help!

Rob

"Ron Coderre" wrote:

Try this

With
A1:A100 containing text entries
and
you want the 1st 3 characters extracted into a new list beginning in cell D1

Then

Select A1:A100

From the Excel main menu
<data<text to columns
Check: Fixed Width............Click [next]
Insert a break point after the 3rd character............Click [next]
Select the 2nd column and Check: Do not import column
Destination: D1
Click [Finish]

That will copy the 1st 3 characters from A1:A100 into a new list beginning
in cell D1

Does that help?

Regards,

Ron

"Rob" wrote in message
...
I have 26,000 cells that I need to extract just the first 3 digits of the
cell. For example, the cell reads AAG122345 and I need a new cell that
only
reads "AAG". How can I do this?





Stan Brown

I need to extract the first 3 digits from a cell (ex: AAG12345)?
 
Sat, 21 Apr 2007 07:48:01 -0700 from Rob
:
I have 26,000 cells that I need to extract just the first 3 digits of the
cell. For example, the cell reads AAG122345 and I need a new cell that only
reads "AAG". How can I do this?


Assuming those cells are in A1 through A26000, put this in B1:
=left(A1,3)
then click and drag that formula to the other 25999 cells in column
B.

CLR

I need to extract the first 3 digits from a cell (ex: AAG12345)?
 
ASAP Utilities, a free add-in available at www.asap-utilities.com has a
feature that will delete all numeric characters from a string, leaving you
with only the three alpha characters...........

Vaya con Dios,
Chuck, CABGx3


"Rob" wrote in message
...
I have 26,000 cells that I need to extract just the first 3 digits of the
cell. For example, the cell reads AAG122345 and I need a new cell that

only
reads "AAG". How can I do this?





All times are GMT +1. The time now is 09:34 AM.

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