I am trying to create a bill for a local hotel where they have different prices depending on the time of year. For example between 15.4. and 15.8. are the summer prices and 16.8 -14.4 the winter prices
I have it set up so that when the room is selected it looks up the price from the corresponding list. However it is using the year also and will therefore only work for this years booking.
It is set to look up the corresponding rooms from different lists depending on time of year, the lists are as below.
Summer price 15.4. 15.8.
1hh 79,00 €
2hh 109,00 €
2hh+sauna 119,00 €
Apartment 5hh 230,00 €
Winter price 16.8. 14.4.
1hh 69,00 €
2hh 89,00 €
2hh+sauna 101,00 €
Apartment 5hh 210,00 €
The formula I am using at is,
=IFERROR(IF(AND(B11>=Sheet2!$B$1;B11<=Sheet2!$C$1);VLOOKUP(A11;Sheet2!$A$2:$B$6;2);VLOOKUP(A11;Sheet2!$A$9:$B$13;2));"")
It works unless I go over this year. Is there a way it can be set to ignore the year? or is it a case of changing the parameter year when it changes to 2018? or will it automatically change it, since I did not enter a year on the look up inputs but it automatically entered 2017 when the cell was formatted to a date, even in just day and month style?
Bookmarks