Easy One - Multiply hours per day by days.

garypea123

Board Regular
Joined
Mar 16, 2020
Messages
134
Office Version
  1. 365
Platform
  1. Windows
Hi, I am trying to write formula which will give me the result of 37.5 hours in G3

My Formula which is incorrect shows =(I3-H3-J3)*K3

Obviously the K3 but is not correct or I need to amend the formatting some how.


Time Mult.JPG
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,632
Office Version
  1. 365
Platform
  1. Windows
Hi, if you want the value returned to remain as a time then use a custom format of [hh]:mm for cell G3
 
Solution

garypea123

Board Regular
Joined
Mar 16, 2020
Messages
134
Office Version
  1. 365
Platform
  1. Windows
Hi, if you want the value returned to remain as a time then use a custom format of [hh]:mm for cell G3
Works a dream

I had format as hh:mm, may I ask the difference between that and [hh]:mm
 

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,632
Office Version
  1. 365
Platform
  1. Windows
may I ask the difference between that and [hh]:mm

hh:mm will only return the hour and minute portion of the date/time and as your calculation returned a time greater than a day, the actual date/time it returned was 1st January 1900 13:30.

Using the square brackets tells excel to display the total elapsed hours instead.
 

garypea123

Board Regular
Joined
Mar 16, 2020
Messages
134
Office Version
  1. 365
Platform
  1. Windows
Thats perfect - Fully understood.

Thank you
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,126
Messages
5,768,263
Members
425,460
Latest member
Astros1243

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
Top