lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
Someone worked from 10:00pm to 6:00am next day. I want to calculate the difference. So I tried
A1=10 pm
B1= 6 am
C1=(A1-B1)*24
But did not work
I watched a video and the guy said use =Mod((B1-A1),1)
But did not explain why. I know what mod is used for but how this idea came from? Mod is used for totally something else.
Another question please:
1 am in excel is basically 1/24
what do you call 1/24? and what do you call (1/24)*24
Thank you very much
Someone worked from 10:00pm to 6:00am next day. I want to calculate the difference. So I tried
A1=10 pm
B1= 6 am
C1=(A1-B1)*24
But did not work
I watched a video and the guy said use =Mod((B1-A1),1)
But did not explain why. I know what mod is used for but how this idea came from? Mod is used for totally something else.
Another question please:
1 am in excel is basically 1/24
what do you call 1/24? and what do you call (1/24)*24
Thank you very much
Last edited: