0
Squeak

Any Excel gurus here?

Recommended Posts

Last year my substitute made an excel worksheet that self generates.
BUT
Some of the maths does not work the equations formula seem correct but the generated answrs are one or two numbers off
Any one know why?


Cell E7
=RAND()*100 (e.g. 82)
Cell E8
=RAND()*100 (e.g. 4)
Cell E9
=E7*E8 (answer generated 329) it SHOULD be 328

any ideas?
You are not now, nor will you ever be, good enough to not die in this sport (Sparky)
My Life ROCKS!
How's yours doing?

Share this post


Link to post
Share on other sites
Quote

There are a number of EXCEL rounding formulae...

This may help ... http://www.digdb.com/excel_add_ins/round_up_down_rounding/

cool
thanks guy, i replaced the formulae with a rounded
INT(RAND()*100)
that seems to work much better.


From what i can gather, the RAND command will only display the truncated number but the formula was using the complete number (e.g. displaying 84, but using 84.3509)
prefixing with INT only allows integers to be used in the Random selection.
Thanks:)
You are not now, nor will you ever be, good enough to not die in this sport (Sparky)
My Life ROCKS!
How's yours doing?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0