+ Reply to Thread
Results 1 to 5 of 5

Lookup one value, if false, vlookup using another value, if false then display 0

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    7

    Lookup one value, if false, vlookup using another value, if false then display 0

    Struggling to find a solution for this.

    I need to lookup a value in one column, if that value is false, then lookup using another column, if that is false then display a 0.

    Have tried using ISNA, Nested Ifs etc.

    So in the attached spreadsheet I need to use the values in f or g to lookup against a/b to display the order amount in H, or if its not in either display a 0.

    Thanks for any help, sure this will be very easy for someone that knows!
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,904

    Re: Lookup one value, if false, vlookup using another value, if false then display 0

    =IFERROR(IFERROR(VLOOKUP(F2,A$2:C$8,3,0),VLOOKUP(G2,B$2:C$8,2,0)),0)
    try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Lookup one value, if false, vlookup using another value, if false then display 0

    In H2

    =IFERROR(IFERROR(INDEX(C:C,MATCH(F2,A:A,0)),INDEX(C:C,MATCH(G2,B:B,0))),"")

    Copy down
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: Lookup one value, if false, vlookup using another value, if false then display 0

    Another possible solution

    Please Login or Register  to view this content.
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Lookup one value, if false, vlookup using another value, if false then display 0

    Hi, You can try this also

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

+ 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] Marking a whole group FALSE if one member is FALSE
    By j_Southern in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-23-2014, 11:34 AM
  2. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  3. Replies: 1
    Last Post: 09-30-2013, 10:56 PM
  4. If statement, answer is false, hide false.
    By Mel B in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-07-2013, 06:36 PM
  5. IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM?
    By bchilt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-20-2006, 05:25 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