Calculate Future And Past Dates

BY STANLEY ZAROWIN

Q. One of my monthly tasks is to calculate contract expiration dates. If I know a contract will expire in nine months from a given date, for example, can Excel figure out the actual expiration date?

A. The EDATE function, when linked with the NOW function, can do that. If you want to know a date nine months from today, use the formula: =EDATE(NOW(),9).

If you want the date nine months ago, use a negative number in the formula, such as: =EDATE(NOW(),-9).

Caveat : If your answer is a five-digit number instead of a date, it means you failed to format the cell correctly. To prepare a cell to exhibit its answer as a date, right-click on the cell to bring up the format screen (see screenshot below left) and select the date format you want. The result will be the screenshot on the right.

In the unlikely event EDATE fails to work, you probably haven’t enabled Analysis ToolPak , which is usually in Excel but by default isn’t enabled. To turn it on, click on Tools , Add-Ins . One of the options will be Analysis ToolPak . Click on it and then on OK .

If Analysis ToolPak is not among the options, it probably wasn’t installed when Excel or Office was first loaded on your computer. In that case, you’ll have to reinstall Excel from the original disks. When you do, be sure to install the Excel add-ins when the option is presented.

SPONSORED REPORT

How the election may affect taxation of business income

This report summarizes recent proposals to reform the U.S. business income tax system and considers the path to enactment of any such legislation.

VIDEO

How to Excel pivot a general ledger

The general ledger is a vast historical data archive of your company's financial activities, including revenue, expenses, adjustments, and account balances. J. Carlton Collins, CPA, shows how to prepare data for, and mine data with, PivotTables.

QUIZ

Did you follow 2016’s biggest accounting news?

CPAs will remember 2016 as a year of new standards and new faces. How well did you follow the biggest accounting events? The 7 questions in this quiz will help you find out