Easy One - Multiply hours per day by days.

garypea123

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

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Hi, if you want the value returned to remain as a time then use a custom format of [hh]:mm for cell G3
 
Upvote 0
Solution
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
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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