Hi,
I have a data which is guest staying in my hotel with the dates. (file attached)
I want to create an occupancy report in the format i have created. (File attached)
Hi,
I have a data which is guest staying in my hotel with the dates. (file attached)
I want to create an occupancy report in the format i have created. (File attached)
Last edited by AliGW; 02-09-2019 at 04:09 AM.
Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!
- Use concise, accurate thread titles.
- Your post title should describe your problem, not your anticipated solution.
- Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
- Responding to a request to change your thread title by doing so is mandatory.
As you are relatively new here and by way of an example, I have done it for you this time.
Last edited by AliGW; 02-09-2019 at 04:09 AM.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Hi
See if this helps you
I create 3 helper columns and I assume date to report is the 'Check-out Date'
In column K useFormula:Please Login or Register to view this content.
In column L useFormula:Please Login or Register to view this content.
In column M useFormula:Please Login or Register to view this content.
where daysm is a defined name
Formula:Please Login or Register to view this content.
In a new sheet I use
in A1 the year to report, in B1:M1 the month and in A2:A32 the day to count
In B2 useFormula:Please Login or Register to view this content.
and drag down and forward to get the report for a year.
Number of persons stays on date:
for A2-A31 with 1/1/19 - 31/1/19 put into B2
Formula:Please Login or Register to view this content.
Happy with my answer * Add Reputation.
If You are happy with solution, please use Thread tools and mark thread as SOLVED.
Hi,
Thanks for the help. Your formula works till 22nd December.
When the check-out date is in January, your formula is not considering the dates in December.
But the result i want is only for December.
Please refer the result sheet i attached on main thread "Ocupancy_Dec 18.csv"
Thanks
Hi,
Thanks for the help. Your formula works till 22nd December.
When the check-out date is in January, your formula is not considering the dates in December.
But the result i want is only for December.
Please refer the result sheet i attached on main thread "Ocupancy_Dec 18.csv"
Thanks
Hi
I correct the formulas and I have used a new helper column, N.
Formulas used in K2:L2
Formula:Please Login or Register to view this content.
Formula used to report
Formula:Please Login or Register to view this content.
See the file
Hi,
That works. Thank you very much for the help
You are welcome.
Do not forget to mark this thread as SOLVED using Thread Tools from the menu link above.
Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks