Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default delete numbers in each cell in same column

Is there an easy way to just delete the first two numbers in each cell all
the way down the column? i.e. 123456789 to 3456789? Would I have to create
a helper column; put in a formula for the removal of the first two numbers
then cut and paste on the column I want to adjust? If so, can you tell me
specifically how to do this and why I am this specific formula to achieve
this action....... Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default delete numbers in each cell in same column

You could use a formula=RIGHT(A6,LEN(A6)-2) and copy down in a helper
column.
OR
sub droptwo()
mc="a" 'column A
for i=1 to cells(rows.count,mc).end(xlup).row
cells(i,mc).value=right(cells(i,mc),len(cells(i,mc )-2)
next i
end sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Anna Huber" <Anna Huber @discussions.microsoft.com wrote in message
...
Is there an easy way to just delete the first two numbers in each cell all
the way down the column? i.e. 123456789 to 3456789? Would I have to
create
a helper column; put in a formula for the removal of the first two numbers
then cut and paste on the column I want to adjust? If so, can you tell me
specifically how to do this and why I am this specific formula to achieve
this action....... Thank you!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default delete numbers in each cell in same column

Thank you for the quickk response. I need this in lay men's terms to
understand...step by step. If you are able to do so, I would greatly
appreciate it!

"Don Guillett" wrote:

You could use a formula=RIGHT(A6,LEN(A6)-2) and copy down in a helper
column.
OR
sub droptwo()
mc="a" 'column A
for i=1 to cells(rows.count,mc).end(xlup).row
cells(i,mc).value=right(cells(i,mc),len(cells(i,mc )-2)
next i
end sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Anna Huber" <Anna Huber @discussions.microsoft.com wrote in message
...
Is there an easy way to just delete the first two numbers in each cell all
the way down the column? i.e. 123456789 to 3456789? Would I have to
create
a helper column; put in a formula for the removal of the first two numbers
then cut and paste on the column I want to adjust? If so, can you tell me
specifically how to do this and why I am this specific formula to achieve
this action....... Thank you!



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default delete numbers in each cell in same column

With your data in Col A try the below in B1 and copy down as required

=MID(A1,3,LEN(A1))+0

If this post helps click Yes
---------------
Jacob Skaria


"Anna Huber" wrote:

Is there an easy way to just delete the first two numbers in each cell all
the way down the column? i.e. 123456789 to 3456789? Would I have to create
a helper column; put in a formula for the removal of the first two numbers
then cut and paste on the column I want to adjust? If so, can you tell me
specifically how to do this and why I am this specific formula to achieve
this action....... Thank you!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default delete numbers in each cell in same column

So if I type/cut & paste this formula into B1 and then "copy down as
required" (how do I achieve the "copy down as required?) this will remove the
first two digits in each cell below B1 for the entire column?


"Jacob Skaria" wrote:

With your data in Col A try the below in B1 and copy down as required

=MID(A1,3,LEN(A1))+0

If this post helps click Yes
---------------
Jacob Skaria


"Anna Huber" wrote:

Is there an easy way to just delete the first two numbers in each cell all
the way down the column? i.e. 123456789 to 3456789? Would I have to create
a helper column; put in a formula for the removal of the first two numbers
then cut and paste on the column I want to adjust? If so, can you tell me
specifically how to do this and why I am this specific formula to achieve
this action....... Thank you!

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default delete numbers in each cell in same column

If you have data in cell A1 as 123456789 copy paste the formula in B1 will
return 3456789. Once done you can ........

1. Copy the cell B1 (not the formula). Select the range down. Keeping the
selection Right clickPaste SpecialFormulasOK

OR

2. Select B1. Click the selection handle. Drag as required.

OR

3. Select B1. Copy cell. Select the range down. Press Enter


If this post helps click Yes
---------------
Jacob Skaria


"Anna Huber" wrote:

So if I type/cut & paste this formula into B1 and then "copy down as
required" (how do I achieve the "copy down as required?) this will remove the
first two digits in each cell below B1 for the entire column?


"Jacob Skaria" wrote:

With your data in Col A try the below in B1 and copy down as required

=MID(A1,3,LEN(A1))+0

If this post helps click Yes
---------------
Jacob Skaria


"Anna Huber" wrote:

Is there an easy way to just delete the first two numbers in each cell all
the way down the column? i.e. 123456789 to 3456789? Would I have to create
a helper column; put in a formula for the removal of the first two numbers
then cut and paste on the column I want to adjust? If so, can you tell me
specifically how to do this and why I am this specific formula to achieve
this action....... Thank you!

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default delete numbers in each cell in same column

You can use TTC and not have to use formulas or helper columns.

Select the data in the column, then, from the Menu Bar,
<Data <Text To Columns <Fixed Width <Next,

In the second step of the Wizard, click in the "Data Preview" window to
place the break line between the 2nd and 3rd digits.

Then <Next

In the 3rd step of the Wizard, you'll see that the first 2 numbers are
selected (colored black), and in their own column.

NOW, click on "Do Not Import - Skip", which will skip that selected column
containing the first 2 numbers.

Finally click <Finish, and you're done.

Your numbers, minus the first two digits, are all that remain in the Column.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"Anna Huber" <Anna Huber @discussions.microsoft.com wrote in message
...
Is there an easy way to just delete the first two numbers in each cell all
the way down the column? i.e. 123456789 to 3456789? Would I have to
create
a helper column; put in a formula for the removal of the first two numbers
then cut and paste on the column I want to adjust? If so, can you tell me
specifically how to do this and why I am this specific formula to achieve
this action....... Thank you!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy column header to next column, delete & delete every nth colum genehunter New Users to Excel 1 June 2nd 09 03:57 PM
To delete paired numbers or pickup last cell for each item Salman Excel Discussion (Misc queries) 0 March 31st 09 04:21 PM
how to delete repeated numbers in a column, make it apears once sam Excel Discussion (Misc queries) 1 April 3rd 08 06:33 PM
HOW DO I DELETE NUMBERS IN A COLUMN out of each cell Completely Confused New Users to Excel 2 September 13th 06 09:23 PM
How do I delete numbers in a cell Therese Excel Discussion (Misc queries) 2 December 1st 05 10:22 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"