Room List with Nightly Occupancy Count

ChriseeWissee

New Member
Joined
Nov 15, 2018
Messages
5
Hi All,

I am trying to develop a rooming list with a nightly occupancy count. I need a list that I can input the 'check-in' and 'check-out' dates and it then puts a '1' in the respective nights column. I have designed a spreadsheet in the format that I need it in but I am struggling with the formulas needed to populate the '1'. Attached is a screenshot of the spreadsheet.

Thank you

Chris

https://www.dropbox.com/s/3fizsarkbkbi29p/2018-11-15 (7).png?dl=0
2018-11-15%20%287%29.png
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi,

Please, next time if you're going to post a link, please post a sample file, Not a picture.

This will do what you described:


Book1
FGHIJKLMNOPQR
7Check InCheck out11/11/201811/12/201811/13/201811/14/201811/15/201811/16/201811/17/201811/18/201811/19/201811/20/201811/21/2018
811/10/201811/15/20181111
911/13/201811/19/2018111111
Sheet361
Cell Formulas
RangeFormula
H8=IF(AND($F8<=H$7,$G8>H$7),1,"")


Formula copied down and across as far as needed.
 
Upvote 0
You're welcome, welcome to the forum.

Yes, posting a table that can be Copied and Pasted into Excel is preferable, making it easier for helpers to test their solutions with your data.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top