Extracting last 2 digits from a cell

matthewpaul12

New Member
Joined
Nov 26, 2018
Messages
16
Hi

Need some help, but not sure if the below will make sense, so here goes:

Assume cell A2 has a numerical value of 1489459. I am looking to capture just the last 2 digits of that number. The RIGHT(A2,2) formula gives me the correct output, but I think this formula formats the last 2 digits as text, not a number. So when I input a formula into another cell asking if those last 2 digits are greater than/equal to x, the formula doesn't work cause the RIGHT formula is classifying the data as text.

If my rambling above makes any sense, does anyone have any suggestions? I tried just changing the formatting of the cells with the RIGHT formulas to number, but that didn't make the IF greater than/equal to formulas work.

Thanks!
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,214,392
Messages
6,119,257
Members
448,880
Latest member
aveternik

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