Results 1 to 11 of 11

Dynamic VLOOKUP

Threaded View

  1. #1
    Registered User
    Join Date
    11-11-2010
    Location
    Telford UK
    MS-Off Ver
    Excel 2003
    Posts
    6

    Question Dynamic VLOOKUP

    I have an extract that contains one or more rows for a given ID and on a separate sheet I need to modify the VLOOKUP formulae to only pick up the first occurrence for each ID. On the next row I then need the first occurrence of the next ID and so on. I have played about with this formulae to ensure that subsequent VLOOKUPs start at the row below the last selected row, but this only picks up the next occurrence of the same ID.
    =VLOOKUP(Sheet2!$D$2,INDIRECT("JLSExtract!A"&P2&":Q"&Q2),2,FALSE)

    I use ROW() to return the last selected row in cell P2 and the bottom row in cell Q2

    In effect I need to remove duplicates from the extract but the reason fro the VLOOKUP formula is that the selection is dependant upon data in the second column.

    Hope someone can help
    Last edited by Scubades; 11-15-2010 at 04:46 AM. Reason: To update thread to solved

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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