Excel - find value in two dimensions
Sheet layout:: B1:E1
column A2: A5
headers B2:E5
: row headers : data
Array formula:
{MAX(IF(B2:E5=MAX(B2:E5);ROW(B2:E5)-1;""}
Since the question is first asked as "d", the corresponding array formula is below:
{=OFFSET(A1;MAX(IF(B2:E5=MAX(B2:E5);ROW(B2:E5)-1;""));0)}
Shift-Ctrl-Enter in the formula window to paste. The slanted brackets are inserted by Excel, not by the user.
source to share
And one more humble opinion of the girl:
=ADDRESS(ROW(OFFSET(A1,MAX(IF(B2:E5=MAX(B2:E5),ROW(B2:E5)-1,"")),0)),COLUMN(OFFSET(A1,0,MAX(IF(B2:E5=MAX(B2:E5),COLUMN(B2:E5)-1,"")))),4)
- but entered as an ARRAY formula through Ctrl+Shift+Enter
, will return E5
(assuming areas @Jรผri Ruut
), which is simply the address of the desired cell.
source to share
Ok, I would program a macro like this: Iterate over each line - find the maximum for that line. Store the value in an array and then calculate the maximum again.
Perhaps it will work with formulas too. Just calculate the maximum of each row in a separate column and THEN calculate the maximum of that column.
source to share