+ Reply to Thread
Results 1 to 3 of 3

Vlookup Formula mixed with Sumproduct Formula Problem

  1. #1
    Registered User
    Join Date
    02-27-2020
    Location
    Dallas
    MS-Off Ver
    Excel
    Posts
    3

    Vlookup Formula mixed with Sumproduct Formula Problem

    I have a set of four columns of data. I'd like to create a formula that can look at an input from data in column 1 to pick data point(s) from the corresponding row(s) in column 2 and multiply it by data point(s) from the corresponding row(s) in column 3.

    I think I could solve this by creating a vlookup for column 2 and multiplying by the result of another vlookup for the column 3, but their might be several rows that match the input in column 1, and I would like the sum of all those matches.

    Kind of hard to explain, so I've included an attachment with samples of what I would like the input to be (looking at data in column 1) and what the output to be (multiplying matches in column 2 and column3).

    Any help or advice is greatly appreciated!
    Attached Files Attached Files

  2. #2
    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,147

    Re: Vlookup Formula mixed with Sumproduct Formula Problem

    in B16

    =SUMPRODUCT(($B$2:$B$10)*($A$2:$A$10=B$15)*($C$2:$C$10))

    in B17

    =SUMPRODUCT(($B$2:$B$10)*($A$2:$A$10=B$15)*($D$2:$D$10))d

    OR

    B16

    =SUMPRODUCT(($B$2:$B$10)*($A$2:$A$10=B$15)*(INDEX($C$2:$D$10,,ROWS($1:1))))

    copy down to B17
    Last edited by JohnTopley; 10-06-2021 at 03:04 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Taiwan
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,380

    Re: Vlookup Formula mixed with Sumproduct Formula Problem

    Cell B16 formula , Drag down

    HTML Code: 

+ 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. If & Vlookup mixed formula only partly working
    By Weaselwithagun in forum Excel Formulas & Functions
    Replies: 31
    Last Post: 04-29-2016, 08:45 AM
  2. [SOLVED] Sumproduct formula problem
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-06-2014, 01:56 AM
  3. Problem with VLookup and Index Match on mixed Text and Numeric codes
    By Vaslo in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 12-17-2013, 12:54 PM
  4. sumproduct formula problem
    By fabrecass in forum Excel General
    Replies: 11
    Last Post: 02-23-2012, 09:32 AM
  5. Sumproduct formula problem
    By sclang in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-04-2008, 11:43 AM
  6. Formula Problem (Sumproduct)
    By liquid1010 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-29-2007, 01:17 PM
  7. [SOLVED] Problem with a SUMPRODUCT Formula
    By carl in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-20-2006, 04:05 PM

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