Google Sheets - Formula Help!

daithi_ie

New Member
Joined
May 26, 2022
Messages
9
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hi Folks,

Is there a formula I can use to add the total time for the team below based on the three lowest penalty scores, the highest penalty score is a discard score.

Based on the results below we'd need to add John, Paul and Ray's penalties and times and I have a formula to do this for the three lowest penalty scores. This won't work for the times though as the times are not the three lowest of the four as the times that need to be added as the ones are next to the lowest penalties. Is there a formula to add the times automatically based on the lowest penalties?

I hope I've explained this correctly,

Any help much appreciated :)

CompetitorPenaltiesTime
John056.78
Tony852.31
Paul460.23
Ray163.23
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
How about
Fluff.xlsm
ABCDE
1CompetitorPenaltiesTime
2John056.78180.24
3Tony852.31
4Paul460.23
5Ray163.23
Main
Cell Formulas
RangeFormula
E2E2=SUMIFS(C2:C100,B2:B100,"<="&SMALL(B2:B100,3))
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0
So I've been playing round with the formula and where there is equality of penalties, the formula counts all four scores. Is there anyway around this perhaps?

See the example below - If I use the formula it gives a time of 272.68 instead of 205.67

Penalties Time Total Time
070.32205.67
066.59
467.01
468.76
 
Upvote 0
How would the formula know which of the two 4 penalties scores to count?
 
Upvote 0
It would be the quickest time - is there a work around for that perhaps?

Thanks
 
Upvote 0
Ok, how about with a helper column
Fluff.xlsm
ABCDE
1CompetitorPenaltiesTime
2John070.321205.67
3Tony066.592
4Paul467.014
5Ray468.763
Main
Cell Formulas
RangeFormula
E2E2=SUMIFS(C2:C100,D2:D100,"<=3")
D2:D5D2=RANK(B2,$B$2:$B$5,1)+COUNTIFS($B$2:$B$5,B2,$C$2:$C$5,">"&C2)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,327
Messages
6,171,486
Members
452,407
Latest member
Broken Calculator

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