Find a name when there are duplicates in search columns.

jkmclean

Board Regular
Joined
Jan 3, 2019
Messages
65
Office Version
  1. 365
Platform
  1. Windows
GenderNamehcpHGSHSSHGHHSHgmsAveTotal Pins HGS Left HighHGS Right HighHGH Left HighHGH Right HighHSS Left HighHSS Right HighHSH Left highHSH Right HighMost Improved
FBetty McLean88128337216.2601.6003112.3333371280216.203370601.600High Game Scratch - MenHigh Series Scratch - MenHigh Game Handcap - Men
MJim Karasimos79129366208.2603.60031223661290208.203660603.600Ken Killen218Ken Killen536Wayne Willfang260.7
MJack StevenHaagen86139343225.4602.2003114.3333431390225.403430602.200Gary Tisdale203Gary Tisdale508Mary Birrell250.6
MJohn McLean39182499221.6617.8003166.3334991820221.604990617.800Gerry Revelle202John McLean499Gary Corkey233.5
FVerna Mortensen60162431222.3611.9003143.6674311620222.304310611.900High Series Handicap - MenHigh Average - MenMost Improved - Men
MKen Killen28218536246.8622.4003178.6675362180246.805360622.400Ken Killen622.4Ken Killen178.6667Ken Killen0
FJoyce Banks-Stevenhaagen62172425234.1611.3003141.6674251720234.104250611.300Gary Tisdale618.7Gary Tisdale169.3333Ken Killen0
MAlex McKinnon#####0000.0000#DIV/0!000000000#DIV/0!John McLean617.8John McLean166.3333Ken Killen0
FLinda Carter76142377218.5606.5003125.6673771420218.503770606.500
FPatricia Renaud77128374205.4606.2003124.6673741280205.403740606.200High Game Scratch - WomenHigh Series Scratch - WomenHigh Game Handicap - Women
MDan Murphy108113271221595.000390.333327111302210271059500Joyce Banks-Stevenhaagen172Verna Mortensen431Joyce Banks-Stevenhaagen234.1
FEvelyn Farrah81137359218.9604.7003119.6673591370218.903590604.700Verna Mortensen162Joyce Banks-Stevenhaagen425Diane Clarke226.9
Theresa Reynolds157Kerry Hietala406Jack StevenHaagen225.4
MGerry Revelle48202469250.6614.8003156.3334692020250.604690614.800

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col span="4"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


I am trying to find the female which has the 406 value in the HSS column. The problem is the formula finds the first 406 value belonging to a male.
I am using the following formula.
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]=INDEX($C$12:C62,MATCH(AC27,$F$12:$F$60,0))[/FONT]
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Formula for the Female
=INDEX($C$1:C62,SUMPRODUCT(($B$12:$B$62="F")*($F$12:$F$62=AC27)*(ROW($C$12:$C$62))))

<tbody>
</tbody>


Formula for the Male

=INDEX($C$1:C62,SUMPRODUCT(($B$12:$B$62="M")*($F$12:$F$62=AC27)*(ROW($C$12:$C$62))))

<tbody>
</tbody>


Regards Dante Amor
 
Upvote 0
Thanks a lot. This works. I am not sure what sumproduct does but will look it up and try to understand.
I am a total novice and self taught so really appreciate the help.
 
Upvote 0
The sumproduct function, can add the multiplication of arrays, also can be used as a array formula to obtain the results of several conditions. In your case, look for data equal to "F" and also be equal to AC27; in the last array you get the row number where the 2 matches were true; finally, with the index function, the data of the column "C" is obtained according to the row obtained with the sumproduct function.
I am glad to help you.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,580
Members
448,972
Latest member
Shantanu2024

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