Easy One - Multiply hours per day by days.

garypea123

Board Regular
Joined
Mar 16, 2020
Messages
131
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

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

FormR

MrExcel MVP
Joined
Aug 18, 2011
Messages
6,598
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
131
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,598
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
131
Office Version
  1. 365
Platform
  1. Windows
Thats perfect - Fully understood.

Thank you
 

Forum statistics

Threads
1,148,160
Messages
5,745,121
Members
423,926
Latest member
Komaua Ubaroro

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