I have a series of formulas to calulate values from a table, and there may be one or more criteria for a given criteria range. For instance, there are two criteria listed for the Species range and three for the Product range in the example below:
=SUM(SUMIFS(DataTable[Volume],DataTable[Species],{"Hardwood","Pine"},DataTable[Product],{"Poles*","Sawtimber*","Pulp*"},DataTable[Month],$B$3))
I would like to replace the Species and Product criteria lists each with a single cell reference where the lists are maintained (cells B10 and B11, respectively). In essence, the formula would look something like:
=SUM(SUMIFS(DataTable[Volume],DataTable[Species],B10,DataTable[Product],B11,DataTable[Month],$B$3))
Is it possible to get this to work? I am beginning to have my doubts, but I may have the syntax wrong... Here is my latest attempt that still fails:
Cell B10: "Hardwood","Pine"
Cell B11: "Poles*","Sawtimber*","Pulp*"
=SUM(SUMIFS(DataTable[Volume],DataTable[Species],"{"&B10&"}",DataTable[Product],"{"&B11&"}",DataTable[Month],$B$3))
Cheers!
=SUM(SUMIFS(DataTable[Volume],DataTable[Species],{"Hardwood","Pine"},DataTable[Product],{"Poles*","Sawtimber*","Pulp*"},DataTable[Month],$B$3))
I would like to replace the Species and Product criteria lists each with a single cell reference where the lists are maintained (cells B10 and B11, respectively). In essence, the formula would look something like:
=SUM(SUMIFS(DataTable[Volume],DataTable[Species],B10,DataTable[Product],B11,DataTable[Month],$B$3))
Is it possible to get this to work? I am beginning to have my doubts, but I may have the syntax wrong... Here is my latest attempt that still fails:
Cell B10: "Hardwood","Pine"
Cell B11: "Poles*","Sawtimber*","Pulp*"
=SUM(SUMIFS(DataTable[Volume],DataTable[Species],"{"&B10&"}",DataTable[Product],"{"&B11&"}",DataTable[Month],$B$3))
Cheers!