how to remove last two alphabets from numberics

sivanandan dinesh

New Member
Joined
Mar 16, 2011
Messages
4
how to remove last two alphabets from numberics out of the following combination ? <table width="122" border="0" cellpadding="0" cellspacing="0" height="18"><col width="122"><tr height="17"> <td class="xl66" style="height: 12.75pt; width: 92pt;" width="122" height="17"> <table width="107" border="0" cellpadding="0" cellspacing="0"><col style="width: 80pt;" width="107"> <tbody><tr style="height: 12.75pt;" height="17"> <td class="xl65" style="height: 12.75pt; width: 80pt;" width="107" height="17">334,038,639.69Dr</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl65" style="height: 12.75pt;" height="17">334,030,639.69Dr</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl65" style="height: 12.75pt;" height="17">334,010,639.69Dr</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl65" style="height: 12.75pt;" height="17">333,998,139.69Dr</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl65" style="height: 12.75pt;" height="17">333,933,643.69Dr</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl65" style="height: 12.75pt;" height="17">333,919,652.69Dr</td> </tr> <tr style="height: 12.75pt;" height="17"> <td class="xl65" style="height: 12.75pt;" height="17">333,909,652.69Dr</td> </tr> </tbody></table></td> </tr></table>
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

JackDanIce

Well-known Member
Joined
Feb 3, 2010
Messages
9,900
Office Version
  1. 365
Platform
  1. Windows
Welcome to the board.

Will your data always end in 2 alphabet characters or do you always want to remove the last 2 characters regardless?

If the latter, try:
Code:
=VALUE(LEFT(A1,LEN(A1)-2))
 

Airfix9

Well-known Member
Joined
Sep 23, 2005
Messages
886
In the cell or in an adjacent cell?

If you just want to remove the Dr, use Edit and Replace (CTRL+H), replacing Dr with nothing

If you want it in the next cell, assuming your data is in column A, edit this to suit:

=VALUE(SUBSTITUTE(A1,"Dr",""))
 

Forum statistics

Threads
1,176,380
Messages
5,902,769
Members
434,995
Latest member
excelfarmer76

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top