Consulting

Results 1 to 4 of 4

Thread: Solved: Mulit Point Lookup Formula

  1. #1
    VBAX Contributor
    Joined
    May 2010
    Location
    Sydney, NSW, Australia
    Posts
    170
    Location

    Solved: Mulit Point Lookup Formula

    Hi Guys, I have a small issue, I need to look up
    some information, I could do it with code but I would love to do it with
    formulas if possible.

    Here is my sample data:

    Edit: Grrrr, the board doesn't take HTML sample data. Anyone know how to post a table from Excel in to here?

    Here are the rules:
    I have the config (Example DA2)
    I have a price (Example 15.28)
    I need to find the Tier and the Class.
    Some prices appear in multiple spots. In this case I need to follow these
    rules:
    Stay Standard if possible
    Otherwise check one column to the left and right of standard
    If still not found check one more column out and so on and so forth.
    In my example I would expect Standard and Tier 1 to be returned

    As another example I have DA1 and 4.11 as the price
    I would expect Mid Tier 5 to be returned over Budget 4 or Super Budget 3
    Hope that makes sense and hope this can be done with formulas, don't worry
    about posting VBA code as I can do that myself and I don't want to waste anyones time but if it can be done with formulas I would be super happy.

    I can reconfigure the layout or repeat the config headings if needed,
    this data will be used for this purpose only so I can play around with the
    layout (initially it came from elsewhere which is the reason for the format)

    Cheers

    Dan

  2. #2
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    750
    Location
    Maybe you can post a sample in Excel itself?
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

  3. #3
    VBAX Guru mancubus's Avatar
    Joined
    Dec 2010
    Location
    "Where I lay my head is home" :D
    Posts
    2,644
    Quote Originally Posted by Blade Hunter
    Anyone know how to post a table from Excel in to here?
    when posting, scrool down, manage attachments, upload.
    PLS DO NOT PM; OPEN A THREAD INSTEAD!!!

    1) Posting Code
    [CODE]PasteYourCodeHere[/CODE]
    (or paste your code, select it, click # button)

    2) Uploading File(s)
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) (multiple files can be selected while holding Ctrl key) / Upload Files / Done
    Replace company specific / sensitive / confidential data. Include so many rows and sheets etc in the uploaded workbook to enable the helpers visualize the data and table structure. Helpers do not need the entire workbook.

    3) Testing the Codes
    always back up your files before testing the codes.

    4) Marking the Thread as Solved
    from Thread Tools (on the top right corner, above the first message)

  4. #4
    VBAX Contributor
    Joined
    May 2010
    Location
    Sydney, NSW, Australia
    Posts
    170
    Location
    It's all good, resolved on another board

    http://www.mrexcel.com/forum/showthread.php?t=532821

    Thanks anyway.

    Dan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •