excel formula referring to a decimal portion of another cell

T

teenerx5

What formula would I use for the following:

B3 contains the following formula:
=(A2-e4)/18
I wish B3 to be to be displayed as a whole number rounded down.
If the actual value of B3 is, for example, 7.6,
I would like another cell to reflect .6 x 18, rounded up
 
B

Bob Phillips

=INT((A2-E4)/18)

=MOD((A2-E4)/18,1)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Top