+ Reply to Thread
Results 1 to 4 of 4

Find array based on specific criteria to use in SUMPRODUCT function

  1. #1
    Registered User
    Join Date
    03-05-2014
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2013
    Posts
    2

    Find array based on specific criteria to use in SUMPRODUCT function

    I want to use the SUMPRODUCT function instead of multiple IF statements. I have a row of numbers that need to be multiplied by a row of conversion factors. There are multiple rows of conversion factors to choose from based on certain criteria. Is there a function to look up an entire row? I've only been able to find how to index/match one number. I've attached a simple spreadsheet.

    I showed what I want to happen if i choose the array manually. =SUMPRODUCT(B3:H3,B9:H9)=448

    In Table 1 I want to use the criteria in column A to look up the row in table 2. So essentially =SUMPRODUCT(B4:H4,look for A4 in A8:A12 and use columns B:H in corresponding row)

    Does any of that make sense? Is this even possible?

    Thanks in advance.

    SUMPRODUCT question.xlsx

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Find array based on specific criteria to use in SUMPRODUCT function

    Using your posted workbook
    this formula, copied down, returns the Table 1 referenced range multiplied by the matching row type in Table 2 and sums the products
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    03-05-2014
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Find array based on specific criteria to use in SUMPRODUCT function

    Yes, I can definitely use this! I was trying to use the index function before but didn't understand what to enter for [column num].Thank you so much!

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Find array based on specific criteria to use in SUMPRODUCT function

    Glad you got something you can use!

    If that resolves your issue, please take a moment to mark this thread as SOLVED (from the Thread Tools menu)

+ 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. Replies: 3
    Last Post: 02-02-2015, 10:30 AM
  2. [SOLVED] Formula to find the sum of a set of data based on specific criteria
    By SciGuy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-21-2014, 07:21 AM
  3. Selection of Data in an Array Based on Specific Criteria
    By Christopher.Belanger in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2012, 10:41 AM
  4. Find earliest date based on specific criteria in other columns
    By cat2000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2011, 11:50 AM
  5. Find last entry in an array based on 1 criteria
    By ryanh114 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-09-2010, 12:23 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