azbasketcat
New Member
- Joined
- Feb 20, 2010
- Messages
- 30
I am trying to use the following formula to find the MAX value in a row of data.
=SUMPRODUCT(MAX((C1:Z1)*MOD(COLUMN(C1:Z1),2)))
Esentially, I want to ignore the values in odd Columns like D and F and choose the max value in even columns like C and E.
When I select parts of the formula and hit F9, it looks like Excel is returning the correct values in the arrays, but the ultimate result gives me the max value of all columns, not just the odd columns.
I can get it to work using Ctrl+Shift+Enter, but I thought SUMPRODUCT would not require this to be treated as a CSE array formula.
Ultimately, I want to find the MAX of the absolute values of a large row of data =max(max(c1:z1),abs(min(c1:z1))), but I think this SUMPRODUCT question will help me get most of the way there.
Any help would be appreciated. Thanks - Randy
=SUMPRODUCT(MAX((C1:Z1)*MOD(COLUMN(C1:Z1),2)))
Esentially, I want to ignore the values in odd Columns like D and F and choose the max value in even columns like C and E.
When I select parts of the formula and hit F9, it looks like Excel is returning the correct values in the arrays, but the ultimate result gives me the max value of all columns, not just the odd columns.
I can get it to work using Ctrl+Shift+Enter, but I thought SUMPRODUCT would not require this to be treated as a CSE array formula.
Ultimately, I want to find the MAX of the absolute values of a large row of data =max(max(c1:z1),abs(min(c1:z1))), but I think this SUMPRODUCT question will help me get most of the way there.
Any help would be appreciated. Thanks - Randy