logo
search
Function Problems

How to Automatically Display Today's Hours in Excel

Olivia MillerOlivia Miller Sep 28, 2026 869 views

Question details

The user needs a single cell in an Excel worksheet to automatically display the operating hours for the current day based on a weekly schedule list.

How to Automatically Display Today's Hours in Excel
Product
Excel
Device & OS
not provided
Scenario
Managing a weekly schedule (e.g., library or business hours) and needing to dynamically show today's hours without manual daily updates.
Observed behavior
The user wants the designated cell to automatically update and display the correct daily hours whenever the current date changes.
Before you start

Ensure you have a reference table set up in your worksheet containing the days of the week in one column and their corresponding operating hours in the adjacent column.

Solution 1Recommended

Use VLOOKUP and TODAY Functions

The most efficient way to dynamically pull today's hours from a reference list using built-in Excel formulas.

This method combines the TODAY function to get the current date, the TEXT function to convert it into a weekday name, and VLOOKUP to find the matching hours in your schedule list.

1
Create the reference table

On a worksheet named 'List', enter the days of the week (Monday through Sunday) in cells A1 to A7, and their corresponding hours in cells B1 to B7.

2
Select the target cell

Click on the cell in your main worksheet where you want today's operating hours to be displayed.

3
Enter the formula

Type the formula =VLOOKUP(TEXT(TODAY(),"dddd"),List!A1:B7,2,FALSE) into the formula bar and press Enter.

4
Verify the automatic update

The cell will now display the hours for the current day. This value will automatically update at midnight based on your computer's system clock.

Use VLOOKUP and TODAY Functions
Formula Breakdown: The TEXT(TODAY(),"dddd") portion converts the current date into a full weekday name (like 'Monday'), which VLOOKUP then searches for in the first column of your schedule list.
Manage Schedules Easily

Automate Your Schedules with WPS Spreadsheet

WPS Spreadsheet fully supports advanced formulas like VLOOKUP, TODAY, and TEXT, allowing you to easily automate your daily schedules. It provides a lightweight, highly compatible environment for all your data management tasks.

  1. 1. Set up your schedule list: Open WPS Spreadsheet and create a reference table with weekdays in column A and hours in column B.
  2. 2. Select your display cell: Click on the cell where you want today's hours to appear.
  3. 3. Apply the lookup formula: Type =VLOOKUP(TEXT(TODAY(),"dddd"),A1:B7,2,FALSE) and press Enter.
  4. 4. Enjoy automatic updates: The cell will instantly display the correct hours and automatically refresh every day without manual input.
Fully compatible with Microsoft Excel (.xlsx, .xls) formats and formulas.Seamlessly execute VLOOKUP, TODAY, and dynamic array formulas.Lightweight software with a familiar, easy-to-use interface.Free built-in templates for daily schedules and timetables.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my VLOOKUP formula returning an #N/A error?

This usually happens if the weekday name generated by the TEXT function doesn't exactly match the spelling in your reference list. Ensure there are no trailing spaces or typos in your list's weekday names.

Can I use XLOOKUP instead of VLOOKUP for this?

Yes. If you are using a newer version of Excel or WPS Spreadsheet, you can use =XLOOKUP(TEXT(TODAY(),"dddd"),List!A1:A7,List!B1:B7) to achieve the exact same result without needing to specify a column index number.

When exactly does the TODAY() function update?

The TODAY() function automatically updates to the current date based on your computer's system clock whenever the workbook is opened, or whenever the worksheet recalculates (like when you edit a cell).

Can I display the current date alongside the operating hours?

Yes, you can use the '&' operator to combine text strings. For example: =TEXT(TODAY(),"mm/dd/yyyy") & " Hours: " & VLOOKUP(TEXT(TODAY(),"dddd"),List!A1:B7,2,FALSE).