+ Reply to Thread
Results 1 to 9 of 9

How to multiply specific values from two tables

  1. #1
    Registered User
    Join Date
    08-12-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    8

    How to multiply specific values from two tables

    Hello,

    I am looking for the best type of formula that will allow me to multiply a value from one table to an associted value in a second table and display the result in a third table.

    EXAMPLE

    I have two source data tables, the first of which breaks down the number of hours members of a team have spent on a particular task:
    • In each row I will have a particular activity (e.g. Activity A, Activity B, Activity C).
    • In each column I will have a resource name (e.g. Resource A, Resource B, Resource C)
    • The values in the table will be the number of hours each resource has spent on a particular task each month.

    I want to be able to multiply the number of hours worked per month on a particular task with the hourly cost rate of that particular resource. I want to then display a summed value of these calculations in a selection of summary dashboards for wider distribution.

    I'm not sure what the best formula to use to multiply the number of hours in one table, with a particular value in another table. I've attempted a combination of SUMPRODUCT and LOOKUP functions, but not sure this is best way?

    I've attached a simplified version of my draft model to assist.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Chennai, India
    MS-Off Ver
    Excel 2003, 2010
    Posts
    212

    Re: How to multiply specific values from two tables

    Try This...

    Please Login or Register  to view this content.
    Rem0

  3. #3
    Registered User
    Join Date
    08-12-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to multiply specific values from two tables

    Quote Originally Posted by Rem0ram View Post
    Try This...

    Please Login or Register  to view this content.
    Rem0
    Thanks for the quick response Rem0,

    Unfortunately I think that that formula may be a little too simplistic for what I require. I expect my financial to grow to be several hundred rows long as it will be used over the next 24-36 months, with dozens of resource and thousands of activities, which will not always be in the same order. I'd ideally be looking for a formula that can take one lookup value (hours per resource per activity) and then multiply it with a lookup value from the second table (hourly rate per resource for a particular date).

    Thanks,

    Matt

  4. #4
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: How to multiply specific values from two tables

    Hello,

    I'm assuming that you won't have only 3 resources. And that going forward, your resources will increase too, am I correct? If that's how it is, I don't think your summary itself present the data...i.e. how many resources for activity A in each month etc.

  5. #5
    Registered User
    Join Date
    08-12-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to multiply specific values from two tables

    Quote Originally Posted by dluhut View Post
    Hello,

    I'm assuming that you won't have only 3 resources. And that going forward, your resources will increase too, am I correct? If that's how it is, I don't think your summary itself present the data...i.e. how many resources for activity A in each month etc.
    Yes that is correct... I'll update the example.

  6. #6
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: How to multiply specific values from two tables

    If that's the case, you can do it 2 ways.

    1. With Excel - Try to use Power Pivot (Not the regular Pivot Table. You need to install it). If you have Excel 2013, they have "relationships"
    2. With Access

  7. #7
    Registered User
    Join Date
    08-12-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to multiply specific values from two tables

    Thanks - downloaded PowerPivot for Excel 2010 so will give it a shot now.

  8. #8
    Registered User
    Join Date
    08-12-2010
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: How to multiply specific values from two tables

    I've attached an updated dummy file. I may not be using PowerPivot correctly, but I'm struggling to generate the values I need.

    I've seen a few forums using INDEX and MATCH formulas to achieve similar goals, but not sure if they will work for my example?

    Thanks,

    Matt
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-05-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: How to multiply specific values from two tables

    See attachment for one way to do this with a regular pivot table (with one calculated field in the pivot as well). This method would require the layout of your data to be changed.
    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] Multiply Value from the drop down to a specific cell
    By pphg in forum Excel General
    Replies: 6
    Last Post: 04-26-2017, 06:11 AM
  2. Multiply intersection of 2 separate tables
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-10-2012, 08:07 AM
  3. Replies: 3
    Last Post: 02-01-2012, 04:21 PM
  4. Find values position in table between two values, multiply by adjacent value
    By bradfordstl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-19-2011, 01:14 PM
  5. Multiply all values by 10
    By RTimberlake in forum Excel General
    Replies: 4
    Last Post: 12-27-2005, 04:10 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