Hello -
I have a raw data table with multiple rows of data where each row contains multiple columns of data based on a specific location identifier. Let's call this Table 1. I have a second table with a single row of factors for the same number of columns as the first table (referred to as Table 2). I would like to create a new table (Table 3) containing a formula that: 1) finds the row of data based on the specific location identifier (condition 1) in Table 1, and 2) multiplies the data for that particular row in each column in Table 1 with the corresponding factor in Table 2. My attempts to use SUMPRODUCT, DSUM, VLOOKUP, etc. have failed miserably. Below is a visual representation of each table, and what I would like to accomplish.
Table 1
A B C D
1 10 0.5 1.5 1.0
2 11 0.2 0.2 0.5
3 12 0.3 2.5 1.0
Where col A is the location identifier, and cols B-D contain the data
Table 2
A B C
1 0.3 0.5 0.2
Where cols A-C represent the factors to be multiplied by the data in Table 1. Col A factor multiplied by Col B data point and so on.
Table 3 (Output Table)
A B
1 10 (0.5*0.3) + (1.5*0.5) + (1.0*0.2)
2 11 (0.2*0.3) + (0.2*0.5) + (0.5*0.2)
3 12 etc.
Please let me know if I can answer any questions to help clarify my question. Thanks in advance for any assistance!
Bookmarks