+ Reply to Thread
Results 1 to 5 of 5

How to properly set up pivot table for hotel data set?

  1. #1
    Registered User
    Join Date
    12-18-2018
    Location
    Utrecht
    MS-Off Ver
    2016
    Posts
    14

    How to properly set up pivot table for hotel data set?

    Hi guys,

    I received a massive hotel data set (booking sources, cancellations, cancellation dates, arrival dates, departure dates, rate sum etc. included) with booking data from 2012-2019.
    Now, I would like to know how you make a pivot table where I can see for which arrival date, which 'source' made a booking, how many days in advance (booking date). How should I set up my pivot table (Filters, Rows, Colyms, Values) to figure this out?
    I guess these three variables have to be included in my pivot table:
    - Arrival date
    - Source
    - Booking date

    Problem is; I don't know how to set it up correctly.. Sorry for my noobiness
    Many thanks in advance!
    Attached Files Attached Files
    Last edited by PostMaloney; 01-06-2019 at 05:54 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to properly set up pivot table for hotel data set?

    Hello,

    you need to add a column to your data where you calculate Arrival date minus Booking date to get the days in advance.

    Then you can build a pivot table with Source, Booking Date and Advance all in the rows area. The problem is that you will have many individual combinations of Source, booking date and Advance, so a pivot table won't be of much help.

    2019-01-07_15-16-24.png

    Before building the pivot table you need to formulate the question that the pivot table should answer. What do you want to know?

  3. #3
    Registered User
    Join Date
    12-18-2018
    Location
    Utrecht
    MS-Off Ver
    2016
    Posts
    14

    Re: How to properly set up pivot table for hotel data set?

    Many thanks for your reply Teylyn!
    Making a seperate column for number of days in advance was a really handy tip already! Thanks!
    I would like my pivot table to answer this question (I want to figure out the lead time per source):
    - How many days in advance did each source made their booking for arrival date between 01/04/18 - 03/04/18

    Many thanks again!

  4. #4
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to properly set up pivot table for hotel data set?

    Suggestion: Pull the source and the Advance columns into the rows area, and the source again into the values area for a count. Then click an advance number in the pivot table, right-click and select "Group". Set a grouping interval that suits your purpose. In the screenshot I set a group interval of 10.

    advance.png

    You can insert a timeline slicer to show data for a specific time frame only (Pivot table Analyze ribbon > Insert Timeline.

    Let me know if that is something you can work with.

  5. #5
    Registered User
    Join Date
    12-18-2018
    Location
    Utrecht
    MS-Off Ver
    2016
    Posts
    14

    Re: How to properly set up pivot table for hotel data set?

    Thanks so much Teylyn!

    This is definitely something I can work with, thank you very much for assisting me!
    I'll be sure to rate your help!

+ 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. How to properly set up PIVOT Table for hotel data set?
    By PostMaloney in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 12-19-2018, 07:59 AM
  2. Replies: 1
    Last Post: 06-06-2017, 12:03 PM
  3. Setting Pivot Table Filters
    By dflak in forum Tips and Tutorials
    Replies: 0
    Last Post: 03-30-2017, 08:53 AM
  4. [SOLVED] Setting a Pivot Table
    By macspie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-25-2014, 12:00 AM
  5. Setting Pivot Table Ranges
    By broncotundra in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-24-2012, 11:06 AM
  6. Pivot Table setting
    By kw42chan in forum Excel General
    Replies: 0
    Last Post: 11-22-2011, 02:59 AM
  7. Setting Range in Pivot Table
    By Dhiraj in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-14-2005, 09:05 PM

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