+ Reply to Thread
Results 1 to 6 of 6

Calculating Total Number of Training Hours

  1. #1
    Registered User
    Join Date
    06-20-2015
    Location
    somewhere, usa
    MS-Off Ver
    2010 - 2013
    Posts
    2

    Calculating Total Number of Training Hours

    Total Training hours are based on the topics for each role assigned. Each employee is assigned multiple roles and the roles can be listed in multiple topics, for example: Clerk and Supervisor are in Topic 1.

    For example, an employee that is assigned roles as a Clerk, Supervisor, and Floor Wiper will take Topic 1, but the employee will take the topic 1 time not 3 times. The total credit hours for topic 1 should be .5 not 1.5 which is what you get if you add the topic 3 times. I have set up the workbook but I am unable to figure out the method to calculate the number of training hours without each topic being counted more than once when multiple roles contain the same topics.
    Attached Files Attached Files
    Last edited by amiesmithe; 06-21-2015 at 04:41 PM. Reason: better explanation of issue

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Calculating Total Number of Training Hours

    What should be the result.

    Please add it manualy in your file, and mark the related cells e.g. with the same color.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    06-20-2015
    Location
    somewhere, usa
    MS-Off Ver
    2010 - 2013
    Posts
    2

    Re: Calculating Total Number of Training Hours

    Here is an updated workbook explaining what I am trying to calculate
    Attached Files Attached Files

  4. #4
    Forum Contributor Toonies's Avatar
    Join Date
    07-30-2009
    Location
    Newcastle, UK
    MS-Off Ver
    Excel 2016
    Posts
    503

    Re: Calculating Total Number of Training Hours


  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,228

    Re: Calculating Total Number of Training Hours

    My own view is that this would need to done using VBA as there are very complex relationships i.e checking the multiple combinations of roles and topics.

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,228

    Re: Calculating Total Number of Training Hours

    I have put together a VBA based solution: I have not checked all the results but first agrees with your expected result.

    If you are to use this solution it will need refining to make it more generic (my VBA is very rusty!)
    Attached Files Attached Files

+ 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. [SOLVED] Calculating total from hours
    By mikerules in forum Excel General
    Replies: 12
    Last Post: 10-14-2014, 01:03 AM
  2. [SOLVED] Calculating total number of hours and comparing data
    By ogriv_17 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-13-2013, 12:58 PM
  3. Replies: 1
    Last Post: 08-10-2010, 02:13 AM
  4. calculating Total hours
    By paultyler in forum Excel General
    Replies: 2
    Last Post: 06-24-2008, 05:02 PM
  5. [SOLVED] Calculating Overtime from Hours total
    By Dreamweavn via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-29-2005, 07:06 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