Hi Gurus,
I have this formula requirement, I am unable to solve. I have a table with raw data and another table (below) with possible combinations of criteria to sum the total.

I need ONE formula to calculate the sum of "Amount" field for all these combination.
I am aware that I can run a pivot and identify the total, but using pivot, I need to select each individual combination, populate the sum, change the combination, populate the sum and proceed until I am done with all the scenarios. But this is going to tiresome and I have several of these combinations from a big dataset.
Is there anyway to write one formula which can ignore a criteria if not available and sum based on the available ones.
Thankyou,
Cheers,
Ravi.
I have this formula requirement, I am unable to solve. I have a table with raw data and another table (below) with possible combinations of criteria to sum the total.

I need ONE formula to calculate the sum of "Amount" field for all these combination.
I am aware that I can run a pivot and identify the total, but using pivot, I need to select each individual combination, populate the sum, change the combination, populate the sum and proceed until I am done with all the scenarios. But this is going to tiresome and I have several of these combinations from a big dataset.
Is there anyway to write one formula which can ignore a criteria if not available and sum based on the available ones.
Thankyou,
Cheers,
Ravi.