ricafonyat
New Member
- Joined
- May 1, 2017
- Messages
- 29
- Office Version
- 365
- Platform
- Windows
Hello!!
I am looking for help to build an array formula that compute by month and year the number of room nights according the hotel reservations book
[TABLE="width: 390"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Hotel Reservations[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Check-in Date[/TD]
[TD]Check-out Date[/TD]
[TD]Room Nights[/TD]
[/TR]
[TR]
[TD]Apr.30.2017[/TD]
[TD]May.02.2017[/TD]
[TD] 2[/TD]
[/TR]
[TR]
[TD]May.01.2017[/TD]
[TD]May.02.2017[/TD]
[TD] 1[/TD]
[/TR]
[TR]
[TD]May.03.2017[/TD]
[TD]May.06.2017[/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]May.10.2017[/TD]
[TD]May.11.2017[/TD]
[TD] 1[/TD]
[/TR]
[TR]
[TD]May.12.2017[/TD]
[TD]May.15.2017 [/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]May.30.2017[/TD]
[TD]Jun.02.2017[/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]Jun.03.2017[/TD]
[TD]Jun.05.2017[/TD]
[TD] 2[/TD]
[/TR]
[TR]
[TD]Jun.30.2017[/TD]
[TD]Jul.01.2017[/TD]
[TD] 1[/TD]
[/TR]
[TR]
[TD]Jul.02.2017[/TD]
[TD]Jul.05.2017 [/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]Jul.06.2017[/TD]
[TD]Jul.10.2017[/TD]
[TD] 4[/TD]
[/TR]
[TR]
[TD]Jul.15.2017[/TD]
[TD]Jul.22.2017[/TD]
[TD] 7[/TD]
[/TR]
[TR]
[TD]Jul.25.2017[/TD]
[TD]Aug.01.2017[/TD]
[TD] 7[/TD]
[/TR]
[TR]
[TD="colspan: 2"]Total Room Nights[/TD]
[TD] 37
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 286"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Month[/TD]
[TD]Room Nights[/TD]
[/TR]
[TR]
[TD]Jan.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Feb.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Mar.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Apr.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]May.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Jun.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Jul.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Aug.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Sep.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Oct.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Nov.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Dec.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Total Room Nights[/TD]
[TD] 37[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be appreciated
Rica
I am looking for help to build an array formula that compute by month and year the number of room nights according the hotel reservations book
[TABLE="width: 390"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Hotel Reservations[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Check-in Date[/TD]
[TD]Check-out Date[/TD]
[TD]Room Nights[/TD]
[/TR]
[TR]
[TD]Apr.30.2017[/TD]
[TD]May.02.2017[/TD]
[TD] 2[/TD]
[/TR]
[TR]
[TD]May.01.2017[/TD]
[TD]May.02.2017[/TD]
[TD] 1[/TD]
[/TR]
[TR]
[TD]May.03.2017[/TD]
[TD]May.06.2017[/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]May.10.2017[/TD]
[TD]May.11.2017[/TD]
[TD] 1[/TD]
[/TR]
[TR]
[TD]May.12.2017[/TD]
[TD]May.15.2017 [/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]May.30.2017[/TD]
[TD]Jun.02.2017[/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]Jun.03.2017[/TD]
[TD]Jun.05.2017[/TD]
[TD] 2[/TD]
[/TR]
[TR]
[TD]Jun.30.2017[/TD]
[TD]Jul.01.2017[/TD]
[TD] 1[/TD]
[/TR]
[TR]
[TD]Jul.02.2017[/TD]
[TD]Jul.05.2017 [/TD]
[TD] 3[/TD]
[/TR]
[TR]
[TD]Jul.06.2017[/TD]
[TD]Jul.10.2017[/TD]
[TD] 4[/TD]
[/TR]
[TR]
[TD]Jul.15.2017[/TD]
[TD]Jul.22.2017[/TD]
[TD] 7[/TD]
[/TR]
[TR]
[TD]Jul.25.2017[/TD]
[TD]Aug.01.2017[/TD]
[TD] 7[/TD]
[/TR]
[TR]
[TD="colspan: 2"]Total Room Nights[/TD]
[TD] 37
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 286"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Month[/TD]
[TD]Room Nights[/TD]
[/TR]
[TR]
[TD]Jan.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Feb.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Mar.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Apr.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]May.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Jun.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Jul.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Aug.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Sep.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Oct.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Nov.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Dec.17[/TD]
[TD] ?[/TD]
[/TR]
[TR]
[TD]Total Room Nights[/TD]
[TD] 37[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be appreciated
Rica