+ Reply to Thread
Results 1 to 6 of 6

need help to do a look up function base on 2 criteria in two table

  1. #1
    Registered User
    Join Date
    07-18-2020
    Location
    seattle wa
    MS-Off Ver
    2016
    Posts
    3

    need help to do a look up function base on 2 criteria in two table

    need help to do a look up for % of FPL base on family size and income
    FPL_match.PNG
    Attached Files Attached Files
    Last edited by duc thai; 07-18-2020 at 11:06 PM. Reason: add excel file

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: need help to do a look up function base on 2 criteria in two table

    It's always best to attach a sample file (see yellow banner at the top). Failing that, you can try this in J2 and copy down:

    =SUMPRODUCT(($A$2:$A$100=H2)*(I2>=$B$1:$B$100)*(I2<=$C$1:$C$100)*($D$1:$D$100))

  3. #3
    Registered User
    Join Date
    07-18-2020
    Location
    seattle wa
    MS-Off Ver
    2016
    Posts
    3

    Re: need help to do a look up function base on 2 criteria in two table

    hi Gregb11 i paste the formular on j2 and i got #value in return

  4. #4
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: need help to do a look up function base on 2 criteria in two table

    Oops, I included cells in first row by mistake. Now that I see your table name, use this in J2 and copy down:
    =SUMPRODUCT((FPL[family size]=H2)*(I2>=FPL[min])*(I2<=FPL[max])*(FPL[FPL]))
    Last edited by Gregb11; 07-18-2020 at 11:33 PM. Reason: editing a word

  5. #5
    Registered User
    Join Date
    07-18-2020
    Location
    seattle wa
    MS-Off Ver
    2016
    Posts
    3

    Re: need help to do a look up function base on 2 criteria in two table

    hi Gregb11 thanks so much work perfect
    can you give me the formular if it without the table name
    use the range method

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,831

    Re: need help to do a look up function base on 2 criteria in two table

    The 100 number below would be whatever row your data ends at.

    =SUMPRODUCT(($A$2:$A$100=H2)*(I2>=$B$2:$B$100)*(I2<=$C$2:$C$100)*($D$2:$D$100))

+ 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. excel vba to merge data base on criteria and countif with left function
    By phooirv in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2019, 07:34 AM
  2. [SOLVED] Returning a list or table of values base on the inputted criteria
    By yahm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2018, 07:41 PM
  3. [SOLVED] Manipulate data base on Criteria
    By Mouctar in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 04-28-2017, 09:33 PM
  4. [SOLVED] Creating/Populating TABLE (NEW) from an OLD TABLE base on ListBox choices
    By Gilcano in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-06-2015, 08:30 PM
  5. [SOLVED] Selecting table criteria base on a function
    By Journeyman3000 in forum Access Tables & Databases
    Replies: 2
    Last Post: 08-25-2015, 07:44 PM
  6. Replies: 3
    Last Post: 12-22-2011, 10:57 AM
  7. Calculate base on criteria
    By VBisgreat in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-07-2010, 01:07 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