+ Reply to Thread
Results 1 to 2 of 2

2 Tables and a formula

  1. #1
    Registered User
    Join Date
    06-14-2011
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    57

    2 Tables and a formula

    Hi,

    I'll try and explain below what I am trying to do and hopefully there is a way to properly do it.

    I have attached a copy of the table for reference details.

    I have a table with employee Name, MV Allowances,. Monthly Wage, OnCosts and Total charge.
    I have a second Table with Job Number, Employee Name and Time % spent on said different jobs.

    What I want to do is in column A - calculate and sum the cost which needs to be oncharge to each individual Job (for all employees associated with that job) based on the % of time that they spent on the job.

    IE for Job 2713
    Michael Longlend spent 15% of his time on it and Phil Warpick spent 4% of his time on it.
    So total on charge would be 15% of Michael's Total Charge (ie 15% of $17,774.06 - $2,666.11) + 4% of Phil Warpick's Total Charge (ie 4$ of $16,545.76 - $661.83) - giving a total oncharge of $3,327.94.

    I did consider a sumif formula but that would be too many variables and there is a potential for the number of employees in the list to grow.


    Hope this is detailed enough.

    Ta for the help.
    Attached Files Attached Files
    Last edited by Vibro; 06-16-2011 at 08:11 PM. Reason: Solved

  2. #2
    Registered User
    Join Date
    06-14-2011
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2016
    Posts
    57

    Re: 2 Tables and a formula

    Solved this already using a SumProduct and array formula.

    =SUMPRODUCT(IF($C$27:$X$27=$B$3:$B$23,$F$3:$F$23*C28:X28))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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