Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am using excel 2007. Each cell in a column contain varied length of data
but ends with "Program ###". I would like to extract ### into an adjacent column for all cells in the first column. Thanks! PeggyT |
#2
![]() |
|||
|
|||
![]()
Hi PeggyT,
You can use the Formula:
This should extract the last three digits from each cell in the first column and display them in the adjacent column. Let me know if you have any questions or if there's anything else I can help you with.
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=RIGHT(A1,3) and copy down
Vaya con Dios, Chuck, CABGx3 "PeggyT" wrote in message ... I am using excel 2007. Each cell in a column contain varied length of data but ends with "Program ###". I would like to extract ### into an adjacent column for all cells in the first column. Thanks! PeggyT |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=RIGHT(A1,3)
"PeggyT" wrote: I am using excel 2007. Each cell in a column contain varied length of data but ends with "Program ###". I would like to extract ### into an adjacent column for all cells in the first column. Thanks! PeggyT |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
To extract that as a number instead of text; try
=--RIGHT(A1,3) or =VALUE(RIGHT(A1,3)) If this post helps click Yes --------------- Jacob Skaria "PeggyT" wrote: I am using excel 2007. Each cell in a column contain varied length of data but ends with "Program ###". I would like to extract ### into an adjacent column for all cells in the first column. Thanks! PeggyT |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A1 = text program 001
Your formulas return 1. If you want the number extracted as a numeric number and to retain the 3 digit format then you'll have to use a custom number format like 000 to display the leading 0s. Note that when doing this the leading 0s are for display purposes only. The true value of the cell will be numeric 1. -- Biff Microsoft Excel MVP "Jacob Skaria" wrote in message ... To extract that as a number instead of text; try =--RIGHT(A1,3) or =VALUE(RIGHT(A1,3)) If this post helps click Yes --------------- Jacob Skaria "PeggyT" wrote: I am using excel 2007. Each cell in a column contain varied length of data but ends with "Program ###". I would like to extract ### into an adjacent column for all cells in the first column. Thanks! PeggyT |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
cells of varied length extract last 3 digits | Excel Discussion (Misc queries) | |||
To extract the number if there is niumeric in right most digits | Excel Discussion (Misc queries) | |||
how to extract digits from a row of numbers | Excel Worksheet Functions | |||
I need to extract the first 3 digits from a cell (ex: AAG12345)? | Excel Worksheet Functions | |||
how do I extract hex digits in a cell and convert to binary | Excel Worksheet Functions |