change decimal point on a result

tim1

New Member
Joined
Jan 7, 2007
Messages
31
hello, i am calculating the difference of two cells. example, a3=a1-a2. a3 gives me a result with a decimal point, example, 1.34564. i want to move the decimal on the result right one or two spaces. example, 13.4564. a1 and a2 are imported from another worksheet so i am having trouble with this. any idea's anyone? thanks.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
hello, i am calculating the difference of two cells. example, a3=a1-a2. a3 gives me a result with a decimal point, example, 1.34564. i want to move the decimal on the result right one or two spaces. example, 13.4564. a1 and a2 are imported from another worksheet so i am having trouble with this. any idea's anyone? thanks.

Hi tim1:

Following is one way ...
Book1
ABCDE
12.44564move decimal point by number of places to the right
21.1123-1
31.3456413.4564134.5641345.640.134564
Sheet2


formula in cell B3 is ... =($A$1-$A$2)*10^B2

this is then dragged to right .

I hope this helps.
 
Upvote 0

Forum statistics

Threads
1,214,813
Messages
6,121,706
Members
449,048
Latest member
81jamesacct

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