+ Reply to Thread
Results 1 to 13 of 13

Looking up data in a different worksheet based on criteria

Hybrid View

  1. #1
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Looking up data in a different worksheet based on criteria

    You could most likely do everything you need to with the VLOOKUP function. If you post a sample workbook, showing you would be easier.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  2. #2
    Forum Contributor
    Join Date
    10-08-2010
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    386

    Re: Looking up data in a different worksheet based on criteria

    so what i get from your post you want to type in the part and it automatically puts in the fees?

    thats simple

    in the column that you want to have the fees show up in just type the following

    (lets say your part is in a1)
    =IF(A1=0,0,VLOOKUP(A1,costs!$A$1:$B,2,false))
    using this it will be a zero if you have not yet entered the part, and when you do, if it fins a match then it will give you the cost for the part number. adjust the cell references as neccisary, as im not sure where exactly you have your lists.
    Last edited by GaidenFocus; 10-14-2010 at 03:13 PM.

  3. #3
    Registered User
    Join Date
    10-14-2010
    Location
    Winnipeg, Manitoba
    MS-Off Ver
    Office - 2019
    Posts
    27

    Re: Looking up data in a different worksheet based on criteria

    Quote Originally Posted by ConneXionLost View Post
    You could most likely do everything you need to with the VLOOKUP function. If you post a sample workbook, showing you would be easier.
    Here's most of the spreadsheet I have set up.

    Brokerage contains all the brokerage fees I have to add to my costs.

    Our Costs is the sheet that includes all my combined costs.

    What I want to do is have Excel look up the value of an item, ie the Oil Cooler & put in the correct brokerage fee (93.50) into the the cell under the Broker(age) Fees column.

    I don't mind looking up the correct brokerage fees on a small sheet (this is a small one for me), but on the larger sheets with 100 or more items it's a little bit tedious.

    I've attached the sheet.
    Attached Files Attached Files

  4. #4
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Looking up data in a different worksheet based on criteria

    Mods made to "Our Costs" tab, as well as mods (in yellow) to the "Brokerage" tab.

    Hope that helps.

    Cheers,
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-14-2010
    Location
    Winnipeg, Manitoba
    MS-Off Ver
    Office - 2019
    Posts
    27

    Re: Looking up data in a different worksheet based on criteria

    Quote Originally Posted by ConneXionLost View Post
    Mods made to "Our Costs" tab, as well as mods (in yellow) to the "Brokerage" tab.

    Hope that helps.

    Cheers,
    Thank you, it helps alot. The one thing I didn't mention though and from what I've read is that Excel tends to go with the closest lower match if it doesn't find an exact match.

    Can I get Excel to use the next highest level.

    For example, instead of using 93.50, have it use 102.50?

    Thank you again for getting me on the right track.

+ 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