+ Reply to Thread
Results 1 to 6 of 6

Vlookup a value with multiple criteria between two tabels

  1. #1
    Registered User
    Join Date
    02-25-2021
    Location
    England
    MS-Off Ver
    2010
    Posts
    8

    Post Vlookup a value with multiple criteria between two tabels

    Hi

    I am wanting to to do a VLOOKUP to show me a value for a item number. However I want it to only show a value if dates and additional criteria are met between two tables.

    Please see the example in attached. Any assistance would be great.

    I have attached comments in the excel file so it makes more sense what I am looking to acheive.
    Attached Files Attached Files

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

    Re: Vlookup a value with multiple criteria between two tabels

    On Sheet Table 1, in cell C4, try this:

    =INDEX('Table 2'!$C$5:$W$5,MATCH($A4,'Table 2'!$A$5:$A$25,0),MATCH(C$1&C$3,'Table 2'!$C$1:$W$1&'Table 2'!$C$3:$W$3,0))

    The part that says "$A$5:$A$25" for $A$25, you would put in the last row of data.

    You can then copy the formula across.

  3. #3
    Registered User
    Join Date
    02-25-2021
    Location
    England
    MS-Off Ver
    2010
    Posts
    8

    Re: Vlookup a value with multiple criteria between two tabels

    Hi

    I tried you formula and it is showing "VALUE". I have tried something else to see if it helped and still having no luck. This is the formula used:

    =VLOOKUP(A4,'Table 2'!$A$5:$W$100,MATCH(1,('Table 2'!$A$1:$W$1=C$1)*('Table 2'!$A$3:$W$3=C$3),0),0)

    It shows the value but when I try it in the other cells fore example:

    D4 , E4, F4 etc...

    I just get #N/A.


    Any ideas would be apricated at this point as I am totally out of ideas for now.
    Attached Files Attached Files
    Last edited by cjr88; 05-09-2021 at 08:27 AM.

  4. #4
    Registered User
    Join Date
    02-25-2021
    Location
    England
    MS-Off Ver
    2010
    Posts
    8

    Re: Vlookup a value with multiple criteria between two tabels

    Hi

    I tried you formula and it is showing "VALUE". I have tried something else to see if it helped and still having no luck. This is the formula used:

    =VLOOKUP(A4,'Table 2'!$A$5:$W$100,MATCH(1,('Table 2'!$A$1:$W$1=C$1)*('Table 2'!$A$3:$W$3=C$3),0),0)

    It shows the value but when I try it in the other cells fore example:

    D4 , E4, F4 etc...

    I just get #N/A.


    Any ideas would be apricated at this point as I am totally out of ideas for now.

  5. #5
    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,178

    Re: Vlookup a value with multiple criteria between two tabels

    Formula in post #2 must be entered with Ctrl+Shift+Enter (not necessary with OS 365 : Gregb11 probably forgot to mention this)
    Attached Files Attached Files
    Last edited by JohnTopley; 05-09-2021 at 08:59 AM.

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

    Re: Vlookup a value with multiple criteria between two tabels

    Yes, thanks John. Since I'm on MS365 I don't have to worry about array formulas so I forget sometimes when earlier version require entering them with Ctrl+Shift+Enter.

+ 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. [SOLVED] Vlookup for multiple column index number and Multiple criteria
    By Marshall008 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-13-2019, 08:36 PM
  2. Replies: 5
    Last Post: 05-27-2019, 03:46 PM
  3. [SOLVED] Vlookup multiple criteria returning multiple values
    By ykobure in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-16-2015, 07:28 AM
  4. [SOLVED] iserror and vlookup with multiple criteria from multiple tables along with concatenation.
    By marcusduton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-14-2015, 02:16 AM
  5. Vlookup (or index/match) with multiple criteria over multiple sheets
    By Groovicles in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2013, 01:56 PM
  6. vlookup? match? index? MULTIPLE criteria for vlookup search problem....
    By aborg88 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-11-2013, 09:56 AM
  7. Vlookup + multiple criteria + multiple data returned
    By stonesy in forum Excel General
    Replies: 6
    Last Post: 02-17-2010, 08:53 AM

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