SMALL/LARGE Command

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
593
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
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
How about
Fluff.xlsm
ABCDE
1
2
3ABC2XYZ-1
4DEF0DEF0
5GHI1GHI1
6XYZ-1ABC2
Data
Cell Formulas
RangeFormula
D3:E6D3=SORT(A3:B6,2)
Dynamic array formulas.
 
Upvote 0
So sorry. I was talking about the standing number which I did not include in the example. The problem is the SUMPRODUCT formula I am using is not putting the sort order correct.

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

What I need after sorting
1 XYZ -1
2 DEF 0
3 GHI +1
4 ABC +2
 
Upvote 0
Can you post some sample data (using the XL2BB add-in) showing exactly what you have & what you want
 
Upvote 0
1ABC+2
3DEF0
4GHI-1
2JKL+1
5MNO-2
Need to get
1MNO-2
2GHI-1
3DEF0
4JKL+1
5ABC+2
 
Upvote 0
Then why can't you use what I suggested?
 
Upvote 0
The SUMPRODUCT is giving the wrong standing number based on the total.

It thinks ABC is #1 when it should be #5, MNO is #5 when it should be #1., GHI is #4 when it should be #2. Its the standing number that I am trying to get correct.
 
Upvote 0
In that case can you please show EXACTLY what you have & are trying to do, including any formulae.
When you post the data please use the mini-sheet option & not the table option
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,201
Members
453,022
Latest member
RobertV1609

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