+ Reply to Thread
Results 1 to 8 of 8

Sum guests

  1. #1
    Registered User
    Join Date
    10-29-2019
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    11

    Sum guests

    Ok I am basically a newbie in this. I own a small hotel and what I need is placing the check in date of a guest and his check out date along with some details about him and be able to extract a list of guests about any day of the month. Any help?
    Thanks in advance

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Sum guests

    Hi -

    I would make each row of your spreadsheet data about your guest. So A1 could be last name, B1 first name, C1, check in Date, D1, check out date, and so forth. It will also be VERY helpful if you assign a unique transaction number for each stay. It can be as simple as 1, 2, 3, and so on for each stay. Even if the same guest comes back (say they had Stay number 34 and they come back a week later), give them a new transaction number such as 73 if that transaction is the 73 "guest". This will make it VERY easy to query your spreadsheet later on as you desire, AND you can sort and filter your data on date, last name, first name, etc. You can also count the number of times a particular guest has stayed with you. You can add a comment field and put random text in there about maybe a particular guests preferences, etc.

    Do NOT put all the data in one column, for example A1 is Last Name, A2 first name A3 Check in, etc. That makes it VERY hard to query the data.

    Finally, make a current backup of your spreadsheet. We back up our files EVERY DAY to the cloud so if the worst case happens, you're only out a days worth of data.

    I bet if you hunt around, you can find some pre-made hotel guest spreadsheets to use as a template.

    Hope this helps.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Sum guests

    Here is an example based on what loginjmor said plus some formulas in F and D and A pivot table for analyse.
    Attached Files Attached Files
    Click the * to say thanks.

  4. #4
    Registered User
    Join Date
    10-29-2019
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    11

    Re: Sum guests

    Wow guys thank you very much both your answers were extremely helpful!!!
    The example was amazing PaulM100 I think I can take it on from here.
    Just one last thing. Is there any way I can export the list to a new sheet, depending on the date I choose?

  5. #5
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Sum guests

    Can you be more specific? Like in a another sheet to select a date and return a list of guest, but if you select another date, then another list and so forth??

  6. #6
    Registered User
    Join Date
    10-29-2019
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    11
    Yes exactly that! Being able to choose a date with a drop list and exporting the list of guests in a new sheet
    Last edited by AliGW; 11-02-2019 at 11:02 AM. Reason: Please don't quote unnecessarily!

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,742

    Re: Sum guests

    Based on Paul's file (post #3) would moving the pivot table to another sheet and using the pivot filter as your drop down be an option?
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,671

    Re: Sum guests

    Formula in Sheet2 in A4 te copied across.

    =IFERROR(INDEX(Sheet1!A$2:A$7,AGGREGATE(15,6,ROW(Sheet1!A$2:A$7)/((Sheet1!$C$2:$C$7<=$B$2)*(Sheet1!$D$2:$D$7> =$B$2)),ROWS(A$4:A4))-ROW($A$2)+1),"")
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula- count # of guests for every hour based on arrival and end time
    By Jomejorada in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-21-2013, 08:30 AM
  2. [SOLVED] Counting the number of Guests to be In House on a certain day.
    By JJohnsey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-23-2013, 02:37 PM
  3. Get # of guests for each activity in a table.
    By braco22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-30-2012, 10:34 AM
  4. [SOLVED] apply discount based on number of guests
    By dacraig in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-02-2012, 06:35 PM
  5. Replies: 2
    Last Post: 05-07-2012, 04:24 AM
  6. Replies: 1
    Last Post: 05-04-2012, 03:10 PM
  7. [SOLVED] How can I create a reservation chart for hotel guests?
    By ozi in forum Excel General
    Replies: 0
    Last Post: 01-22-2006, 07:25 PM
  8. Identifying Posts from 'GUESTS'
    By swatsp0p in forum Excel General
    Replies: 6
    Last Post: 04-14-2005, 09:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1