best formula to use

  • Thread starter Thread starter raw
  • Start date Start date
R

raw

Hi*

What would be the best formula to use if i want to find out how much a
number would go into a number then the left over part

Eg

Q. 2000mm is the size and need to know how many times 76.2mm goes into
it

A. 26times which then leaves 18.8mm over

Thank you*
 
With 2000 in A1 and 76.2 in B1

=INT(A1/B1)

will return 26

the rest

=MOD(A1,B1)

--
Regards,

Peo Sjoblom

(No private emails please)
 
I think you would need two formulas but maybe someone else will get clever.

=ROUND(2000/76.2,0) reurns 26

=2000-76.2*ROUND(2000/76.2,0) returns 18.8


Gord Dibben Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top