Pivot table to display data as calendar

cdfjdk

New Member
Joined
Sep 3, 2014
Messages
31
I have a form that enters employee's travel plans into an Excel worksheet, including starting and ending dates - one row per travel plan.


I want to visualize these plans (start date to end date) in a calendar view in the same spreadsheet. However, I do not want to use VBA, because I do not want the spreadsheet to be macro-enabled. Also I do not want to export to Outlook.


I have looked for an example of a pivot table that could display data in a calendar layout without success - could anyone point me to an example?


Thanks in advance!

CJ
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
post a link to shared example excel file (GoogleDrive, OneDrive or any similar) with raw data and expected result
remember to desensitize data if necessary
 
Upvote 0
How about PowerQuery? (Get&Transform)

basic table is transformed to be a proper source for PivotTable then simply PivotTable is created
IMHO you can't create PivotTable like you show, from your source table directly

End DateName - Destination
09/06/2019
Mary Smith - NYC USA
15/06/2019
John Doe - GVA SWI
21/06/2019
John Doe - Paris France
28/06/2019
John Doe - Madrid SPA
02/07/2019
John Doe - Sofia BLG
12/07/2019
John Doe - ROM ITA

Travel Plan file
 
Last edited:
Upvote 0
Calendar View?
For the Pivot Table, each date would need data on the Travel plan, otherwise you only have a start date and end date popping on the Pivot Table.

Basically.
Travel days are valued at 1
The calendar is built by Years, Month and WeekNumber for the Rows. WeekDay # for the Columns. Label the calendar days with the Calendar day in Values.
Add the Travel days to the values and make sure the Sigma Values item is moved to the Rows.
You can use conditional formatting to highlight off days and use specific color for each person.
 
Upvote 0
Thank you Sandy666 and SpillerBD - it sounds like a pivot table would be a tough solution - I'll try exporting to a new workbook using VBA instead.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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