Returning ?th last entry from a list

Steve 1962

Active Member
Joined
Jan 3, 2006
Messages
349
Office Version
  1. 365
Platform
  1. Windows
Hi All

Require a formula that returns the 9th last entry (text) in a list. Directly under this, also need a formula that returns the 8th last entry (text) in the same list, and so on ……7th, 6th………………..

Thanks

Steve
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
How about:

varios 09ago2020.xlsm
ABCD
1
2Text aText d9 th last entry
3Text bText e8 th last entry
4Text cText f7 th last entry
5Text dText g6 th last entry
6Text eText h5 th last entry
7Text fText i4 th last entry
8Text gText j3 rd last entry
9Text hText k2 nd last entry
10Text iText l1 sh last entry
11Text jText mlast entry
12Text k
13Text l
14Text m
Hoja3
Cell Formulas
RangeFormula
C2:C11C2=INDEX($A$2:$A$14,COUNTA($A$2:$A$14)-(9-(ROWS(B$2:B2)-1)))
 
Upvote 0
I'm glad to help you. Thanks for the feedback.
 
Upvote 0
Works absolutely great.
Did you adjust at all? For my understanding of the terms, "Text d" is the 10th last entry, "Text l" is the 2nd last entry etc. :confused:

Since you have Excel 365 you should also be able to do this by entering a formula in one cell only, like this in C2. The other results automatically 'spill' to the other rows. For more or less results, adjust the 9 & 8 values in the SEQUENCE function.

20 08 10.xlsm
ABCD
1
2Text aText e9 th last entry
3Text bText f8 th last entry
4Text cText g7 th last entry
5Text dText h6 th last entry
6Text eText i5 th last entry
7Text fText j4 th last entry
8Text gText k3 rd last entry
9Text hText l2 nd last entry
10Text iText mlast entry
11Text j
12Text k
13Text l
14Text m
Last n
Cell Formulas
RangeFormula
C2:C10C2=INDEX(A2:A14,SEQUENCE(9,,ROWS(A2:A14)-8))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,858
Messages
6,121,956
Members
449,057
Latest member
FreeCricketId

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