+ Reply to Thread
Results 1 to 5 of 5

Matching Data for uneven ranges

  1. #1
    Registered User
    Join Date
    05-25-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    4

    Matching Data for uneven ranges

    Hello

    I am having an issue matching two ranges of data that have different sizes. I have data for sign supports (the bar that the sign is mounted on) and the signs themselves. The issue is that there can be several signs per support. I have attached an example show the issue. Basically I have 15 signs that are on 10 supports. Each support is assigned to a maintenance region. I need a function that can assign the maintenance region to the appropriate sign. Any ideas or solution would be extremely helpful because I am working with a large set of data.

    Thank You!
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Matching Data for uneven ranges

    If your Support ID is indeed in ascending order, then try:

    =VLOOKUP(A2,$C$2:$D$11,2)

    otherwise, safer

    =VLOOKUP(A2,$C$2:$D$11,2,FALSE)

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Matching Data for uneven ranges

    Try this in F2
    Please Login or Register  to view this content.
    Drag/Fill Down.

    Is that what you need?
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Matching Data for uneven ranges

    In F2,

    =VLOOKUP(A2,$C$2:$D$11,2,FALSE) dragged down

    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    05-25-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    4

    Cool Re: Matching Data for uneven ranges

    Quote Originally Posted by ChemistB View Post
    In F2,

    =VLOOKUP(A2,$C$2:$D$11,2,FALSE) dragged down

    Does that work for you?
    Yes these all work. Thank you all!

+ Reply to Thread

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