Formula calculations are incorrect

Hello everyone.


I'm doing a simple-ish calc in Numbers using a formula for multiplication of two cells for a university assignment but the formula answer is incorrect.


I've uploaded two screenshots, both show the correct / incorrect answer and at the bottom of each screenshot you can see how the formula for the answers have been calculated.


I've played around with the decimal places and it is still incorrect, yet calculating by hand is produces the correct results.


It's kind of stressful, as I have much more complicated calculations to make later on in the assignment.


Any help on this, would be much appreciated!



James




MacBook Pro 15″, macOS 11.3

Posted on Oct 13, 2022 11:29 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 14, 2022 12:11 AM

Hi James,

I assume that the value for "Break-Even Qty." is a calculation, correct?


Please change the format for "Break-Even Qty." so that you show 3-4 digits


Based on my calculation US$9,745,881.00 / US$97.00 would be 100,472.814 and not 100,473 as display.


Based on your selected format Numbers will show a value, but for the internal calculation the complete value will be used.

If you don't like this you would have to use ROUND to eliminate unwanted data.



Based on your region the , or the ; will be used to separate the different sections of a formula. If you write one thousand as 1,000.00 then the , is used as your formula separator. If you write one thousand as 1.000,00 then the ; is used as your formula separator.


Hope this will solve your question, please let me know if this worked for you or if something in unclear.


Ralf

6 replies
Question marked as Top-ranking reply

Oct 14, 2022 12:11 AM in response to JD860

Hi James,

I assume that the value for "Break-Even Qty." is a calculation, correct?


Please change the format for "Break-Even Qty." so that you show 3-4 digits


Based on my calculation US$9,745,881.00 / US$97.00 would be 100,472.814 and not 100,473 as display.


Based on your selected format Numbers will show a value, but for the internal calculation the complete value will be used.

If you don't like this you would have to use ROUND to eliminate unwanted data.



Based on your region the , or the ; will be used to separate the different sections of a formula. If you write one thousand as 1,000.00 then the , is used as your formula separator. If you write one thousand as 1.000,00 then the ; is used as your formula separator.


Hope this will solve your question, please let me know if this worked for you or if something in unclear.


Ralf

Oct 14, 2022 5:28 AM in response to JD860

Hi James,

Unfortunately there is no easy answer on when to use Round or how many decimals you should use.

Every case is different and sometimes you have to make a compromise.


Yes Excel has the identical functionality as Numbers. But there is one exception.


Excel has 3 round functions.


Numbers has also these 3 round functions, plus a special addition "MRound".


Here a comparison of the different functions.

Round, RoundUp & RoundDown was set to 0 decimals / MRound was set to 0.25


Unfortunately it is not easy to say when / how you should use round

I modified your example to show it. Average Cost was changed!

The exact number for Break-Even Qty. would be 100,512.4162

If you use normal round it would round down, because it ends in .4162

But 100,512 units would be not sufficient to reach Break-Even Qty., because the value must be above 100,512.4162

In this case you should use RoundUP, that will always give you the next full number.


You can include your calculation in the round functions, see last row of this table.


I always use 2 decimals for regular tables, if the unit is currency.

For the rest I pick something that shows what I need to know.

I only use round if I really have to, like if I have to create an expense sheet.


Here an example that shows that round can be tricky:

3 People will spent exact $100.00 in a restaurant (including tip), therefore each has to pay $33.33 (when you use round to 2 decimals)!

Unfortunately 3 times $33.33 is not $100.00 ;-(


Ralf

Oct 14, 2022 1:01 AM in response to JD860

What is the formula returning the "incorrect answer"?


What you have labeled the "correct answer" appears to ignore the "cost per unit" values and treat the selling price of each unit as the net profit from that sale.


Profit per unit, in its simplest form is the sale price - the cost price per unit.


Fixed costs are costs that remain the same regardless of the number of units produced or sold.


Breakeven occurs when the total costs are equal to the total income from sales.


Regards,

Barry

Oct 14, 2022 2:57 AM in response to Ralf-F

Hello Ralf,


Thanks for your quick reply - after some playing around on my part... it worked! Thank you. :-)


I have a few more questions, I hope you wouldn't mind answering.


  1. When is the right time to use the 'ROUND' function? As currently, I'm using it because I know the output value is invalid. When summing totals?
  2. Would you recommend using four decimal spaces in my worksheets?
  3. Does the 'ROUND' function work on Excel as it works on Numbers? (if you don't know, don't worry)
  4. Is there a more elegant way to use the ROUND function in the formula =E2/(E3-E4), to round the output to provide me with the desired result, without having to create an additional cell (such as F6 below).


Thanks for your time.




James



Oct 16, 2022 11:10 PM in response to Ralf-F

Hey Ralf,


Superb reply and examples. I think I get it now.


I really appreciate you spending the time to break this down for me. I'm not that great on spreadsheets let alone Finance, so this really helps me out a lot.


I've actually saved it on my computer as reference material for future use. I'm sure it will also prove helpful for other users with the same conundrum! :-)



James



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Formula calculations are incorrect

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.