Forum Discussion
Baz286
Apr 15, 2021Copper Contributor
Multiply Hours and Minutes by a number
I have setup a spreadsheet to monitor my staff's holiday hours. I have formatted the cells using [h]:mm and also used the 1904 date system. My problem is that, when trying to multiply the hours by ...
- Apr 16, 2021
TIME() function requires all 3 parameters, you can't miss seconds. Please check TIME function - Office Support (microsoft.com)
Baz286
Apr 15, 2021Copper Contributor
Hello Sergei,
Thank you for your response. I used your recommended formula IF(B8=0," ",D8*TIME(11,47,0)) and it worked perfectly. May I ask, why have you set the hours and minutes as 11,47,0? Every example I had seen up to now has recommended that time is shown as 11:47.
Thank you again for your assistance.
Thank you for your response. I used your recommended formula IF(B8=0," ",D8*TIME(11,47,0)) and it worked perfectly. May I ask, why have you set the hours and minutes as 11,47,0? Every example I had seen up to now has recommended that time is shown as 11:47.
Thank you again for your assistance.
SergeiBaklan
Apr 16, 2021Diamond Contributor
TIME() function requires all 3 parameters, you can't miss seconds. Please check TIME function - Office Support (microsoft.com)
- Baz286Apr 16, 2021Copper ContributorHello Aergei,
Thank you for explaining that for me. It makes things much clearer and explains why my formula wouldn't work.- SergeiBaklanApr 16, 2021Diamond Contributor
Baz286 , you are welcome, glad to help
- Baz286Jul 22, 2021Copper Contributor
Hello again,
May I seek your advice once again regarding calculating hours and minutes.
I have been taking your advice regarding calculating time however, on addition, it does not calculate properly.
I am using Windows 10 Pro, Excel 2016.
I have attached a file showing my calculations. I would welcome your advice on adapti g the correct formula.Regards,
Barry Nelson