+ Reply to Thread
Results 1 to 8 of 8

Multiplying Time by A Number (not a cost)

  1. #1
    Registered User
    Join Date
    01-29-2014
    Location
    Solihull, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Multiplying Time by A Number (not a cost)

    Hi There

    I need to calculate the total training hours spent by department.

    I have 5 columns

    Column A Column B Column C Column D Column E
    Department Type of Training No of Delegate Session Duration Total Training
    Row 1 Sales E-learning 10 02:20

    Cells in Column C are formatted to number
    Cells in Column D are formatted to HH:MM

    The formula that I have used is:

    =PRODUCT((HOUR(D8)+(MINUTE(D8)/60)),C8), however if the cells in Column E are also formatted to HH:MM this returns 00:00. Following a bit of googling (!) I changed he format in Column D to General.

    This works fine if the training session was either :00, :15, :30, 00:45. However, where I have, for example a session lasting 02:20 for 7 people, I am returning a value of 16.3333333

    On a Summary sheet I am them using SUMIFS to calculate total training hours by dept / by type of training. but my totals are coming out as decimal points, as if I change the format to HH:MM, the hours do not calculate correctly. (The total training hours need to be in HH:MM as it has to be manually input into a productivity system)

    Any help or suggestions would be welcomed.

    Thank you
    Last edited by jaxspuk; 09-20-2017 at 01:09 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiplying Time by A Number (not a cost)

    Would you upload the workbook and manually add the results you expect clearly identifying which cells are results and which data.

    Formatting is irrelevant for calculation purposes so don't get hung up on it. What matters is what's actually in the cells not how it's presented.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-29-2014
    Location
    Solihull, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Multiplying Time by A Number (not a cost)

    HI Richard

    Thanks for your reply. Unfortunately it won't let me attach a file. I just get a very thin empty box?

    Below is a photo of the spread sheet showing the formula'sTraining Hours Calculator_Mr Excel.jpg

    Does this help?

    Many thanks again,

    Jax

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiplying Time by A Number (not a cost)


    To attach an Excel file to your post,
    • click Go Advanced,
    • scroll down until you see Manage Attachments,
    • click that and select Browse,
    • select your file and click Open,
    • click Upload and you will see your attachment below Upload Files from a website
    • click Close this window,
    • click Submit reply

    After that you should see attachment in your post

  5. #5
    Registered User
    Join Date
    01-29-2014
    Location
    Solihull, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Multiplying Time by A Number (not a cost)

    Thank you; sorry to be so dumb!

    I think I've done it

    JW
    Attached Files Attached Files

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiplying Time by A Number (not a cost)

    Try using this

    =C7*D7

    And format the cell with formula as [hh]:mm

  7. #7
    Registered User
    Join Date
    01-29-2014
    Location
    Solihull, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Multiplying Time by A Number (not a cost)

    Thanks Jonmo1

    Works perfect with the [] around the HH.

    JW

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Multiplying Time by A Number (not a cost)

    You're welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Multiplying Call Time by Number of Calls
    By ndreid2003 in forum Excel General
    Replies: 1
    Last Post: 02-27-2017, 04:23 PM
  2. Replies: 2
    Last Post: 06-20-2014, 03:49 PM
  3. multiplying a time by an hourly rate to give a total cost
    By adam.dixon in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-10-2012, 05:19 AM
  4. cost based on number of units where cost changes
    By jbowling in forum Excel General
    Replies: 3
    Last Post: 08-22-2011, 02:36 PM
  5. Multiplying time value by number figure
    By Khaldon in forum Excel General
    Replies: 7
    Last Post: 04-28-2011, 11:14 AM
  6. Multiplying time to decimal number
    By dolphin_m70 in forum Excel General
    Replies: 2
    Last Post: 12-02-2010, 04:12 PM
  7. Multiplying time by number
    By God's Kid in forum Excel General
    Replies: 3
    Last Post: 01-27-2006, 06:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1