Formula to count if smallest number without a tie

clortan

New Member
Joined
Dec 20, 2012
Messages
17
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
I need a formula to get the result I manually typed in the last row.
Smallest with no ties. Not the 2nd or more smallest.
 

Attachments

  • 1662489783367.png
    1662489783367.png
    92.6 KB · Views: 18

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
MrExcelPlayground11.xlsx
ABCDEFGHIJK
1Hole123456789
2Par453544344
3Fred32443543234
4Harry34543453244
5Tom36453444354
6****31432544243
7Mary41435654455
8
9
10
11skins001000011
Sheet20
Cell Formulas
RangeFormula
B3:B7B3=SUM(C3:K3)
C11:K11C11=--(COUNTIF(C3:C10,MIN(C3:C10))=1)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:K10Expression=AND(COUNTIF(C$3:C$10,MIN(C$3:C$10))=1,C3=MIN(C$3:C$10))textNO
 
Upvote 0
Solution
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
365
 
Upvote 0
Thanks for that, please don't forget to update your profile. ;)
Try the formula that James has suggested.
 
Upvote 0
Wow, @JamesCanale ! that worked perfectly for the columns. I have tried at least 50X to get this! SO happy you helped me. :)

1 more favor=, please. At the end of the spreadsheet I need to calculate all the highlighted cells.

My brothers name is James too.
 

Attachments

  • Screen Shot 2022-09-06 at 2.30.48 PM.png
    Screen Shot 2022-09-06 at 2.30.48 PM.png
    182.4 KB · Views: 12
Upvote 0
Upvote 0
I'm not excited about row 12 here. I can't figure how to eliminate the need for that. I'd love to see that worked out.

MrExcelPlayground11.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXY
1Hole123456789OutHole101112131415161718InTotalSkins
2Par45354434436Par5344354443672
3Fred32443543234323872542634538704
4Harry34543453244343873545443338721
5Tom36453444354364264555744242781
6Sam31432544243313853443455538692
7Mary41435654455413854453455338790
80000
90000
100000
11skins001000011skins010010111
12best432443233524424332
Sheet20
Cell Formulas
RangeFormula
L2:L10,W2:W10W2=SUM(N2:V2)
X2:X10X2=W2+L2
Y3:Y10Y3=SUM((($C$11:$V$11=1))*($C3:$V3=$C$12:$V$12))
B3:B7,M3:M7B3=SUM(C3:K3)
C11:K11,N11:V11C11=--(COUNTIF(C3:C10,MIN(C3:C10))=1)
C12:K12,N12:V12C12=MIN(C3:C10)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
N3:V10Expression=AND(COUNTIF(N$3:N$10,MIN(N$3:N$10))=1,N3=MIN(N$3:N$10))textNO
C3:K10Expression=AND(COUNTIF(C$3:C$10,MIN(C$3:C$10))=1,C3=MIN(C$3:C$10))textNO
 
Upvote 0
Another option if you have the new HSTACK function.
Fluff.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1Hole123456789Out101112131415161718
2Par453544344
3Fred32443543234327254263454
4Harry34543453244347354544331
5Tom36453444354366455574421
6Sue31432544243315344345552
7Mary41435654455415445345530
8
Report
Cell Formulas
RangeFormula
D3:D7D3=SUM(E3:M3)
N3:N7N3=SUM(E3:M3)
Z3:Z7Z3=SUM(--(BYCOL(HSTACK($E$3:$M$7,$O$3:$W$7),LAMBDA(bc,AND(INDEX(bc,ROWS(Z$3:Z3))=MIN(bc),SUM(--(MIN(bc)=bc))=1)))))
 
Upvote 0
Another option that doesn't need HSTACK
Excel Formula:
=LET(Data,$E$3:$W$7,r,ROWS(Data),SUM(--(MMULT(SEQUENCE(,r,,0),(E3:W3<Data)*(COLUMN(E3:W3)<>14))=r-1)))
 
Upvote 0

Forum statistics

Threads
1,224,747
Messages
6,180,712
Members
452,995
Latest member
isldboy

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