Help with second oldest

creative999

Board Regular
Joined
Jul 7, 2021
Messages
108
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Hi
I have a formula which shows the latest sale (below) but also need to show the second oldest. Any suggestions?

=IFERROR(INDEX(SORT(FILTER(SALES!A:M,(SALES!F:F=A1)),4,1),1,3),"--")
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Mappe8
B
1645
Tabelle1
Cell Formulas
RangeFormula
B1:C1B1=IFERROR(INDEX(SORT(FILTER(Sales!A1:M100,(Sales!F1:F100=A1)),4,1),{1,2},3),"--")
Dynamic array formulas.
 
Upvote 0
Another option
Excel Formula:
=TAKE(SORT(FILTER(SALES!C:D,SALES!F:F=A1,""),2),2,1)
 
Upvote 1
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

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