Okay we just reverse the order of the COUNTIF() counter
In AD3 old formula
New formula
Two points to note.
1/. In the starting formula AN3:AN$15 covers your table depth.
If you have more rows, say going back another 5 years, then the starting range will be AN3:AN$20
Note that the last cell is now your anchor.
2/.Your data has an indeterminate number of decimal points, Excel will only display up to 16 digits including any decimal point, formatting for any more will only display additional zeros.
It might be possible that by adding the tie-breaker,some numbers could be wrongly promoted.
To minimize this possibility I've decreased the added counter from n/100 to n/10^9
Better that you decide on how many significant figures you need and round either the source data or the helper (column AN) accordingly.
Bookmarks