Changing Colon by Period for calculating time card.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,446
Office Version
  1. 2007
Platform
  1. Windows
I would like to change on the time card the way the formula calculate the time worked by, instead of writing the hour with a colon, writing them with a period and also the hours would be written differently as this example :

9:00 = 9
9:15 = 9.25
9:30 = 9.50
9:45 = 9.75
10:00 = 10

See table below, in yellow is what I need if it's possible ?
Excel Workbook
ABCDEFGHIJKL
1RatePer ( Hour )Start1st MEAL 2nd MEALDismissalTotal Hours WorkedStraight forx 1.5 forx 2 afterTotal $ per day
2$15.5018:004:0012:00
3
4
5Monday5/18/116:1512:3013:4521:4514:158:004:002:15$ 286.75
6
7
8Tuesday6.2512.5013.7521.7514.25842.25$286.75
9
10
Sheet


Thank you.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Something like:

=(A1-INT(A1))*24

A1 is your time value
 
Upvote 0
Maybe, but I need the formula to fit the cells that need to be change, because I'm not an Excel expert.
 
Upvote 0
Try this if G5

=IF(F5="","",(F5-C5-(E5-D5)-(E6-D6))*24)

See if you can adapt for the others.
 
Upvote 0
I was able to adapted cells : G,H,I and those works, but changing the other one would not give the right answer !!!

I also need to put the hours in C,D,E,F with a period (.) and not a colon (:) would the formula calculate it right ??
 
Upvote 0
Thank you Nalani,

I will look at the link you sent me and see, if I can fix my formulas.

Best Regards...
Serge.
 
Upvote 0

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top