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

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
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,223,996
Messages
6,175,851
Members
452,675
Latest member
duongtruc1610

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