Generate a cost from a pricing matrix with various options

mikeyduncan

New Member
Joined
Jul 28, 2016
Messages
1
Hi all,

I am trying to create a formula that will allow a user to simply fill in some criteria and a price will generate accordingly.
I have tried to use a SUMIFS formula but have only got as far as doing the basic price without any of the optional extras.

Here is an example of the questions/criteria that will determine the price:
Quantity5000
Width15MM
Both sides?
No. of Extra colours?
Ferrule?
Lobster?
Buckle?
Price:1200

<tbody>
</tbody>

My plan was that questions such as both sides, ferrule, lobster, and buckle could be filled in with 'y' to indicate it needs to be included in price. For the extra colours it would need to multiply the price for extra colours by the number entered

Here is the data I wish to use:

QTY
5010020040050010003000500010000
10MM1.120.940.680.540.390.310.250.220.20
15MM1.171.000.740.590.430.340.270.240.22
Size
20MM1.291.020.810.620.450.350.280.260.24
25MM1.100.860.670.490.390.360.340.32
Ferrule0.01Lobster0.05Buckle0.08
Both sides0.03Extra colour0.01Set up10.00


<tbody>
</tbody>
E.g if customer wants 3000, 15MM lanyards with both side print it will be 0.27 + 0.03 x 3000 = £900 + £10 setup

With the SUMIFS formula I have managed to get the base price but cannot work out how to include the optional extras.

I think I may be going about it the wrong way but if it is possible in any way I would greatly appreciate any help/suggestions.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Welcome to the forum.

This could work for you:

ABCDEFGHIJKLMNO
1Quantity3000SizeQTY
2Width15MM5010020040050010003000500010000
3Both sides?y10MM1.120.940.680.540.390.310.250.220.2
4No. of Extra colours?15MM1.1710.740.590.430.340.270.240.22
5Ferrule?20MM1.291.020.810.620.450.350.280.260.24
6Lobster?25MM1.10.860.670.490.390.360.340.32
7Buckle?
8Price:910Ferrule0.01Lobster0.05Buckle0.08
9Both sides0.03Extra colour0.01Set up10

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet9

Worksheet Formulas
CellFormula
B8=(INDEX(G3:O6,MATCH(B2,F3:F6,0),IFERROR(MATCH(B1,G2:O2),1))+IF(B3="y",G9,0)+B4*K9+IF(B5="y",G8,0)+IF(B6="y",K8,0)+IF(B7="y",O8,0))*B1+O9

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



Put the values you want in column B. I suggest a drop down in B2 using F3:F6 as the values. B3, B5, B6, B7 put a "y" in if those are needed. Put a number in B4. The price is given in B8. The price is driven off of the table. If you change the table, the pricing will automatically adjust.

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,214,936
Messages
6,122,340
Members
449,079
Latest member
rocketslinger

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top