+ Reply to Thread
Results 1 to 8 of 8

Nested VLOOKUP (I think)

  1. #1
    Registered User
    Join Date
    10-12-2013
    Location
    Oldbury, UK
    MS-Off Ver
    2016
    Posts
    17

    Nested VLOOKUP (I think)

    Hey guys,

    I am trying to create a formula that will lookup a value from a cell in a table and then look at a cell that is relative to that position.

    I.e. If it finds the value "1" in a cell, it will look in the first column of the table for the value "1" and once it finds it, get the reference of the cell three cells to the right of it (i.e. if 1 is in cell A1, return the value "A4" for use in another formula.)


    I hope I have explained that well enough for you to understand and help!

    Thank you for any help you can offer,

    Rich

  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: Nested VLOOKUP (I think)

    Hi and welcome to the forum

    Have you considered using the index/match combo?
    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 alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Nested VLOOKUP (I think)

    Here is a link to explain Vlookup

    http://www.techonthenet.com/excel/formulas/vlookup.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    10-12-2013
    Location
    Oldbury, UK
    MS-Off Ver
    2016
    Posts
    17

    Re: Nested VLOOKUP (I think)

    Hi guys,

    Thanks for the speedy replies!

    FDibbins - how would I go about using an index match combo - thats a new one on me!

    Alansidman - thanks for the link, I have used plenty of VLOOKUPs before, but this seems out of their /my range!

    Rich

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Nested VLOOKUP (I think)

    look at this link for index/match

    http://www.contextures.com/30excelfu...n30days01.html

    You may want to post a copy of your spreadsheet for analysis

  6. #6
    Registered User
    Join Date
    10-12-2013
    Location
    Oldbury, UK
    MS-Off Ver
    2016
    Posts
    17

    Re: Nested VLOOKUP (I think)

    Hey all,

    With the links you have provided, I have put it together - thank you for your help!

    Rich

    Final Formula: =IF(G3>0,(IF(INDEX(DATA!$AD$231:$AG$262,G3,4)=0,"",(INDEX(DATA!$AD$231:$AG$262,G3,4)))),"")

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

    Re: Nested VLOOKUP (I think)

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Nested VLOOKUP (I think)

    If the result of the INDEX function is a number then you can reduce that to:

    =IF(G3>0,IFERROR(1/(1/INDEX(Data!$AD$231:$AG$262,G3,4)),""),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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 across sheets, nested Vlookup possibly?
    By paid2mkgrlspanic in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-09-2009, 05:10 PM
  2. Nested IF with a VLOOKUP?
    By plunk25 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-25-2006, 01:10 PM
  3. [SOLVED] Nested If with VLOOKUP's... I think!
    By Tim C in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 02:05 PM
  4. [SOLVED] Nested If with VLOOKUP's... I think!
    By PeterManner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. Nested If with VLOOKUP's... I think!
    By PeterManner in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-04-2005, 05:05 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