Return the last 5 results in a column to specified cells

subtotalatom

New Member
Joined
Feb 3, 2020
Messages
14
Office Version
  1. 365
Platform
  1. Windows
Hello,

i need a formula or code to return the results of the last 5 cells to another cell section (which will be put on the dashboard eventually) as data is inputted. so the last 5 results in column y need to return to (ai, aj, ak, al, am) with the last result on column y being in Cell AM. as data is entered in Column y. the results will move across in AI, AJ, AL, AL, AM

KBJM Bet Club Tracker.xlsx
TUVWXYAHAIAJAKALAM
1BetLeagueOddsStakeSFW/L
2PeterbroughEngland National League1.67£5W
3Over 2.5England League One2.25£5£5L
4LazioItaly Serie A1.6£5W
5LeganesSpain Other1.6£5W
6StockportEngland National League1.7£5L
7CheltenhamEngland League Two1.8£5W
8Over 2.5Italy Serie A1.65£5W
9DoncasterEngland League One2.63£5L
10BrentfordEngland Championship1.53£5£5L
11Arsenal England Premier League1.75£5L
12Over 2.5France Ligue 11.53£5L
13Union BerlinGermany Bundesliga1.85£5WMIKE
14CharltonEngland League One1.62£5W
15
16
17
18
19
20
Bet Tracker
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G10,M10,S10,Y10:Z10Cell Value="L"textNO
G10,M10,S10,Y10:Z10Cell Value="W"textNO
G2:G9,M2:M9,S2:S9,Y2:Z9,Y122:Z144,S122:S144,M122:M144,G122:G144,Y76:Z76,S76,M76,G76,Y11:Z31,S11:S31,M11:M31,G11:G31Cell Value="L"textNO
G2:G9,M2:M9,S2:S9,Y2:Z9,Y122:Z144,S122:S144,M122:M144,G122:G144,Y76:Z76,S76,M76,G76,Y11:Z31,S11:S31,M11:M31,G11:G31Cell Value="W"textNO
Cells with Data Validation
CellAllowCriteria
U2:U20List='KJBM Data'!$A$9:$A$50
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
How about in AI14
Excel Formula:
=LET(Fltr,FILTER(Y2:Y100,Y2:Y100<>""),INDEX(Fltr,SEQUENCE(,5,ROWS(Fltr)-4)))
 
Upvote 0
Solution
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
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