I have two excel spreadsheets:
One has an id and a date
The other one has an id, two dates and a value
I am supposed to match the ids and return the value whenever the date in spreadsheet 1 is between the two dates in spreadsheet 2.
There is a one-to-one correspondance between those spreadsheets, and a default value of 0 if no match is found
The first spreasheet has a lot of lines. Would there be some sort of VLOOKUP function that I can use to get the right data?
There was a very simple way to achieve that: concatenate the multiple fields you want to search, and you are done, provided they are unique. Otherwise you should look into array cells.