Best formula for required result

Marvo

Board Regular
Joined
Nov 27, 2023
Messages
155
Office Version
  1. 2021
Platform
  1. Windows
Hi, I'm looking for the best formula to achieve the required result.

I've made a simple mock up. What I want is a formula in D11 to find the highest score of handicappers 18 and under. Then in D12 the highest score of handicappers 19+. If possible if there are more than one winner in each category, I'd like a return of zero or "".

Many thanks.
 

Attachments

  • sAMPLE.JPG
    sAMPLE.JPG
    16.8 KB · Views: 5
I know, I only put the scores in on competition days. That's why I just wanted "" returned when no score has been entered. However if you experiment and put a score in D, which returns a score in E, your formula changes from a CALC error to a NUMB error.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
That's why I just wanted "" returned when no score has been entered.
Then why didn't you say that, rather than complaining about errors?
However if you experiment and put a score in D, which returns a score in E, your formula changes from a CALC error to a NUMB error.
Only if you have one score for <=18. Put in two or more scores & it will work.
 
Upvote 0
I didn't complain, just reported back the result. I would never complain to someone helping me.

Anyway I've managed to achieve the result I required by doing it in stages.

1) Created a new column which references the handicap column and results in either HIGH or LOW.
2) A MAXIFS cell to work out the highest score in both categories.
3) A COUNTIFS cell to work out how many high scores there were in each category.
4) Then if the answer is 1, the XLOOKUP function transfers the corresponding player to the prize winners sheet.

Bit of a long winded way of going but got there in the end.
Thanks to everybody who tried to help.
 
Upvote 0

Forum statistics

Threads
1,215,073
Messages
6,122,970
Members
449,095
Latest member
Mr Hughes

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