Show running list of scores

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
606
Office Version
  1. 365
Platform
  1. Windows
I have 20 golf scores. When a new score is added to the bottom of the list, I delete the score on the top of the list. This is a running list of the golfers 20 scores. To calculate a handicap, I need to take those 20 scores from the list, but since it's a running list there will be blank cells at the top of the list as I delete the older score and replace it at the bottom with a new score. I need to extract those 20 scores regardless how many blank cells are at the top of the list. In the list below note the blank cell at the top. In my new listing I need the 47 to be at the top of the list and the 48 in the 20th cell. The next week the 47 gets deleted and the next score (50) moves up to the 1st cell and a new score is added after the 48. When that happens there will now be 2 blank cells at the top and in my new listing, I need the 50 to be at the top of list replacing the 47 and the new score will appear at the bottom.

Any help will be appreciated.
James

47
50
52
53
51
44
44
50
50
51
53
55
50
53
52
58
48
51
48
 
You could turn your list into a table and then use the TAKE function to get the last 20 scores. You would not need to delete the top scores.
Your list only had 19 scores, so I added one to the list.

Book1
ABC
1Column1Last 20
247
350
44752
55053
65251
75344
85144
94450
104450
115051
125053
135155
145350
155553
165052
175358
185248
195851
204848
215155
2248
2355
Sheet1
Cell Formulas
RangeFormula
C2:C21C2=TAKE(Table1[Column1],-20)
Dynamic array formulas.
 
Upvote 0
Thank you, I'll give it a try and thank you for understanding my description.
 
Upvote 0
Ok so I got the column1 labeled but where do I get the Table1 from? For the table I went to the insert tab, Tables, create table. Does that default to name it Table1?


James
 
Upvote 0
Excel will give the table a default name. You can change that name if you want. If you had a header to your colimn, such as SCORES the table would use it. If you don't have a header excel will assign one. That's where the the Column1 header came from. Once you add a score to the last row in the table the range will automatical expand.

Here are a couple of links that explain the table and TAKE function.
Table link

TAKE function
 
Upvote 0

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