Offset Match Max - Priority Issue

dejalive

New Member
Joined
Aug 11, 2019
Messages
2
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!
 

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,136
This is an array formula. Confirm with Control+Shift+Enter.

=INDEX(A11:L11,1,MAX(IF(MAX(A12:L12)=A12:L12,COLUMN(A12:L12),0)))
 

dejalive

New Member
Joined
Aug 11, 2019
Messages
2
Thank you for the suggestion. Just gave it a try and it actually reversed the problem, so equal values entered in columns to the right of the previous entry are now being prioritized. Entries to the left are no longer being prioritized.
 

Forum statistics

Threads
1,078,437
Messages
5,340,277
Members
399,361
Latest member
Linford

Some videos you may like

This Week's Hot Topics

  • Problem with Radio Button's format control
    I am creating an employee evaluation template (a sample is below) Column A is the category Column B, C D, E and F will be ratings (unacceptable...
  • Last Display on userform to a Listbox
    [CODE=vba] lstdisplay.ColumnCount = 15 lstdisplay.RowSource = "A1:O600000" [/CODE] So when i do this it Displays everything on the sheet i am...
  • Rename and move files to a new location
    Dear all, I have an excel file with the following information. The actual file name is at column A but i want to rename it using the following...
  • Help with True/False Formula
    Hello! Am stumped how to fix this formula, in which my result returns 'True', but it should return False. =IF(AG2=True...
  • Clear extra characters from a provided range of cells
    Dear All, I have following code which gives me desired output to remove extra characters from a provided range. But it takes too much time when...
  • Help with Current and highest streaks
    Hi there, I've just joined the forum and this is my first post. I've already spent quite a bit of time searching the net and this forum for a...
Top