Remember Me?

#1
November 28th 09, 04:46 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Nov 2009 Posts: 2
how do I extract the last three digits from each cell in column?

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
November 28th 09, 04:54 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Jul 2006 Posts: 594
how do I extract the last three digits from each cell in column?

=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

#3
November 28th 09, 04:55 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Jul 2006 Posts: 3,101
how do I extract the last three digits from each cell in column?

=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

#4
November 28th 09, 05:45 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Mar 2009 Posts: 8,521
how do I extract the last three digits from each cell in column?

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

#5
November 28th 09, 08:01 PM posted to microsoft.public.excel.misc
 external usenet poster First recorded activity by ExcelBanter: Nov 2006 Posts: 15,768
how do I extract the last three digits from each cell in column?

A1 = text program 001

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
column for all cells in the first column.
Thanks!
PeggyT

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post PeggyT Excel Discussion (Misc queries) 2 November 28th 09 08:06 PM pol Excel Discussion (Misc queries) 4 October 16th 08 07:21 AM preydd Excel Worksheet Functions 2 September 3rd 08 04:32 PM Rob Excel Worksheet Functions 6 April 21st 07 11:45 PM prs_013 Excel Worksheet Functions 3 March 17th 06 08:14 AM

All times are GMT +1. The time now is 02:12 PM.