Closed Thread
Results 1 to 3 of 3

Double Criteria Search - Exact Match on First but Closest Match on Second

Hybrid View

  1. #1
    Registered User
    Join Date
    01-28-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Double Criteria Search - Exact Match on First but Closest Match on Second

    Have searched the boards and can't find this exact scenario, although odd, I imagine its quite common.

    Example:

    Item Cost Return Value
    Car 100 A
    Car 200 B
    Car 300 C
    Bus 100 D
    Bus 200 E
    Bus 300 F
    Train 100 G
    Train 200 H
    Train 300 I

    I need to search the table above to match two items: Item and Cost to return the 3rd column.
    Column1 needs to be an exact match, but column2 needs to be a closest match that is less than or equal to the value requested.

    e.g.
    Car 350 should return C
    Train 133 should return G

    I've only seen solutions to the effect of an array formula index(match( concatenating the two ranges and then using a closest match but that doesn't work as this isn't an ordered list by any means.

    Please, does anyone have any suggestions? I've been stuck for hours.... Thank you in advance!

    Attachment 138650

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: Double Criteria Search - Exact Match on First but Closest Match on Second

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Registered User
    Join Date
    01-28-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Double Criteria Search - Exact Match on First but Closest Match on Second

    Thanks and apologies. Received a server error when posting, and was trying to delete.

Closed 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