How to Expand an Excel Calendar Box to Show Daily Events
Question details
The user wants to configure an interactive Excel calendar to display all daily events for a selected date within an expanded cell, text box, or shape.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Viewing daily schedule details dynamically when selecting a specific date in a custom Excel calendar.
- Observed behavior
- Events need to dynamically populate in a designated display area based on the date clicked or selected in the calendar worksheet.
Ensure your event data is stored in a structured table on a separate sheet with a dedicated column for dates and another for event descriptions.
Use the FILTER Function to Display Daily Events
Extract and display all events matching a selected date using the dynamic array FILTER function.
This method is ideal if your display area is a cell or a range of cells next to the calendar. It dynamically pulls multiple events for a single date without requiring complex VBA programming.
Create a structured table with 'Date' in column A and 'Event Details' in column B on a separate worksheet named 'EventData'.
Designate a cell near your calendar (e.g., cell E2) where you will input or click a specific date to view its events.
In your designated display cell, enter the formula =FILTER(EventData!B:B, EventData!A:A=E2, "No events scheduled") to pull all event descriptions matching the date.
Select the display cell, navigate to the Home tab, and click 'Wrap Text'. Adjust the row height and column width so all listed events fit seamlessly within the box.

Use VBA Macros to Update a Shape or Text Box
Trigger a VBA macro to automatically fetch and display events in a shape or text box when a calendar date is clicked.
Create Dynamic Calendars with WPS Spreadsheet
WPS Office Spreadsheet fully supports dynamic array functions like FILTER and advanced VBA macros, allowing you to easily build interactive calendars that expand to show daily events. It provides a lightweight and free environment that handles complex data perfectly.
- 1. Open your Calendar: Launch WPS Spreadsheet and open your existing calendar workbook.
- 2. Organize Event Data: Keep a structured list of dates and events in a dedicated worksheet.
- 3. Apply Formulas or Macros: Type =FILTER in the formula bar to extract daily events, or press Alt + F11 to set up your VBA macro for custom text boxes.

Frequently Asked Questions
Why does the FILTER function return a #CALC! error in my calendar?
This error occurs when there are no events matching the selected date and the [if_empty] argument in the FILTER formula is left blank. To fix this, add a default message like "No events" as the third argument in your formula: =FILTER(B:B, A:A=E2, "No events").
Can I expand an Excel cell automatically to fit all the events?
Yes. Select the cell displaying the events, go to the Home tab, and click 'Wrap Text'. Then, double-click the bottom boundary of the row header on the left side of the screen to auto-fit the row height to the text.
Is it possible to show calendar events by hovering over a date instead of clicking?
Excel does not natively support hover-trigger events to change cell values or update formulas. You can manually insert static Notes or Comments for individual cells (Right-click > New Note), but dynamically retrieving data based on a mouse hover requires complex Windows API calls via VBA, which is generally not recommended.
Does WPS Office support Excel macros for calendar features?
Yes, WPS Office fully supports VBA macros. You can run and edit macros originally created in Excel to update text boxes or shapes in your interactive calendar seamlessly within WPS Spreadsheet.




