ARRAYFORMULA FILTER VLOOKUP solution for multiple condition formula Google sheets

I need an ARRAYFORMULA, VLOOKUP or FILTER formula in K7 that:

Puts the date from A7:A IF the value in J7:J is >= E7:E AND <= F7:F AND D7:D = "Traverse"

I have got multiple solutions to work on the individual rows, but none to work as an array formula to effect the entire column.

=IF(AND(J7>=E7:E,J7<=F7:F,D7:D="Traverse"),OFFSET(J7,0,-9),"")

or

=IFERROR(FILTER(A:A,E:E<=J7,F:F>=J7,D:D="Traverse"))

or

=ArrayFormula(IFNA(vlookup(J7:J2064,Query(sort(filter({date("20"&left(A7:A,2),mid(A7:A,3,2),right(A7:A,2)),A7:G},D7:D="Traverse"),6,1,1,0),"Select Col6,Col2",0),2,1)))

an example sheet is here if anyone can shed any light :)

https://docs.google.com/spreadsheets/d/1SYbhfyIA2KoZF0k-TuIqm-Kn9L9o0I16EGbSXDaTABU/edit?usp=sharing

enter image description here



Read more here: https://stackoverflow.com/questions/68436114/arrayformula-filter-vlookup-solution-for-multiple-condition-formula-google-sheet

Content Attribution

This content was originally published by Jon Bowles at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: