+ Reply to Thread
Results 1 to 5 of 5

Lookup nearest Value in one Column and Match the next Collumn

  1. #1
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2010
    Posts
    117

    Lookup nearest Value in one Column and Match the next Collumn

    Hello, I am trying to put together a formula but need assistance...

    I have two sheets - One Sheet has a list of Desk References and Equipment Information and the other Sheet has a list of Desk References and Telephone Numbers.

    I would like the First Sheet to lookup the Desk Reference and Match the Nearest Telephone Number compared to the Desk Reference the Equipment is on.

    I have attached an example workbook.

    Any assistance will be most appreciated!!
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,866

    Re: Lookup nearest Value in one Column and Match the next Collumn

    Does this work for you:

    =VLOOKUP(A2,TELEPHONES!$A$2:$B$29,2,TRUE)
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2010
    Posts
    117

    Re: Lookup nearest Value in one Column and Match the next Collumn

    Hi thanks but that didn't work sorry.

    Example would be if I had kit on Desk 5 but telephone numbers on Desk 1, 4, 8, 10 then I would like Excel to show me the Telephone number on Desk 3.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Lookup nearest Value in one Column and Match the next Collumn

    Perhaps then you mean for something along the lines of:

    Please Login or Register  to view this content.
    not clear what happens when equidistant (above will pull lower desk)

  5. #5
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2010
    Posts
    117

    Re: Lookup nearest Value in one Column and Match the next Collumn

    Thank very much that works a treat

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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