+ Reply to Thread
Results 1 to 4 of 4

Value lookup based on product code and quantity

  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    5

    Value lookup based on product code and quantity

    I've attached a sample spreadsheet for the final figures I want, but I want to be able to just simply enter the Style and quantity ordered and have the "budget" column calculate automatically. I need the Style to be able to match and figure the corresponding price no matter what row I decide to put in whatever style based on need.

    Thanks for anyone that can help!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Value lookup based on product code and quantity

    You'll need to use VLOOKUP.

    =VLOOKUP(B5,$A$17:$B$19,2,FALSE)*D5
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-10-2011
    Location
    Austin, TX
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Value lookup based on product code and quantity

    Yes it does. Thank you!

  4. #4
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Value lookup based on product code and quantity

    As per your sample, put this in I5 and drag down

    INDEX($B$17:$B$19,MATCH(B5,$A$17:$A$19,0))*D5

    EDIT
    or do what ChemistB says lol need to remember to hit refresh every now and again
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

+ 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