Offset Match Max - Priority Issue

Copper Contributor

Hi folks,

 

I am relatively new to Excel functions, but have set up a shared sheet in Google docs for my friends and I to do an online auction for our Fantasy Football draft in real time.

 

I have each of our names in a separate column across row 11, and a blank cell below each name in row 12 for us to enter a bidding amount. I have a cell set up with the following formula to display the current high bid:

 

=MAX(A12:L12)

 

Next to it, I want to display the name of the high bidder, so I am using this:

 

=OFFSET(A12,-1,match(MAX(A12:L12),A12:L12,0)-1)

 

It works almost perfectly, BUT when two people enter the same amount, it will automatically display the value of the column further to the left, regardless of who entered it first. I.e. if the person in Column E bids 55, they will appear in the high bid box. If the person in Column C also bids the same amount, their name will replace the original bidder in the high bid box. But if someone in column J then bids 55, it will not kick out the previous bidder unless person J bids higher.

 

Is there any way around Excel reading the data from left to right and prioritizing the column furthest to the left? I feel like I'm so close to getting this to work right, I'd hate for there not to be a way to iron out this last kink. Thanks!

2 Replies

@dejalive 

you can try this 

=OFFSET( A12,-1,MATCH(2,IF(A12:L12=MAX($A$12:$L$12),1,FALSE))-1)

hope it helps!! 

@dejalive 

That could be

=LOOKUP(2,1/($A$12:$L$12=MAX($A$12:$L$12)),$A$11:$L$11)