Hi all
I’m trying to Index/Match multiple criteria to find a variable date in a variable column.
The variables & lookup ranges are defined in named ranges.
My formula is
but throws #N/A, as do the simpler
and
In words it means find the Target vehicle in a row of Vehicles, (=DateCol)
look down that column & return the largest date less than or equal to today,
in the complete range of all dates for all vehicles.
Any help is much appreciated
Thanks & regards
Mark
I’m trying to Index/Match multiple criteria to find a variable date in a variable column.
The variables & lookup ranges are defined in named ranges.
My formula is
Code:
{=INDEX(AllDates,MATCH(1,(Vehicles=TARGET)*(AllDates=NxtSvc),1),DateCol)}
Code:
{=INDEX(AllDates,MATCH(NxtSvc,DateCol,1)}
Code:
{=INDEX(DateCol,MATCH(NxtSvc,DateCol,1))}
In words it means find the Target vehicle in a row of Vehicles, (=DateCol)
look down that column & return the largest date less than or equal to today,
in the complete range of all dates for all vehicles.
Any help is much appreciated
Thanks & regards
Mark