Is there a formula that will show me the maximum value in an array based on a certain criteria? I have a list of parts and the teams that repair them. I want to find out the part in each team that has the highest dollar value. Is there a way to do that without needing to go through each part? I tried a DMAX formula, but apparently did something wrong because it evaluated to "VALUE". The formula I typed was =DMAX('Monthly Demand'!I2:K669, 'Monthly Demand'!I2:I669, 'Monthly Demand'!J2:J669 = "XPT") -- the first was my array, the second was the column with the dollar values of the parts, and the third is the column containing the team name.