+ Reply to Thread
Results 1 to 5 of 5

Complex Vlookup

  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    Manchester, England
    MS-Off Ver
    2010
    Posts
    8

    Complex Vlookup

    Morning,

    I was hoping someone could help with a formula - I'll try to explain the best I can but if there is somewhere I can upload a sample spreadsheet to so you can see then that would be more distinct in what I need.

    I have 3 tabs - "User" "1 June 2009 - REGIONS" "1 June 2009 - LONDON"

    In "User" I have 3 cells which need populating - they are "B3" "B5" and "H5".
    Cells "B5" and "H5" are Data validated by List. The List entries in "B5" are "London UK, Regions UK, Dubai, Asia Pacific, Singapore". The list entries in "H5" are the same but also with "America, Euro, CNY"

    Cell "B3" is also derived from a Data Validation List and has 30 or 40 items. The value in here (IE Status rankings from Partner through to Trainee) is what the formula will use to Lookup the data values I need to return. Cells "B5" and "H5" will decide which Tabs are searched.

    Tabs "1 June 2009 - REGIONS" and "1 June 2009 - LONDON" are identical in layout and presentation. The only difference being that LONDON tab has different data values than REGIONS (These data values are manually entered and are purposefully different) but Column A through to AD are the same layout on both tabs.

    The Headers of the columns Start in A6 and go through to AD6
    The actual Data does not begin though until a few rows later from A10 to AD56
    Each column in that range has a different numerical value but the structure remains the same throughout both Tabs.
    In both tabs then, in range B10 to B56 are the text strings which can be selected in Cell "B3" on the User Tab. /// I can hear you all screaming "USE VLOOKUP" \\\

    I have done a table of the logic I need to apply to the formula, but I can't for the life of me find one that works without exceeding the 7 nested IF statements - someone please help?
    I have attached a screen shot of the table I created to assist you in understanding what it is I need.


    If you need more detail please do let me know - I would like to get this finished by tomorrow so I can impress the boss at appraisal! I've done all the hard work, this is to finish it off.

    Thanks very much

    Jamie.
    Last edited by jamieleeuk; 03-10-2010 at 12:58 PM. Reason: Adding a Sample Spreadsheet

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Complex Vlookup - Help Please

    you can upload to this forum
    click edit
    then go advanced
    then manage attachments
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    03-10-2010
    Location
    Manchester, England
    MS-Off Ver
    2010
    Posts
    8

    Re: Complex Vlookup - Help Please

    Thank you Martin. I have now added the spreadsheet.

    Kind Regards

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Complex Vlookup - Help Please

    perhaps like this
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-10-2010
    Location
    Manchester, England
    MS-Off Ver
    2010
    Posts
    8

    Re: Complex Vlookup - Help Please

    Martin - Brilliant!

    Works an absolute treat.

    Thank You!

+ 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