Problem:
I typed my answer as 17 8/15 (as mixed fraction that is) in the answer box but the answer became 17 ½ though that’s not a problem as the decimal value in both the cells is same and that of 17 8/15.
This (as shown in the pic above) is the value in the formula bar of the Answer box (this is same as that of 17 8/15).
(Note: Further when I copy and paste as values the contents of the above 2 cells, they are as follows:
which means they do have the same values in them.)
But while I type my answer in the answer box, a function works in the Verify Box.
The function is as follows:
=IF($B$1=0,LEFT(AB10,FIND(" ",AB10)-1)+LEFT(AC10,FIND(" ",AC10)-1)+(LEFT(RIGHT(AB10,LEN(AB10)-FIND(" ",AB10)),FIND("/",RIGHT(AB10,LEN(AB10)-FIND(" ",AB10)))-1)*RIGHT(AC10,2)+LEFT(RIGHT(AC10,LEN(AC10)-FIND(" ",AC10)),FIND("/",RIGHT(AC10,LEN(AC10)-FIND(" ",AC10)))-1)*RIGHT(AB10,2))/(RIGHT(AB10,2)*RIGHT(AC10,2)),AE10)
But please don’t mind it until necessary as long story short is as follows:
So, everything was going correctly until the last step where for some reason it rounds off the answer to 2 decimal places. And that is a major problem now as I’m using fractions type value in both the boxes so decimal increase/decrease button is not working.
Now, if it can be helped, I don’t want to change the value setting in the answer box to something other than Fractions (because I wish to answer in fractions only or else I’ll have to calculate further which is neither designed nor intended) but in Verify box its alright to use either of Fractions or Numbers as the value setting.
I have also tried changing the Verify box setting to Number type but the same problem persists and when I click on decimal places increase/decrease for either of the boxes, that still does not work.
Please help. (And thank you reading this question which I know is written too long but I couldn't think of something else to pinpoint my condition/position/problem.)
Edit: My purpose is as follows:
This image shows the formulas I used in the above image
(Note: Frac2 uses almost same formula as Frac1 and if the formula isn't clearly visible for the Verify cell, due to red bg which is set automatically set by the conditional formatting as the answer wasn't matching, you can check it as it is provided in the main problem already.
The "If-condition" is using a cell which alternates between 0 and 1 to check for true or false condition.)
Here, I am simply trying to create a self-testing math problem that changes every time I solve it and knowing whether my answer is right or wrong.
Frac1 and Frac2 generate random mixed fractions using RANDBETWEEN primarily but since a format is required so CONCAT is used for presentation. Answer box is the box where I type in my answer in the fraction form. Verify box verifies if my answer was right or wrong by changing its colour to red if I'm wrong and to green if I'm right. It is written such that it first converts the given mixed fractions into.... mixed fractions but now calculable and then adds them.