+ Reply to Thread
Results 1 to 6 of 6

Need formula for price based on quantity and product name on a separate sheet.

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

    Need formula for price based on quantity and product name on a separate sheet.

    What I'd like to do is have it where I will enter a quantity in column 'D' on sheet 1, and column 'I' will automatically formulate a price based on quantity multiplied by the price per unit which is set to a corresponding style number on sheet 2. It would also have to take in account the style number on sheet 1 (column B) and make sure it matches the style number in sheet 2 (where it is in column A).

    I've attached an example with prices already filled in based on manual calculations. Can this be done? Any help would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-10-2011
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Need formula for price based on quantity and product name on a separate sheet.

    Here is the simplest way I could think of it:

    Please Login or Register  to view this content.
    You copy that down in Budget and it will automatically pull it for you.

    OR

    You name the range of Styles on sheet 2, turn the Styles on sheet 1 into dropdowns via Data Validation, add a column next to it called PER UNIT or something similar, and put:

    Please Login or Register  to view this content.
    Last edited by ZENITH; 08-10-2011 at 04:38 PM.
    When helped,use the icon right of the post #.

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

    Re: Need formula for price based on quantity and product name on a separate sheet.

    That works great!

    What do you mean by named ranges? The actual product style names aren't just a list like 1, 2, 3, etc. They range from COV111 to FRO3441. Things likes that.

    Also, could you explain how the drop down boxes could come into play?

    Either way, this works great with what I'm trying to do so far, so thanks a lot!

  4. #4
    Registered User
    Join Date
    08-10-2011
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Need formula for price based on quantity and product name on a separate sheet.

    Quote Originally Posted by alepoutre View Post
    What do you mean by named ranges?
    I mean go to sheet 2, select A5:A7, go to formulas tab, define name STYLE

    then on sheet 1 on the style cell B5 select, and go to data tab, Data Validation, change to list, and put =STYLE in Source box. Then you create a new column to the right of it and put that code :
    Please Login or Register  to view this content.
    That will let you use a dropdown box to select the price per unit IF on sheet 2 the prices are right next to the style in column B, otherwise you need to change that range Sheet2!$A$5:$B$7 to go to the column your price is in and change the number 2 to the column number.

    Its a good way to do it that way you can use basic math in your budget field without it getting messy.
    Last edited by ZENITH; 08-10-2011 at 04:44 PM.

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

    Re: Need formula for price based on quantity and product name on a separate sheet.

    Quote Originally Posted by ZENITH View Post
    I mean go to sheet 2, select A5:A7, go to formulas tab, define name STYLE
    Is there a reason why under the formulas tab that the "Insert Name" option would be greyed out, even when I have my cells selected?

  6. #6
    Registered User
    Join Date
    08-10-2011
    Location
    Michigan, USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Need formula for price based on quantity and product name on a separate sheet.

    Make sure you aren't editing a cell or copying some cells, press escape, if that doesn't correct it you may need to save and restart excel.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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