+ Reply to Thread
Results 1 to 3 of 3

Help on vlookup formula and data

  1. #1
    Registered User
    Join Date
    02-04-2009
    Location
    CA USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Help on vlookup formula and data

    i have attached my sample spreadsheet to this thread and was wondering if i could get assistance in this.

    Details:
    Workbook has following sheets:
    "equipment List" and "vlookup data"

    "equipment list" has following fields where cost is the field that needs the vlookup data value.

    model, building, cost

    "vlookup data" has following fields in 2 different ranges.
    range1
    manfacturer, model, cost-usa, cost-canada,cost-england
    range2
    building, country

    requirement is that "cost" field in "equipment list should have the value based on the model and cost with respect to the building value.

    i can do simple vlookup to get "a cost-country" value but fail to understand how to ensure the value comes from the correct cost-country column based on the building info.
    Attached Files Attached Files
    Last edited by pcrew; 02-04-2009 at 06:01 PM. Reason: issue resolved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Help on vlookup formula and data

    Take a look, does this do what you want?
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-04-2009
    Location
    CA USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Help on vlookup formula and data

    JBeaucaire

    Thanks for the quick response and help on this. that worked completely.

    Note: The formula in "equipment list" cell E-2 is incorrect but i was able to use the one from E3 and it works like a charm.

    I am really glad i found this forum thru google and the team here is really awesome. I will contribute in all possible ways i can to help out others.

+ 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