![]() |
#1
|
|||
|
|||
![]()
I have a spreadsheet that I use to Input a Start Time and End Time in one column and the decimal value to that time in another column.
This is what I use for getting the total hours per day:=IF(D2="","",D2-C2) Pretty simple. This is what I use to get the Decimal value total hours per day: =IF(D2="","",HOUR(E2)+MINUTE(E2)/60) My problem is how to round up or down based on the "Conversion Table - Minutes to Decimal Hour". This is a table 1 thur 60 with the decimal value .02 thru 1.0 Lets say your Start time is 7:00 am and End time is 4:11 pm which is 9 hours 11 minutes or (9 hours .18 decimal minutes) which would roundup because its closer to 4:15 than 4:00.. Each 15 minutes which ever is closer. Don't know if I can post the "Conversion Table" with this post. It is a common table on the internet. Thanks so much for any help!!! |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
rtuttle | Project | 9 | 04-15-2016 06:18 AM |
Marking specific cells depending on start and end time entered | ellebb85 | Excel Programming | 0 | 01-17-2016 02:50 AM |
![]() |
Haha88 | Excel | 1 | 10-13-2015 11:30 PM |
![]() |
rdperry11 | Excel | 4 | 02-24-2015 09:35 PM |
Help - Run-time error 91 - VBA for inserting and formatting text depending on style | mtrborges | Word VBA | 2 | 02-08-2015 11:35 PM |