Sequence Number To Reference?

shellp

Board Regular
Joined
Jul 7, 2010
Messages
204
Office Version
  1. 365
  2. 2021
  3. 2010
  4. 2007
Platform
  1. Windows
Hello,

I am using Excel 365 and I have a spill formula with the results being used in a dropdown list:
VBA Code:
=Sort(Unique(T_Total[Report Date]),1)

What I want to do is create a sequence number so that I can refer to the nth value in the drop down that will change dynamically. Is this possible or am I approaching this the wrong way? All assistance greatly appreciated.

Shelley
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Hello,

It is possible using INDEX on your sorted list, or SMALL/LARGE on your unsorted list.

Example : 5-th smallest value is
Excel Formula:
=INDEX(Sort(Unique(T_Total[Report Date]),1), 5)
Or
Excel Formula:
=SMALL(Unique(T_Total[Report Date]), 5)
 
Upvote 0
Solution
Thank you so much for your response! This totally worked!!
 
Upvote 0

Forum statistics

Threads
1,226,697
Messages
6,192,490
Members
453,727
Latest member
tuong_ng89

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