Hi and thank you in advance for the help. I have attached a small mockup of the dataset I am working with. I have been trying to use a combination of SUMPRODUCT & LARGE TO find in the dataset the 2nd largest value, summing on value 2, where value 1 = A.
For example, the 2nd largest value that meets the criteria I laid out above is 11,500,000 (or 'Value 1' = A, 'Value 2' = ABC, 'Value 3' = 10,500,000 & 1,000,000).
I've been able to figure our how to combine SUMPRODUCT and LARGE to just get me the 2nd largest value in a dataset, but once I throw in combining items based on 'Value 2', I get thrown for a loop.
VALUE1 VALUE2 VALUE3
A ABC 10,500,000
A ABC 1,000,000
A XYZ 12,000,000
A LLL 3,000,000
A MMM 700,000
A ZZZZ 10,750,000
B ABC 11,000,000
B ABC -
B XYZ 5,000,000
B LLL 3,000,000
B MMM 700,000
B ZZZZ 20,000,000
For example, the 2nd largest value that meets the criteria I laid out above is 11,500,000 (or 'Value 1' = A, 'Value 2' = ABC, 'Value 3' = 10,500,000 & 1,000,000).
I've been able to figure our how to combine SUMPRODUCT and LARGE to just get me the 2nd largest value in a dataset, but once I throw in combining items based on 'Value 2', I get thrown for a loop.
VALUE1 VALUE2 VALUE3
A ABC 10,500,000
A ABC 1,000,000
A XYZ 12,000,000
A LLL 3,000,000
A MMM 700,000
A ZZZZ 10,750,000
B ABC 11,000,000
B ABC -
B XYZ 5,000,000
B LLL 3,000,000
B MMM 700,000
B ZZZZ 20,000,000