Share via

sumproduct - add two cells together and then multiply by the value of a cell off another sheet

KARL HEINE 20 Reputation points
2026-03-11T01:32:36.9+00:00

I'm adding column J (OUT) and K (IN) together and then multiply it by value of L2

The value of Cell L2 can be found on the Billing Tab Column B

So if Ashley had 4 outbound calls and 2 inbound calls, 4+2=6*0.050785130

So the Cell L3 should have 0.304710780

Untitled

Screenshot 2026-03-10 211725

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jade Ng 9,370 Reputation points Microsoft External Staff Moderator
    2026-03-11T02:11:10.0033333+00:00

    Dear @KARL HEINE,

    Thank you for posting your question in the Microsoft Q&A forum!

    According to your description, you do not need to use SUMPRODUCT in this scenario. A straightforward formula will be clearer, easier to understand, and simpler to maintain

    From what’s visible in your screenshots:

    J = OUT

    K = IN

    L = Billing result

    The rate is on the BILLING sheet:

    • Column A = Billing code (e.g. 4209701001)
    • Column B = Rate (e.g. 0.050785130)

    Column L header on EMPLOYEE sheet contains the billing code (4209701001)

    =(J3+K3)*VLOOKUP(L$2,BILLING!$A:$B,2,FALSE)

    • J3 + K3: Adds OUT and IN calls 4 + 2 = 6

    VLOOKUP(L$2, BILLING!$A:$B, 2, FALSE)

    • Looks up billing code 4209701001 on the BILLING sheet > returns 0.050785130

    Final result: 6 × 0.050785130 = 0.304710780

    If you prefer XLOOKUP:

    =(J3+K3)*XLOOKUP(L$2,BILLING!$A:$A,BILLING!$B:$B)

    Untitled

    I hope this helps! Please feel free to reply below if you have any update or further concern.  

    Your understanding and co-operation are highly appreciated. Thanks for your precious time. Have a nice day!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Q&A Assist
    2026-03-11T01:32:58.2066667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Use a simple multiplication of the sum of J and K by the rate looked up on the Billing sheet.

    Assuming on sheet DB01:

    • Employee row is 3
    • OUT is in J3
    • IN is in K3
    • The code in L2 (on DB01) exists in column A of sheet Billing, with the rate in column B

    In L3 enter:

    =(J3+K3)*VLOOKUP($L$2,Billing!$A:$B,2,FALSE)
    

    Explanation:

    • J3+K3 adds OUT and IN calls (4+2 = 6 in the example).
    • VLOOKUP($L$2,Billing!$A:$B,2,FALSE) returns the rate from column B on Billing that matches the code in L2.
    • The result is 6 * 0.050785130 = 0.30471078.

    Copy the formula down column L for other employees as needed.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.