SMALL/LARGE Command

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
582
Office Version
  1. 365
Platform
  1. Windows
I am working on a golf league spreadsheet. I am using the following formula to sort the members by net score.

=SUMPRODUCT((ABS(Z3-0)>ABS($Z$3:$Z$22-0))+0)+1

The problem is that in golf a negative score should put a golfer ahead of golfer with a "0" or Even score and ahead of a golfer with a plus score.

Current List
ABC +2
DEF 0
GHI +1
XYZ -1

What I need after sorting
XYZ -1
DEF 0
GHI +1
ABC +2

Thanks
James
 
Nope, that's just a single cell. You need to select the whole range.
 
Upvote 0

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Test1.xlsx
ABCDEFGH
1
2Net TotHole Grs.Hole Net
31Bryan0
43Chris-1
51Dave0
64Pete-2
74Don+2
86Jim+3
9
10
11
12What I need
133Bryan0
142Chris-1
153Dave0
161Pete-2
175Don+2
186Jim+3
19
20
21
22
23
24
25
26
Sheet1
Cell Formulas
RangeFormula
D3D3=Sheet2!V6
D4D4=Sheet2!V9
D5D5=Sheet2!V12
B3:B8,B18B3=SUMPRODUCT((ABS(D3-0)>ABS($D$3:$D$8-0))+0)+1
 
Upvote 0
Thanks for that.
Why not use
Excel Formula:
=RANK.EQ(D13,$D$13:$D$18,1)
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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