[Solved] Time In Hours And Minutes...

Discuss the spreadsheet application
Post Reply
JoelDennysDM
Posts: 9
Joined: Thu Oct 31, 2019 2:53 am

[Solved] Time In Hours And Minutes...

Post by JoelDennysDM »

Hello Team,

I need some help with time and minutes.

Please see the spreadsheet as I have place the note right in it.

Your help is greatly appreciated.
Attachments
Paddle.ods
Paddle...
(19.98 KiB) Downloaded 76 times
Last edited by JoelDennysDM on Fri Nov 01, 2019 5:21 pm, edited 1 time in total.
Joel/OpenOffice 4.1.6/Windows 10
FJCC
Moderator
Posts: 9280
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Time In Hours And Minutes...

Post by FJCC »

How is this?
Attachments
Paddle_fjcc.ods
(20.47 KiB) Downloaded 86 times
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
JoelDennysDM
Posts: 9
Joined: Thu Oct 31, 2019 2:53 am

Re: Time In Hours And Minutes...

Post by JoelDennysDM »

Hello FJCC,

I will like to thank you for your help.

I have added some modifications on my sheet.

Can you please take a look and see if you can help me out further.

I did write Modification in the Yellow Post It Notes inside the sheet.

Thanks again for your help.
Attachments
Paddle_fjcc.ods
(23.42 KiB) Downloaded 65 times
Joel/OpenOffice 4.1.6/Windows 10
FJCC
Moderator
Posts: 9280
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Time In Hours And Minutes...

Post by FJCC »

I think this captures all of your modifications.
Attachments
Paddle_fjcc2.ods
(23.47 KiB) Downloaded 71 times
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
JoelDennysDM
Posts: 9
Joined: Thu Oct 31, 2019 2:53 am

Re: Time In Hours And Minutes...

Post by JoelDennysDM »

Hello FJCC,

Again, you are truly a life saver.

I need a few more final touches and we should be coming to an end on this project.

Can you please look at the modifications on the attach file.

I noted all modifications on the post it notes.

Thanks...
Attachments
Paddle_fjcc2.ods
(19.95 KiB) Downloaded 72 times
Joel/OpenOffice 4.1.6/Windows 10
FJCC
Moderator
Posts: 9280
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Time In Hours And Minutes...

Post by FJCC »

The requirement for cell Z2 is far too complicated. I think all you need to test is whether U2 = C.T.F. If that is true, add 10 minutes to P2, otherwise just use P2.

Code: Select all

=IF(ISBLANK(U2);"";IF(U2 = "C.T.F.";P2+10/24/60;P2))
For the formula for BI2, you have to remember that the value in AY2 is in units of Days. It is displayed as 08:00 but the value is 8/24 Days or 0.33333. To calculate the pay, you have to multiply AY2 by 24 and then multiply by the hourly rate.

Similarly for the formula in BN2, the value in BD2 has to be converted from its value in Days to the value in minutes. Multiply BD2 by 24*60 and then by the rate in BP1.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Time In Hours And Minutes...

Post by RusselB »

You could replace the 10/24/60 in FJCC's code with time(0;10;0)
Technically it's the same amount of time, and it does make the code a little longer, but might be easier if you want to use other times or change it for a time that isn't exact minutes.
Just a suggestion
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
Post Reply