+ Reply to Thread
Results 1 to 3 of 3

An IF staement with a nested VLOOKUP

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    San Diego
    MS-Off Ver
    2013
    Posts
    16

    An IF staement with a nested VLOOKUP

    I am trying to do an IF statement with a VLOOKUP and it is giving me an error. The syntax would be =IF(Logical TEST, If True, If false).
    So......
    =IF(VLOOKUP([@Column1],US_UPC,1,FALSE) = [@Column1],VLOOKUP([@Column1],KR_UPC,1,FALSE),"False")


    Also, is it possible to have several Logical Tests?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: An IF staement with a nested VLOOKUP

    We would need to see a asmple of what you are working with. Could it be that the 1st vlookup if returning an error?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: An IF staement with a nested VLOOKUP

    Hi,

    What value are you trying to look up. If you upload the workbook maybe we can advise further.
    And yes you can have many logical test but above half a dozen or so formulae become hard to read and understand quickly.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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] Nested Vlookup, or Vlookup that looks at two columns, not just one?
    By FirestarZA in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2014, 08:18 AM
  2. Nested VLOOKUP
    By dave9860E in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2013, 06:59 AM
  3. Date of Bank staement exceeds 1 month
    By Neil Herbert in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-12-2012, 06:40 AM
  4. Vlookup across sheets, nested Vlookup possibly?
    By paid2mkgrlspanic in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-09-2009, 05:10 PM
  5. If staement and macro
    By Kelly******** in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-01-2006, 07:55 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