Cut numbers off before a decimal

Jadegirl

Board Regular
Joined
Apr 20, 2011
Messages
65
Hello, I have a column with numbers and I want to cut off the first two before the decimal. The only problem is some have one number before the decimal or no decimal at all. Any thoughts on how to work the Left formula or a better one this way?

<table border="0" cellpadding="0" cellspacing="0" height="246" width="322"><colgroup><col style="width:49pt" width="66"> <col style="mso-width-source:userset;mso-width-alt:4238;width:89pt" width="119"> </colgroup><tbody><tr style="height:14.4pt" height="19"> <td class="xl101" style="height:14.4pt;width:49pt" height="19" width="66">Column A</td> <td class="xl101" style="width:89pt" width="119">Column B</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl103" style="height:14.4pt" height="19">Data Set</td> <td class="xl101">Desired OUTPUT</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl103" style="height:14.4pt;border-top:none" height="19">9.4</td> <td class="xl104" align="left">9</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl103" style="height:14.4pt;border-top:none" height="19">5.1.2</td> <td class="xl104" align="left">5</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl103" style="height:14.4pt;border-top:none" height="19">5.1.2</td> <td class="xl104" align="left">5</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl102" style="height:14.4pt" height="19">30</td> <td class="xl104" align="left">30</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl102" style="height:14.4pt" height="19">60</td> <td class="xl104" align="left">60</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl102" style="height:14.4pt" height="19">1.1.1</td> <td class="xl104" align="left">1</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl102" style="height:14.4pt" height="19">10.1.2</td> <td class="xl104" align="left">10</td> </tr> <tr style="height:14.4pt" height="19"> <td class="xl102" style="height:14.4pt" height="19">12.1</td> <td class="xl104" align="left">12</td> </tr> </tbody></table>
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,216,099
Messages
6,128,822
Members
449,469
Latest member
Kingwi11y

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
Back
Top