Return largest values from data table using LARGE function

ormy28

New Member
Joined
Dec 10, 2007
Messages
20
Office Version
  1. 365
Hi

I have a football stats spreadsheet which contains a data table called tbl_Fixtures. Within this there is a column called Goal Index.

On another worksheet, I want to create a list of the top 10 values within Goal Index. I am trying to achieve this by entering the below:

=LARGE(tbl_Fixtures[[#Data],[Goal Index]], 1)

The number 1 will be replaced by 2, 3, 4, etc in formulas further down.

However, this simply returns #DIV/0! and I have no idea why. Should I be using the item specifier #DATA in this case?

Maybe LARGE can't be used on a data table?

Thanks
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Make sure that you don't have #DIV/0! errors in the Goal Index column.
 
Upvote 0
Solution
That formula will not return #DIV/0 alone. The only likely error would be #NUM! if there were less numeric values in the table range than the specified k value.

Any error other than #NUM would be caused by unresolved errors in the data table.
 
Upvote 0
Whilst it would be best to remove the errors from that column, another option would be
Excel Formula:
=INDEX(SORT(FILTER(tbl_Fixtures[Goal Index],NOT(ISERROR(tbl_Fixtures[Goal Index]))),,-1),SEQUENCE(10))
 
Upvote 0
Definitely overthought that. :(
 
Upvote 0
Oh dear, both of you were correct with there being an error in the original data. How annoying (and embarrassing)!

Thanks for your help.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

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