• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Index Match with multiple criteria

Emeng

Member
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
Code:
{=INDEX(AllDates,MATCH(1,(Vehicles=TARGET)*(AllDates=NxtSvc),1),DateCol)}
but throws #N/A, as do the simpler
Code:
{=INDEX(AllDates,MATCH(NxtSvc,DateCol,1)}
and
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
 

Attachments

  • Find next date.xlsx
    162.7 KB · Views: 17
Loving your work Bosco.
I had the "AllDates,,DateCol" happening separately in one of my previous attempts but the double commas look like an error. So much to learn!
Thanks & regards
Mark
 
Back
Top