Thanks for the reply. I was thinking in terms of 8 hr. work days where .375
days would be 3 hours. (Didn't everyone think that?) I'm not a programmer, so
here is an example that may explain what I want to do better than me.
Ex. - 41 vacation hrs. equates to 5.125 weeks, or 5 weeks and one day. I
need to divide the original number of hrs. by 8 to get whole weeks, and then
multiply the decimal remainder by 8 to get the number of additional hours.
Can I use the MOD function some way to calculate the number of hours after
taking off the number of days? Maybe (n1 MOD n2)*8, where n1 is the
begininning number of vacation hours, and n2 is 8.
Well, after reading a bit closer about MOD, which I should have done to start
with, I see that it will not do what I want to do. Any more suggestions?
Thanks...
=INT(A1) & " days " & 8*MOD(A1,1) & " hours" sounds like the answer to your
original question, but in your message below you have confused me when in
one breath you are referring to weeks and days (in some system where there
are apparently 8 days in a week!) and in another breath you are referring to
days and hours.
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.