+ Reply to Thread
Results 1 to 7 of 7

If and Vlook Up for the NA

  1. #1
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    If and Vlook Up for the NA

    Need help with the below formula.

    =IF(B2<>"",VLOOKUP(A2,Dell!A1:K546,11,FALSE),"")

    When B2 is blank, vlookup is gonna refer to sheet dell and give me reference values.
    I need to incorporate in the same formula, were for the NA from the previous vlookup, excel should do a vlookup to another sheet.

  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,933

    Re: If and Vlook Up for the NA

    Just add it onto the end of your formula in place of the ""......
    =IF(B2<>"",VLOOKUP(A2,Dell!A1:K546,11,FALSE), VLOOKUP(A2,your-other-reference,11,FALSE) )
    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 Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: If and Vlook Up for the NA

    Try This, make some changes

    =IF(B2<>"",if(VLOOKUP(A2,Dell!A1:K546,11,FALSE)="NA",VLOOKUP(A2,Sheet2!A1:K546,11,FALSE),VLOOKUP(A2,Dell!A1:K546,11,FALSE))

    Regards,
    Suhas

  4. #4
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: If and Vlook Up for the NA

    Thanks for the response. Request you to check the attachment.

    Column 2 and column 3 or different vlookups

    I am trying to eliminate 2 different columns and looking for a formula to combine it as one

    Thanks in advance
    Attached Files Attached Files

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

    Re: If and Vlook Up for the NA

    Try this, copied down...
    =IFERROR(IFERROR(VLOOKUP(A2,Sheet2!$A$1:$B$546,2,),VLOOKUP(A2,Sheet3!$A$1:$B$59,2,)),"Not Found")

  6. #6
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: If and Vlook Up for the NA

    that worked like a champ ...... thankzzzzzzzz a lottt FDibbins

  7. #7
    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,933

    Re: If and Vlook Up for the NA

    Happy to help

+ 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] Vlook Up with >= <= <
    By vajeednawab in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-05-2013, 08:02 AM
  2. sum if and Vlook up
    By fletchk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2013, 05:28 PM
  3. [SOLVED] VBA Vlook Up
    By NeedForExcel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-19-2013, 05:35 AM
  4. #N/A with Vlook up
    By Guy Wates in forum Excel General
    Replies: 1
    Last Post: 10-14-2005, 09:02 AM
  5. [SOLVED] vlook up
    By Sean in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

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