+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP Issue

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    North Dakota
    MS-Off Ver
    Excel 2010
    Posts
    3

    VLOOKUP Issue

    I'm trying to compare some parts using vlookup. If the part numbers are the same I need to pull in column 5, however if column 5 is blank I need to pull in column 10.

    I'm assuming I need an IF statement in the col_index argument, but can't seem to construct it successfully.

    =VLOOKUP(A2, G2:R1500,???,FALSE)

    Thanks for any input.

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: VLOOKUP Issue

    Try:

    =IF(VLOOKUP(A2,G2:R1500,5,FALSE)="",VLOOKUP(A2,G2:R1500,10,FALSE),VLOOKUP(A2,G2:R1500,5,FALSE))


    OR:


    =INDEX(G2:R1500,MATCH(A2,G2:G1500,0),IF(INDEX(G2:R1500,MATCH(A2,G2:G1500,0),5)="",10,5))
    Last edited by GeneralDisarray; 07-06-2016 at 03:44 PM.
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

+ 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. Vlookup issue
    By saltytuna in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-09-2014, 12:26 PM
  2. Vlookup #N/A Issue
    By glud in forum Excel General
    Replies: 1
    Last Post: 01-18-2012, 04:34 PM
  3. VLOOKUP Issue
    By purplehaze1988 in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 02-25-2010, 12:19 PM
  4. Vlookup Issue (again)
    By melegaunt in forum Excel General
    Replies: 3
    Last Post: 01-24-2009, 08:46 PM
  5. [SOLVED] VLookup Issue
    By Shonte in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-18-2005, 05:30 PM
  6. VLOOKUP issue
    By Jonah in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2005, 07:00 PM
  7. VLOOKUP issue
    By Jonah in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-16-2005, 06:35 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