+ Reply to Thread
Results 1 to 5 of 5

Need help with a formula to calculate price based upon 4 different criteria.

  1. #1
    Registered User
    Join Date
    02-07-2018
    Location
    Vermont, USA
    MS-Off Ver
    2016
    Posts
    2

    Need help with a formula to calculate price based upon 4 different criteria.

    I'm trying to create a pricing matrix that will calculate based on 4 separate inputs from the end user. Attached is my example, first tab (SOE) is where the user inputs criteria in B2:B5. I'm struggling with a formula to produce the following:

    A price should calculate in cells B9:B12 if the corresponding "request type" in cell B3 is selected. Otherwise the cells should remain blank.
    To calculate the price, here's an example of what I'd like to do:

    If B3 on the SOE tab = Contact
    Then price calculates on the SOE tab in B9.
    Price: =B2*Matrix!D2
    Also, depending on the value of B5 on the SOE tab, I want to add the value from E2 or F2 from the Matrix tab.
    And finally, if the value of B4 on the SOE tab is Med or High, I want to multiple the price by 1.5 for Med and 2 for High.
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Need help with a formula to calculate price based upon 4 different criteria.

    Try this:

    B9 =IF(B$3=LEFT(A9,LEN(A9)-1),(B$2*VLOOKUP(B$3,Matrix!A$2:D$5,4,0)+INDEX(Matrix!E$2:F$5,MATCH(B$3,Matrix!A$2:A$5,0),MATCH(B$5,Matrix!E$1:F$1,0)))*LOOKUP(B$4,{"High","Low","Med"},{2,1,1.5}),"")

    Also, check your DV drop downs. They aren't including all possible options.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Need help with a formula to calculate price based upon 4 different criteria.

    Here is another formula that accomplishes the same goal:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    02-07-2018
    Location
    Vermont, USA
    MS-Off Ver
    2016
    Posts
    2

    Re: Need help with a formula to calculate price based upon 4 different criteria.

    This is great - thank you so much for the quick response!

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Need help with a formula to calculate price based upon 4 different criteria.

    Glad we could help. Thanks for the rep!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula to calculate total price based on various IF statements & prices in a table
    By SeoulGal in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-14-2016, 02:06 PM
  2. [SOLVED] Multiple IF's to calculate price based on cost and add handling charge and round price
    By RoyRose in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-13-2014, 01:18 PM
  3. calculate retail price based on mark up on cost price
    By pvl in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-27-2014, 03:49 AM
  4. Formula to calculate a price from multiple criteria
    By orshims in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-18-2013, 04:11 PM
  5. Replies: 3
    Last Post: 06-10-2013, 05:36 AM
  6. Replies: 5
    Last Post: 09-02-2012, 04:34 PM
  7. Formula to calculate price based on sheet2
    By aharvestofhealth in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-31-2009, 02:53 PM

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