How to find cell value if MAX is know?

wytautas

New Member
Joined
Apr 9, 2013
Messages
20
Hi,

Excel have formula: =MAX(DB5;CX5;CT5;CP5;CL5;CH5;CD5;BZ5;BV5;BR5;BN5;BJ5;BF5;BB5;AX5;AT5;AP5;AL5;AH5;AD5;Z5;V5;R5;N5;J5;F5), row MAX value is CX5.
I would like to get cell value in CW6 (-1 Row and -1 Column from MAX).

Does anyone have ideas?

Thanks!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
try

=ADDRESS(5-1,MATCH(MAX(DB5;CX5;CT5;CP5;CL5;CH5;CD5;BZ5;BV5;BR5;BN5;BJ5;BF5;BB5;AX5;AT5;AP5;AL5;AH5;AD5;Z5;V5;R5;N5;J5;F5),5:5)-1)
 
Upvote 0
didn't realised that you're going to put the formula in row 5 as well.

try this
Code:
=ADDRESS(ROW(A5)-1,MATCH(MAX(CX5:DB5:CP5:CT5:CH5:CL5:BZ5:CD5:BR5:BV5:BJ5:BN5:BB5:BF5:AT5:AX5:AL5:AP5:AD5:AH5:V5:Z5:N5:R5:F5:J5),$A5:$DB5)-1)
 
Last edited:
Upvote 0
AlanY, wouldn't your formula give the address of the cell rather than the contents ?

Presumably you could use

=INDIRECT(ADDRESS(ROW(A5)-1,MATCH(MAX(CX5:DB5:CP5:CT5:CH5:CL5:BZ5:CD5:BR5:BV5:BJ5:BN5:BB5:BF5:AT5:AX5:AL5:AP5:AD5:AH5:V5:Z5:N5:R5:F5:J5),$A5:$DB5)-1))
 
Last edited:
Upvote 0
ok, that should works, in DH5 and copy down

Code:
=ADDRESS(ROW(A5)+1,MATCH(MAX(DB5,CX5,CT5,CP5,CL5,CH5,CD5,BZ5,BV5,BR5,BN5,BJ5,BF5,BB5,AX5,AT5,AP5,AL5,AH5,AD5,Z5,V5,R5,N5,J5,F5),A5:DB5,0)-1,1)

or you can simply that, if to use column DD

=ADDRESS(ROW(A5)+1,MATCH(DD5,A5:DB5,0)-1,1)
 
Last edited:
Upvote 0
AlanY, wouldn't your formula give the address of the cell rather than the contents ?

Presumably you could use

=INDIRECT(ADDRESS(ROW(A5)-1,MATCH(MAX(CX5:DB5:CP5:CT5:CH5:CL5:BZ5:CD5:BR5:BV5:BJ5:BN5:BB5:BF5:AT5:AX5:AL5:AP5:AD5:AH5:V5:Z5:N5:R5:F5:J5),$A5:$DB5)-1))

i think the OP already calculated the values but needed the address
 
Upvote 0
AlanY, wouldn't your formula give the address of the cell rather than the contents ?

Presumably you could use

=INDIRECT(ADDRESS(ROW(A5)-1,MATCH(MAX(CX5:DB5:CP5:CT5:CH5:CL5:BZ5:CD5:BR5:BV5:BJ5:BN5:BB5:BF5:AT5:AX5:AL5:AP5:AD5:AH5:V5:Z5:N5:R5:F5:J5),$A5:$DB5)-1))

apology, you're right (just read post#1 again).

try this
=INDIRECT(ADDRESS(ROW(A5)+1,MATCH(DD5,A5:DB5,0)-1,1))

btw, I assumed it's +1 Row as your example shows CW6.

Hi,

Excel have formula: =MAX(DB5;CX5;CT5;CP5;CL5;CH5;CD5;BZ5;BV5;BR5;BN5;BJ5;BF5;BB5;AX5;AT5;AP5;AL5;AH5;AD5;Z5;V5;R5;N5;J5;F5), row MAX value is CX5.
I would like to get cell value in CW6 (-1 Row and -1 Column from MAX).

Does anyone have ideas?

Thanks!
 
Last edited:
Upvote 0
glad that you got it sorted
 
Last edited:
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top