Need a Vba code to obtain the rank for the latest date and car type.
EG find the latest date from today() for each car then obtain a rank. if the car changes the rank starts from 1 again. so In theory the latest 25 dates for each car.
<tbody>
</tbody>
EG find the latest date from today() for each car then obtain a rank. if the car changes the rank starts from 1 again. so In theory the latest 25 dates for each car.
Car | Date | Rank | ||
Volvo | 01/01/2018 | 2 | ||
volvo | 04/02/2018 | 1 | ||
audi | 04/03/2018 | 1 | ||
bmw | 20/02/2018 | 1 |
<tbody>
</tbody>