Fraction formatting

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
Hi
I formatted A1 as Fraction. The I entered A1= 5 3/10 in that form. Excel changed it to A1= 5 2/7
I entered B1=5.3, then when I type this formula in C1=B1-A1, I got 0 (but the 0 was placed in the middle of the cell!!)

My question why excel changed 3/10 to 2/7? and why sub B1-A1 lead to 0 in the middle of the cell. Thank you.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi
I formatted A1 as Fraction. The I entered A1= 5 3/10 in that form. Excel changed it to A1= 5 2/7
I entered B1=5.3, then when I type this formula in C1=B1-A1, I got 0 (but the 0 was placed in the middle of the cell!!)

My question why excel changed 3/10 to 2/7? and why sub B1-A1 lead to 0 in the middle of the cell. Thank you.

Do you have it formatted "Up to 2 digits"? If it's only formatted as one digit it will change 3/10 to 2/7.
 
Upvote 0

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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