Pinterest Pixel

Copilot for Date and Time Formulas in Excel: Complete Guide

John Michaloudis
Date and Time formulas help you calculate deadlines, find the difference between dates, add working days, and extract months or years.
Instead of remembering the syntax of each formula, you can ask Copilot to create it based on your requirements.

In this article, you will learn how to use Copilot for date and time formulas in Excel.

Date and Time formulas help you calculate deadlines, find the difference between dates, add working days, and extract months or years. Instead of remembering the syntax of each formula, you can ask Copilot to create it based on your requirements. In this article, you will learn how to use Copilot for date and time formulas in Excel.

Key Takeaways:

  • Copilot can create date and time formulas using simple prompts.
  • Ask Copilot to calculate the difference between two dates.
  • Copilot can extract the day, month, and year from a date.
  • It can be used to calculate working days and project deadlines.
  • You can calculate time differences and total working hours.

 

How to Use Copilot for Date and Time Formulas

Step-by-Step Guide

STEP 1: Open your Excel workbook.

Copilot for Date and Time Formulas in Excel

STEP 2: Make sure your data has proper column headers.

STEP 3: Select the Copilot icon in the lower-right corner of Excel.

Copilot for Date and Time Formulas in Excel

STEP 4: The Copilot pane will open. Enter your request in the prompt box.

Copilot for Date and Time Formulas in Excel

STEP 5: Review the result and press Done.

Copilot for Date and Time Formulas in Excel

Attributes of a Good Prompt

  • Mention the exact name of the header when referring to it.
  • Mention the unit in which you want your result: days, months, years, hours, or minutes.
  • Mention if you want to include the start date in your calculation.
  • Mention if you want to skip weekends or a holiday list.

 

More Examples for Date and Time Formulas

1. Extract Day, Month, and Year From a Date

To get the day, month, or year from an existing date, ask Copilot to extract the required details into separate columns.

“Extract the day, month, and year from the Order Date column. Add three separate columns named Day, Month, and Year.”

Copilot for Date and Time Formulas in Excel

2. Calculate the Number of Working Days

Project schedules and employee records often require the number of working days between two dates. Ask Copilot to create a NETWORKDAYS formula for this calculation.

“Calculate the number of working days between the Start Date and End Date columns. Exclude Saturdays and Sundays and use the NETWORKDAYS formula.”

Copilot for Date and Time Formulas in Excel

3. Calculate Project Deadlines

Copilot can calculate the expected completion date by adding working days to the start date.

“Calculate the project deadline by adding 15 working days to the Start Date column. Exclude weekends and holidays listed in the Holidays column.”

Copilot for Date and Time Formulas in Excel

4. Calculate the Current Date and Time

Tell Copilot to insert a formula that returns the current date or time.

“Create a formula to display the current date and time in cell A2. Use the appropriate Excel function.”

Copilot for Date and Time Formulas in Excel

5. Calculate the Difference Between Two Times

An attendance sheet may contain Clock In and Clock Out columns. Ask Copilot to calculate the total hours worked by each employee and add the result to a new column.

“Calculate the total working hours by subtracting the Clock In time from the Clock Out time. Add the result in a new column named Total Hours. Handle shifts that end after midnight.”

Copilot for Date and Time Formulas in Excel

 

FAQs

1. Which date and time formulas can Copilot create in Excel?

Copilot can suggest formulas such as TODAY, NOW, DATEDIF, NETWORKDAYS, and WORKDAY.

2. Can Copilot calculate the number of days between two dates?

To calculate the number of days between two dates using Copilot, you can enter a prompt to describe the result. For example:

“Calculate the number of days between the Joining Date and End Date columns.”

3. How can I extract the month from a date using Copilot?

Ask Copilot to extract the month from a date column and add it to a new column.

4. Can Copilot exclude weekends and holidays from date calculations?

Copilot can create NETWORKDAYS and WORKDAY formulas to exclude weekends and specified holidays.

5. Can Copilot calculate working hours in Excel?

Copilot can suggest formulas to calculate the difference between clock-in and clock-out times, including overnight shifts.

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.

See also  How to Create an Excel Template with Copilot: Step-by-Step Guide

Steps To Follow

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...