multiple criteria Costing

harky

Active Member
Joined
Apr 8, 2010
Messages
408
Office Version
  1. 365
  2. 2024
Platform
  1. Windows
Anyone can help me?
I think use IF but i am not sure how it to do...
e.g the price is based on Col S (Option) and Col T (Company). If Col I is X, Col U will sum the price based on Col I if Col S and Col T x amount?

Book1.xlsx
GHIJKLMNOPQRSTUVWXYZAAABACADAE
1SizecategoryType 1Type 2Type 3Type 4Type 5Type 6Type 7Type 8DeliveryAd Hoc JobOptionCompany Type 1 Cost Type 2 Cost Type 3 Cost Type 4 Cost Type 5 Cost Type 6 Cost Type 7 Cost Type 8 Cost Delivery CostAd Hoc Job CostTotal
22BStationery11111111111AP$ 11.00$ 12.00$ 13.00$ 14.00$ 15.00$ 16.00$ 17.00$ 18.00$ 15.00$ 100.00$ 231.00
32BStationery11111111111BB$ 1.00$ 2.00$ 3.00$ 4.00$ 5.00$ 6.00$ 7.00$ 8.00$ 9.00$ 10.00$ 55.00
Data
Cell Formulas
RangeFormula
AE2:AE3AE2=SUM(U2:AD2)


Book1.xlsx
ABCDEFGHIJKL
1OptionCompany Type 1 Cost Type 2 Cost Type 3 Cost Type 4 Cost Type 5 Cost Type 6 Cost Type 7 Cost Type 8 Cost Delivery CostAd Hoc Job Cost
21AP$ 11.00$ 12.00$ 13.00$ 14.00$ 15.00$ 16.00$ 17.00$ 18.00$ 15.00$ 100.00
32AP$ 21.00$ 22.00$ 23.00$ 24.00$ 25.00$ 26.00$ 27.00$ 28.00$ 29.00$ 100.00
43AP$ 31.00$ 32.00$ 33.00$ 34.00$ 35.00$ 36.00$ 37.00$ 38.00$ 39.00$ 100.00
54AP$ 41.00$ 42.00$ 43.00$ 44.00$ 45.00$ 46.00$ 47.00$ 48.00$ 49.00$ 100.00
61BB$ 1.00$ 2.00$ 3.00$ 4.00$ 5.00$ 6.00$ 7.00$ 8.00$ 9.00$ 10.00
72BB$ 2.00$ 4.00$ 6.00$ 8.00$ 10.00$ 12.00$ 14.00$ 16.00$ 18.00$ 20.00
83BB$ 3.00$ 6.00$ 9.00$ 12.00$ 15.00$ 18.00$ 21.00$ 24.00$ 27.00$ 30.00
94BB$ 4.00$ 8.00$ 12.00$ 16.00$ 20.00$ 24.00$ 28.00$ 32.00$ 36.00$ 40.00
Option Price list
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hello, do you mean something like e.g.

Excel Formula:
=SUM(('Option Price list'!$C$2:$L$9)*('Option Price list'!$A$2:$A$9=Data!$S2)*('Option Price list'!$B$2:$B$9=Data!$T2)*('Option Price list'!$C$1:$L$1=Data!U$1))*I2
 
Upvote 0
For 2021 version
In U2 copied down.
Excel Formula:
=$I2:$R2*INDEX('Option Price list'!$C$2:$L$9,SUMPRODUCT(('Option Price list'!$A$2:$A$9=$S$2)*('Option Price list'!$B$2:$B$9=$T2)*(ROW('Option Price list'!$A$2:$A$9)-ROW($A$1))),)
 
Upvote 0
For 2021 version
In U2 copied down.
Excel Formula:
=$I2:$R2*INDEX('Option Price list'!$C$2:$L$9,SUMPRODUCT(('Option Price list'!$A$2:$A$9=$S$2)*('Option Price list'!$B$2:$B$9=$T2)*(ROW('Option Price list'!$A$2:$A$9)-ROW($A$1))),)
this doesnt work for 365 version.

sorry forget to update my profile
 
Upvote 0
Hello, do you mean something like e.g.

Excel Formula:
=SUM(('Option Price list'!$C$2:$L$9)*('Option Price list'!$A$2:$A$9=Data!$S2)*('Option Price list'!$B$2:$B$9=Data!$T2)*('Option Price list'!$C$1:$L$1=Data!U$1))*I2
this work, so i just need to change this part?

=SUM(('Option Price list'!$C$2:$L$9)*('Option Price list'!$A$2:$A$9=Data!$S2)*('Option Price list'!$B$2:$B$9=Data!$T2)*('Option Price list'!$C$1:$L$1=Data!U$1))*I2
 
Upvote 0
this work, so i just need to change this part?

=SUM(('Option Price list'!$C$2:$L$9)*('Option Price list'!$A$2:$A$9=Data!$S2)*('Option Price list'!$B$2:$B$9=Data!$T2)*('Option Price list'!$C$1:$L$1=Data!U$1))*I2

Hello, many thanks for the feedback. As far as your question is concerned I am not sure what is the answer - "change" in comparison to what - e.g. your original formula?
 
Upvote 0

Forum statistics

Threads
1,225,137
Messages
6,183,080
Members
453,146
Latest member
Lacey D

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