Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remainders When Dividing?

Status
Not open for further replies.

Dannybe2

Programmer
Jan 31, 2001
136
GB
How do I divide a number by another and create a remainder:

Eg.
1523 / 60 = 25.3833333
1523 / 60 = 25 R23
 
Jeez is everyone on vacation?
I guess i can try to answer this
Use the Modulus function,
=1523 mod 60
this will give you the remainder but not
the quotient.
Jim
 
Hi Jim!

Try this: 1523 \ 60.

The backslash will give you integer division.

hth
Jeff Bridgham
bridgham@purdue.edu
 
DannyB2
Hello again,
try
=Int(1523/60) & " R" & 1523 Mod 60
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top