Thanks for your responses, apologize for lack of detail. Here is my problem below. Trying to determine my replacement cost for supplies already purchased. Problem in cross-referencing three inputs, pipe, zone and month? This is small example as I will have many more pipes, zones and months.
Have tried sumifs, dsum, arrays, nested formulas, etc. Can not get any to work, but I know it can work somehow.
Products purchased and associated units
Pipe Zone Feb-04 Mar-04
MGT 1 10,000 10,000
TCPL 1 5,000 5,000
TCPL 2 80,939 86,521
MGT 2 10,000 10,000
ANR 1 17,342 15,221
ANR 2 69,629 70,711
Replacement cost for products
Pipe Zone Feb-04 Mar-04
ANR 1 0.30 0.30
ANR 2 0.40 0.40
MGT 1 0.25 0.25
MGT 2 0.35 0.35
TCPL 1 0.15 0.15
TCPL 2 0.20 0.20
In above example will want an output that states for line 1 that replacement cost is 0.25 (MGT zone 1 for feb-mar), for line 2 replacement cost is 0.15 (TCPL zone 1 for feb-mar), etc.