Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9786

Choose top 5 scores from multiple columns with conditions

$
0
0

I am trying to automate a bowling statistics table. Each bowler has multiple games, one column for each.

The problem I am having is that I am using =J1>=LARGE($J$3:$K$22, 4) in conditional formatting.I want to have it conditional for each men and women category. Also it should only calculate from the highest game of each player.

What is happening as can be seen in the uploaded file is that it is counting both scores of one player if they had two top scores.

In excel I have gotten results with the following:

=AND($D3<>"",D3=MAX($D3:$E3),MAX(IF($C3="M",$D3:$E3))>=LARGE(IF($C$3:$C$20="M",SUBTOTAL(4,OFFSET($D$3,SEQUENCE(ROWS($D$3:$E$20),1,0),,,COLUMNS($D$2:$E$2)))),4))

and

=AND($D3<>"",D3=MAX($D3:$E3),MAX(IF($C3="F",$D3:$E3))>=LARGE(IF($C$3:$C$20="F",SUBTOTAL(4,OFFSET($D$3,SEQUENCE(ROWS($D$3:$E$20),1,0),,,COLUMNS($D$2:$E$2)))),4))

When I import to sheets the function does not work

Any suggestions would be appreciated.

https://docs.google.com/spreadsheets/d/1zmx1phYoDOS5e-KKFPKxyVk3Drqctoh0hDHgmbymsZ8/edit?usp=sharing


Viewing all articles
Browse latest Browse all 9786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>