Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel 2010 Excel 2007 Excel for Mac 2011 Excel Starter 2010 More…Less
This article describes the formula syntax and usage of the EDATE
function in Microsoft Excel.
Description
Returns the serial number that represents the date that is the indicated number of months before or after a specified date (the start_date). Use EDATE to calculate maturity dates or due dates that fall on the same day of the month as the date of issue.
Syntax
EDATE(start_date, months)
The EDATE function syntax has the following arguments:
-
Start_date Required. A date that represents the start date. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.
-
Months Required. The number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.
Remarks
-
Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.
-
If start_date is not a valid date, EDATE returns the #VALUE! error value.
-
If months is not an integer, it is truncated.
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
Date |
||
15-Jan-11 |
||
Formula |
Description |
Result |
=EDATE(A2,1) |
The date, one month after the date above |
15-Feb-11 |
=EDATE(A2,-1) |
The date, one month before the date above |
15-Dec-10 |
=EDATE(A2,2) |
The date, two months after the date above |
15-Mar-11 |
Need more help?
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel 2010 Excel 2007 Excel for Mac 2011 Excel Starter 2010 More…Less
Use Excel’s DATE function when you need to take three separate values and combine them to form a date.
The DATE function returns the sequential serial number that represents a particular date.
Syntax: DATE(year,month,day)
The DATE function syntax has the following arguments:
-
Year Required. The value of the year argument can include one to four digits. Excel interprets the year argument according to the date system your computer is using. By default, Microsoft Excel for Windows uses the 1900 date system, which means the first date is January 1, 1900.
Tip: Use four digits for the year argument to prevent unwanted results. For example, «07» could mean «1907» or «2007.» Four digit years prevent confusion.
-
If year is between 0 (zero) and 1899 (inclusive), Excel adds that value to 1900 to calculate the year. For example, DATE(108,1,2) returns January 2, 2008 (1900+108).
-
If year is between 1900 and 9999 (inclusive), Excel uses that value as the year. For example, DATE(2008,1,2) returns January 2, 2008.
-
If year is less than 0 or is 10000 or greater, Excel returns the #NUM! error value.
-
-
Month Required. A positive or negative integer representing the month of the year from 1 to 12 (January to December).
-
If month is greater than 12, month adds that number of months to the first month in the year specified. For example, DATE(2008,14,2) returns the serial number representing February 2, 2009.
-
If month is less than 1, month subtracts the magnitude of that number of months, plus 1, from the first month in the year specified. For example, DATE(2008,-3,2) returns the serial number representing September 2, 2007.
-
-
Day Required. A positive or negative integer representing the day of the month from 1 to 31.
-
If day is greater than the number of days in the month specified, day adds that number of days to the first day in the month. For example, DATE(2008,1,35) returns the serial number representing February 4, 2008.
-
If day is less than 1, day subtracts the magnitude that number of days, plus one, from the first day of the month specified. For example, DATE(2008,1,-15) returns the serial number representing December 16, 2007.
-
Note: Excel stores dates as sequential serial numbers so that they can be used in calculations. January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,447 days after January 1, 1900. You will need to change the number format (Format Cells) in order to display a proper date.
Syntax: DATE(year,month,day)
For example: =DATE(C2,A2,B2) combines the year from cell C2, the month from cell A2, and the day from cell B2 and puts them into one cell as a date. The example below shows the final result in cell D2.
Need to insert dates without a formula? No problem. You can insert the current date and time in a cell, or you can insert a date that gets updated. You can also fill data automatically in worksheet cells.
-
Right-click the cell(s) you want to change. On a Mac, Ctrl-click the cells.
-
On the Home tab click Format > Format Cells or press Ctrl+1 (Command+1 on a Mac).
-
3. Choose the Locale (location) and Date format you want.
-
For more information on formatting dates, see Format a date the way you want.
You can use the DATE function to create a date that is based on another cell’s date. For example, you can use the YEAR, MONTH, and DAY functions to create an anniversary date that’s based on another cell. Let’s say an employee’s first day at work is 10/1/2016; the DATE function can be used to establish his fifth year anniversary date:
-
The DATE function creates a date.
=DATE(YEAR(C2)+5,MONTH(C2),DAY(C2))
-
The YEAR function looks at cell C2 and extracts «2012».
-
Then, «+5» adds 5 years, and establishes «2017» as the anniversary year in cell D2.
-
The MONTH function extracts the «3» from C2. This establishes «3» as the month in cell D2.
-
The DAY function extracts «14» from C2. This establishes «14» as the day in cell D2.
If you open a file that came from another program, Excel will try to recognize dates within the data. But sometimes the dates aren’t recognizable. This is may be because the numbers don’t resemble a typical date, or because the data is formatted as text. If this is the case, you can use the DATE function to convert the information into dates. For example, in the following illustration, cell C2 contains a date that is in the format: YYYYMMDD. It is also formatted as text. To convert it into a date, the DATE function was used in conjunction with the LEFT, MID, and RIGHT functions.
-
The DATE function creates a date.
=DATE(LEFT(C2,4),MID(C2,5,2),RIGHT(C2,2))
-
The LEFT function looks at cell C2 and takes the first 4 characters from the left. This establishes “2014” as the year of the converted date in cell D2.
-
The MID function looks at cell C2. It starts at the 5th character, and then takes 2 characters to the right. This establishes “03” as the month of the converted date in cell D2. Because the formatting of D2 set to Date, the “0” isn’t included in the final result.
-
The RIGHT function looks at cell C2 and takes the first 2 characters starting from the very right and moving left. This establishes “14” as the day of the date in D2.
To increase or decrease a date by a certain number of days, simply add or subtract the number of days to the value or cell reference containing the date.
In the example below, cell A5 contains the date that we want to increase and decrease by 7 days (the value in C5).
See Also
Add or subtract dates
Insert the current date and time in a cell
Fill data automatically in worksheet cells
YEAR function
MONTH function
DAY function
TODAY function
DATEVALUE function
Date and time functions (reference)
All Excel functions (by category)
All Excel functions (alphabetical)
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
Description. The Microsoft Excel EDATE function adds a specified number of months to a date and returns the result as a serial date. The EDATE function is a built-in function in Excel that is categorized as a Date/Time Function. It can be used as a worksheet function (WS) in Excel.
Contents
- 1 What is Edate slang?
- 2 What does the e in e-dating mean?
- 3 What is Edating?
- 4 How do you use Edate for days?
- 5 What is the meaning of EBOY?
- 6 How can I date online?
- 7 What is the meaning of distance relationship?
- 8 What does going steady mean in a relationship?
- 9 Does long distance online dating work?
- 10 What is Edate in Google Sheets?
- 11 Why is my Edate not working?
- 12 What is the Edate formula?
- 13 What is Aegirl?
- 14 What do Eboys wear?
- 15 What make a girl fall for you?
- 16 How long should you talk online before meeting?
- 17 Why is LDR so hard?
- 18 How long can a long-distance relationship last without seeing each other?
- 19 How long does the average LDR last?
- 20 Did people date in the 40s?
What is Edate slang?
Filters. The Internet equivalent of a date; the process of getting to know someone via instant messages or other computerized communication.
What does the e in e-dating mean?
E-DATING means “Online dating.”
What is Edating?
e-dating (uncountable) The Internet equivalent of a date; the process of getting to know someone, with a view to romance, via instant messages or other computerized communication.
How do you use Edate for days?
You can use the EDATE function to quickly add or subtract months from a date. The EDATE function requires two arguments: the start date and the number of months that you want to add or subtract. To subtract months, enter a negative number as the second argument. For example, =EDATE(“9/15/19”,-5) returns 4/15/19.
What is the meaning of EBOY?
The terms egirls and eboys are slang terms for young women and men, respectively, who are active internet users, often stereotyped as emo-styled anime and gaming fans trying to get attention on social media.
How can I date online?
Online dating tips: the nine-step guide
- Make sure you are ready to start dating.
- Find the best dating site for you.
- Take advantage of online personality tests and intelligent matchmaking.
- Create a good online dating profile.
- Put up the perfect profile photo.
- Make a great introduction with your first message.
- Take your time!
What is the meaning of distance relationship?
A long-distance relationship (LDR) or long-distance romantic relationship (LDRR) is an intimate relationship between partners who are geographically separated from one another.
What does going steady mean in a relationship?
Definition of ‘go steady’
If two people are going steady, they are having a long, fairly serious romantic relationship. [informal] She’s been going steady with Randolph for almost a year now. Synonyms: go out, court, be seeing someone, be in a relationship More Synonyms of go steady.
Does long distance online dating work?
“If we think about this as a skill, distance puts it to the test.” His research has found that LDRs last longer than geographically close relationships, but only for as long as the couples stay long-distance. One explanation suggested by his work is that long-distance daters tend to idealize their relationships.
What is Edate in Google Sheets?
The EDATE function in Google Sheets is useful if you want to know a specified number of months before or after a given date. Meaning, the EDATE function can be used in identifying the expiration date of contracts, employees’ regularization date, or if you simply want to know the date 6 months ago for some reason.
Why is my Edate not working?
EDATE returns a date serial number; you may need to format the cell so it uses a date format that formats the returned value as you want it to appear. You should note that if the EDATE function does not work on your system, it means you have not installed or enabled the Analysis ToolPak.
What is the Edate formula?
Formula. =EDATE(start_date, months) The EDATE function includes the following arguments: Start_date (required argument) – This is the initial date. We need to enter dates in date format, either by using the DATE function or as results of other formulas or functions.
What is Aegirl?
E-girls are a subculture derived from social media platforms like TikTok and Instagram and are typically categorized by winged eyeliner, vibrant and heavy eyeshadow, and a child-like aesthetic often associated with anime and cosplay.
What do Eboys wear?
Eboy clothes commonly consist of loose-fitted thrift clothing such as an oversized jumper, monochromatic pieces, band/graphic merchandise layered over a long sleeve striped shirts. Chain necklaces, wallet chains and dangle earrings are also frequently worn.
What make a girl fall for you?
How To Make a Girl Fall For You: 20 Simple Strategies
- Work on yourself & have your own life.
- Be optimistic.
- Keep the conversation going.
- Respect her as an equal.
- Be her friend and make it fun.
- Be anything but clingy.
- Take it slow – things will fall in place.
- Don’t make yourself too available.
How long should you talk online before meeting?
“Four to five days of chatting before you initiate the date is often the sweet spot. It gives you enough time to build that foundation of trust, but it’s not so long that the momentum drops off.”
Why is LDR so hard?
LDRs require a huge amount of open, straight-forward communication to properly work, and this can often be difficult to manage over the phone. Heck, it’s hard to manage in person! It can also be hard to establish boundaries and the right amount of communication if you’re doing long distance for the first time.
How long can a long-distance relationship last without seeing each other?
According to Dr. Guldner at The Center for the Study of Long-distance Relationships, the average couple visits each other 1.5 times a month. In some cases, partners have to go months without seeing each other.
How long does the average LDR last?
Jimenez found that for LDRs, the average relationship length was 2.9 years (the standard deviation — one way to measure how much variance there is in the data — was 3.2 years). For PRs, the average relationship was more than twice as long, 7.3 years (the standard deviation was larger, too, though, at 7.5 years).
Did people date in the 40s?
The world of dating has always been perilous, but teens in the 1940s weren’t left to figure it out on their own. They had a little help in the romantic arts, via educational “mental hygiene films” that parents and teachers hoped would help them find their way in an increasingly complex world.
На чтение 5 мин. Просмотров 293 Опубликовано 26.08.2019
Функция EDATE в Excel быстро добавляет или вычитает месяцы к известным датам. Функция EDATE может использоваться, например, для определения сроков или сроков инвестиций или дат начала или окончания проектов.
Примечание . Информация в статье относится к Excel 2019, 2016, 2013 и 2010; Excel Online; и Excel 2019 для Mac, Excel 2016 для Mac и Excel для Mac 2011.
Содержание
- Добавить или вычесть месяцы в даты
- Синтаксис и аргументы функции EDATE
- #ЗНАЧЕНИЕ! Значение ошибки
- Пример функции EDATE в Excel
- Введите функцию EDATE
- Пример EDATE – вычитать месяцы
- Изменить формат даты в Excel
- Устранить неполадки в ряду хэштегов
Добавить или вычесть месяцы в даты
Поскольку функция только добавляет или вычитает целые месяцы к дате, результат всегда попадает в тот же день месяца, что и начальная дата.
Данные, возвращаемые функцией EDATE, представляют собой серийный номер или серийную дату. Для отображения разборчивых дат в правильном формате даты вы примените форматирование даты к ячейкам, содержащим функцию EDATE.
Синтаксис и аргументы функции EDATE
Синтаксис функции относится к макету функции и включает в себя имя функции, скобки и аргументы.
Синтаксис для функции EDATE:
= ДАТАМЕС (дата_начала месяцев)
Start_date (обязательно): дата начала проекта или рассматриваемый период времени.
- Этот аргумент может быть датой, введенной в функцию, или ссылкой на ячейку для расположения данных на листе.
Месяцы (обязательно): количество месяцев до или после начальной_ даты.
- Этот аргумент может быть значением, введенным в функцию, или ссылкой на ячейку для расположения данных на листе.
- Положительные значения дают будущие даты (строка 8 на рисунке выше).
- Отрицательные значения дают прошлые даты (строка 3 на изображении выше).
- Если month не является целым числом, оно усекается (десятичная часть удаляется), как показано в строке 8 на рисунке выше, где 12,25 лет усекается до целого числа 12.
#ЗНАЧЕНИЕ! Значение ошибки
Если аргумент Start_date не является допустимой датой, функция возвращает значение ошибки #VALUE! (как показано в строке 4 на рисунке выше) с 30.02.2016 (30 февраля 2016 г.) недействителен.
Пример функции EDATE в Excel
Как показано на рисунке выше, в этом примере функция EDATE используется для сложения и вычитания различного количества месяцев до даты 1 января 2016 года.
Приведенная ниже информация охватывает шаги, используемые для ввода функции в ячейки B3 и C3 рабочего листа.
Введите функцию EDATE
Варианты ввода функции и ее аргументов включают в себя:
- Ввод полной функции: = EDATE ($ A $ 3, C2) в ячейку C3;
- Выбор функции и ее аргументов с помощью диалогового окна функции EDATE.
Хотя можно просто ввести полную функцию вручную, многим людям проще использовать диалоговое окно для ввода аргументов функции.
Приведенные ниже шаги охватывают ввод функции EDATE, показанной в ячейке B3 на изображении выше, с использованием диалогового окна функции.
Поскольку значения, вводимые для аргумента Месяцы , являются отрицательными (-6 и -12), даты в ячейках B3 и C3 будут раньше даты начала.
Пример EDATE – вычитать месяцы
- Выберите ячейку B3 , чтобы сделать ее активной.
- Выберите Формулы . В Excel Online нажмите кнопку Вставить функцию рядом с панелью формул, чтобы открыть диалоговое окно Вставить функцию.
- Выберите Функции даты и времени , чтобы открыть раскрывающийся список функций. В Excel Online выберите Дата и время в списке «Выбрать категорию».
- Выберите EDATE в списке, чтобы открыть диалоговое окно функции.
- Выберите строку Start_date в диалоговом окне.
- Выберите ячейку A3 на листе, чтобы ввести ссылку на эту ячейку в диалоговое окно в качестве аргумента Start_date.
- Нажмите F4 , чтобы сделать A3 абсолютной ссылкой на ячейку ($ A $ 3).
- Выберите строку Месяцы в диалоговом окне.
- Выберите ячейку B2 на листе, чтобы ввести ссылку на эту ячейку в диалоговое окно в качестве аргумента Месяцы .
- Выберите ОК , чтобы завершить функцию и вернуться к рабочему листу.
- Дата 01.07.2015 (1 июля 2015 г.) отображается в ячейке B3, то есть за шесть месяцев до даты начала.
- Используйте маркер заполнения, чтобы скопировать функцию EDATE в ячейку C3. Дата 01.01.2015 (1 января 2015 г.) отображается в ячейке C3, то есть за 12 месяцев до даты начала.
- Выберите ячейку C3 , чтобы отобразить полную функцию = EDATE ($ A $ 3, C2) на панели формул над рабочим листом.
Примечание . Если в ячейке B3 появляется число, например 42186 , вероятно, к ячейке применено форматирование Общие . См. Инструкции ниже, чтобы применить формат даты к ячейке.
Изменить формат даты в Excel
Быстрый и простой способ изменить формат даты для ячеек, содержащих функцию EDATE, – выбрать один из списка предварительно заданных параметров форматирования в диалоговом окне «Формат ячеек».
В приведенных ниже действиях используется комбинация клавиш Ctrl + 1 или Command + 1 (номер один) для открытия. диалоговое окно «Формат ячеек». (Этот ярлык недоступен в Excel Online.)
Чтобы изменить формат даты:
- Выделите ячейки на листе, которые содержат или будут содержать даты.
- Нажмите Ctrl + 1 или Command + 1 , чтобы открыть диалоговое окно «Формат ячеек».
- Выберите вкладку Число в диалоговом окне.
- Выберите Дата в окне списка категорий (находится в левой части диалогового окна).
- В окне Тип (справа) выберите нужный формат даты.
- Если выбранные ячейки содержат данные, в окне «Образец» отображается предварительный просмотр выбранного формата.
- Выберите ОК , чтобы сохранить изменение формата и закрыть диалоговое окно.
Если вы предпочитаете использовать мышь, а не клавиатуру, альтернативный способ открытия диалогового окна:
- Щелкните правой кнопкой мыши выбранные ячейки, чтобы открыть контекстное меню.
- Выберите Формат ячеек , чтобы открыть диалоговое окно Формат ячеек.
Устранить неполадки в ряду хэштегов
Если после изменения формата даты для ячейки в ячейке отображается строка хэштегов, это происходит потому, что ячейка недостаточно широка для отображения отформатированных данных. Расширение ячейки исправляет проблему.
Bottom line: With Valentine’s Day rapidly approaching I thought it would be good to explain how you can get a date with your Excel skills. Just kidding! 🙂 This post and video explain how the date calendar system works in Excel.
Skill level: Beginner
Dates in Excel can be just as complicated as your date for Valentine’s Day. We are going to stick with dates in Excel for this article because I’m not qualified to give any other type of dating advice. 🙂
Video Tutorial on How Dates Work in Excel
The following is a video from The Ultimate Lookup Formulas Course on how the date system works in Excel.
Watch the Video on YouTube
There are over 100 short videos just like the one above included in the Ultimate Lookup Formulas Course.
This course has been designed to help you master Excel’s most important functions and formulas in an easy step-by-step manner.
The Ultimate Lookup Formulas course is now part of our comprehensive Elevate Excel Training Program.
Click Here to Learn More About Elevate Excel
What is a Date in Excel?
I should first make it clear that I am referring to a date that is stored in a cell.
The dates in Excel are actually stored as numbers, and then formatted to display the date. The default date format for US dates is “m/d/yyyy” (1/27/2016).
The dates are referred to as serial numbers in Excel. You will see this in some of the date functions like DAY(), MONTH(), YEAR(), etc.
So then, what is a serial number? Well let’s start from the beginning.
The date calendar in Excel starts on January 1st, 1900. As far as Excel is concerned this day starts the beginning of time.
Each Day is a Whole Number
Each day is represented by one whole number in Excel. Type a 1 in any cell and then format it as a date. You will get 1/1/1900. The first day of the calendar system.
Type a 2 in a cell and format it as a date. You will get 1/2/1900, or January 2nd. This means that one whole day is represented by one whole number is Excel.
You can also take a cell that contains a date and format it as a number.
For example, this post was published on 1/27/2016. Put that number in a cell (the keyboard shortcut to enter today’s date is Ctrl+;), and then format it as a number or General.
You will see the number 42,396. This is the number of days that have elapsed since 1/1/1900.
Date Based Calculations
It is important to know that dates are stored as the number of days that have elapsed since the beginning of Excel’s calendar system (1/1/1900).
When you calculate the difference between two dates by subtraction, the result will be the number of days between the two dates.
1/27/2016 – 1/1/2016 = 26 days
6/30/2016 – 1/1/2016 = 181 days
There are a lot of Date functions in Excel that can help with these calculations. Last week we learned about the DAY function for month-to-date calculations with pivot tables.
We won’t go into all the date functions here, but understanding that the serial number represents one day will give you a good foundation for working with dates.
What About Dates with Times?
Do you ever work with dates that contain time values?
These dates are still stored as serial numbers in Excel. When you convert the date with a time to the number format, you will see a decimal number.
This decimal is a fraction of the day.
One hour in Excel is represented by the number: 1/24 = 0.04167
One minute in Excel is represented by the number: 1/(24*60) = 1/1440 = 0.000694
So 8:30 AM can be calculated as: (8 * (1/24)) + (30 * (1/1440)) = .354167
An easier way to calculate this is by typing 8:30 AM in a cell, then changing the format to Number.
So if you are running a half hour late and want to let your boss know, text him/her and say you will be there at 0.354167. 🙂
Checkout my article on 3 ways to group times in Excel for more date time based calculations.
Don’t Talk About Excel Dates with Your Date
Unless your Valentine shares a similar passion for Excel, I strongly recommend NOT sharing this information on your date.
I remember the first time I met my wife, and told her I worked in finance. The first word out of her mouth was, “BORING!”. Awe… it was love at first sight… LOL 🙂
But you should now be able to use Excel to determine how many days it has been since you last spoke to your date. That’s the only dating advice I can give.
Please leave a comment below with any questions on Excel dates. Thanks!