Hi All,
I'm hoping that there may be somebody who can assist with a rather strange formula issue i'm having.
We currently run a Smartsheet for a client who book large hotel room blocks. To ensure we are across the multiple changes that are made and that the allocation we have booked is met, we use the Smartsheet to count based on the check in and check out date as per Image 1
When the user adds the check in and check out date, it will prefill the 1's and then SUM at the very bottom of the Smartsheet across the 100-150 rows so we receive a total SUM for each night. (Image 2)
To pre-fill the 1's, we use the following formula. This reads the check in and checkout date automatically so we don't have to prefill the 1's each time. The Formula below is based on Row 1 under 22nd January...
=IF(AND($[Check In Date]1 <= [Sat 22 Jan]$127, $[Check Out Date]1 > [Sat 22 Jan]$127), 1)
This formula works perfectly until we have a rooming allocation that spreads across two different months. For those individuals wishing to check out on February 1st the formula will simply not calculate if the checkout date is listed as 01/02
In Image 3 I have shown what happens when we cross between two separate months
Image 1
Image 2
Image 3
Thank you in advance if anybody can solve this issue!!