Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (2024)

  • Last updated on February 10, 2011

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (1)

Chandoo

Share

It is not too sunny here, but I am going to put on my business man hat. At the end of each month, I ask myself if my business (chandoo.org that is) has performed better or worse. One simple way is to look at previous month’s numbers and then I know how good the latest month is.

But thanks to awesome people like you, my business is growing every month. So mere comparison with previous month’s values is not enough. I would like to know, for eg. if the latest month is,

  • The best month ever
  • The best month in last 12 months (trailing 12 months)

Now, it would be a shame if I have to find these answers manually. So I write an Excel formula. That is right!, a formula to tell me if the latest month’s value is all time best, best in last 12 months.

How to write such formulas?

Oh, the formulas are really simple. More so, if you compare it with the effort it takes to make a month all time best in sales (or any other metric).

Assuming we have a bunch of sales numbers by month in the range B6:C30,

To test for All time high condition:

  • In cell D6, write =C6=MAX($C$6:C6)
  • Drag the formula to fill remaining cells in column D
  • Now you will see a bunch of TRUE and FALSE values. TRUE means the corresponding month’s sales is an all time high.

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (2)Tip: See how we are using $C$6:C6 in the MAX. This style of referencing is called as mixed cell referencing. By using this, when you fill the formula for remaining months, the range inside MAX grows. Thus for each month we get the maximum sales value thus far. more ».

To test for Trailing 12 month high condition:

  • We will test this condition in column E.
  • In E17 (trailing 12 month high can not be calculated for first 11 months…) write = C17=MAX(C6:C17)
  • Drag the formula to fill remaining cells in column E
  • Now you will see a bunch of TRUE and FALSE values. TRUE means the corresponding month’s sales is a trailing 12 month high.

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (3)Tip: The range C6:C17 is relative. Thus when you fill the formula down, it changes to C7:C18, C8:C19… referring to previous 12 months. more ».

Download Example Workbook

I have prepared a simple example file. Download it to understand these formulas.

How do you analyze your sales data?

Apart from the above techniques, I also use line charts & trend lines to understand the sales trend. Also, I use pivot tables to segment my sales based on product, customer type, region etc. Since my business is new, I do not have previous year values for many products. But where possible, I compare sales from last month same year to see how well the product has grown / shrunk. I do not set any targets at monthly level as I aim to enjoy the process. So I do not use bullet charts or target vs. actual charts per se.

What about you? How do you analyze sales or similar data? What metrics do you use to gauge the performance? Please share using comments.

Resources to Understand Your Sales Data better:

Share this tip with your colleagues

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (4)

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (5)

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.Read my storyFREE Excel tips book

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (6)

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (7)

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (8)

Excel School made me great at work.

5/5

– Brenda

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (9)

From simple to complex, there is a formula for every occasion. Check out the list now.

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (10)

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (11)

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (12)

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

9 Responses to “Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip]”

  1. [...] This post was mentioned on Twitter by Chandoo.org and Stray__Cat, Excel Insider. Excel Insider said: Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip]: It is not too sunny ... http://bit.ly/gax6Mo [...]

    Reply

  2. Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (22)Eli says:

    I often look at the percentage of members that make up XX percent of sales or profits. You'll often find that an 80/20 rule applies. Your top couple deciles of customers (or your top couple deciles of products) contribute the majority of your sales/profits. This type of analysis can be helpful when trying to determine how to target a promotion, or how to allocate marketing resources. Mixed references (described in this post) come in handy here for tallying up the top XX% of customers, products, profits, transactions, etc. (You just have the rank them first.) Plotting this information (e.g. % of profits vs. % of customers) on an x/y scatter plot is also useful -- and you can jazz up the chart with some dynamic markers, titles, and, perhaps, a scroll bar form control.

    Reply

  3. I am more into measuring performance and quality of production for a bunch of people in my organization. To measure their performance and set targets for future, I prefer using trend lines and line charts. In the qualitative aspect I make time based comparisons (such as with their own performance, with other individuals and with the group as well).

    I must say, I have learnt a lot from chandoo's site. I am fairly new to it but our association has done wonders in my style of working.

    Thank You Chandoo!

    I am a step forward to become AWESOME IN EXCEL!

    Reply

  4. Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (24)Fred says:

    Thx! I didn't know =C6=MAX($C$6:C6) could work with two "=". My old school of teaching was

    =IF(B14>=MAX($B$2:B14),"True","False")

    Thank you very much for teaching me something new.

    Reply

  5. Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (25)Arman says:

    hi Chandoo,

    Do you have a 2003 version of this file? Thanks!

    Arman

    Reply

  6. Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (26)Fiaz Idris says:

    Instead of asking for earlier version of file.. I suggest.. you use

    File Converter (free download from microsoft site).. which will let you open .xlsx files in office 2003 and word files, etc.

    http://office.microsoft.com/en-us/excel-help/use-office-excel-2007-with-earlier-versions-of-excel-HA010077561.aspx#BMfileconverters

    Reply

  7. Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (27)Arman says:

    @ Fiaz...Thanks!

    Reply

  8. Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (28)Mark says:

    I added All Time Low and TTM Low columns to the tables and altered the formulas to C6=MIN($C$6=C6) for All Time Low.

    For the TTm Low column, the formula needed to start with =K17=MIN($K$17:K17) in K17 because the "empty" cells above are treated as zeroes making them the lowest of the range.

    I also added a line chart that plotted the data from the first table of data.

    Reply

  9. Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (29)Mohamed says:

    Hi everyone,
    Am still on my way to learn more about excel from your awesome web site , i have selected the month and the sales as well as the high values (true and false column) and pressed f11 to create a chart but i was wondering how i can show in the chart that a specific month was high i mean true , is this possible or not ?

    Appreciate your quick response

    Reply

Leave a Reply

Simple Excel Formula to Calculate All-time High, Trailing 12 Month High Values [Quick Tip] » Chandoo.org - Learn Excel, Power BI & Charting Online (2024)

FAQs

How do you create a dynamic formula in Excel? ›

Dynamic Formulas begin with &== and are followed by an Excel formula. Repeating Dynamic Formulas begin with &=&= and are followed by an Excel formula. You may use most of Excel's functions in a Dynamic Formula.

How do you calculate continuous growth rate in Excel? ›

For the GROWTH formula in Excel, y =b* m^x represents an exponential curve where the value of y depends upon the value x, m is the base with exponent x, and b is a constant value.

What is the fastest way to calculate time in Excel? ›

Another simple technique to calculate the duration between two times in Excel is using the TEXT function: Calculate hours between two times: =TEXT(B2-A2, "h") Return hours and minutes between 2 times: =TEXT(B2-A2, "h:mm") Return hours, minutes and seconds between 2 times: =TEXT(B2-A2, "h:mm:ss")

How do you calculate trailing 12 months? ›

The formula for TTM revenue is simply to add up the previous four quarters of revenues to date. TTM Revenue = current Q earnings + Q-1 earnings + Q-2 earnings + Q-3 earnings.

How do you calculate 12 month trailing EPS? ›

It's calculated by dividing the current stock price by the earnings per share (EPS) for the last four quarters.

What is a dynamic array formula in Excel? ›

Excel formulas that return a set of values, also known as an array, return these values to neighboring cells. This behavior is called spilling. Formulas that can return arrays of variable size are called dynamic array formulas.

How do you add a dynamic value in Excel? ›

  1. Select the text box.
  2. Go to the formulas tab.
  3. Write “=” and the cell address to which you want to link the cell, then press Enter.
  4. Now when the value in the cell changes the text box will dynamically change.
16 Aug 2016

How do I create a dynamic table range in Excel? ›

The solution is to create a dynamic named range that expands and contracts as data is added or removed. The easiest way to create a named range in Excel is to use the Table feature. Just put the cursor anywhere in the data and use the keyboard shortcut Control + T.

What is the formula for continuous growth? ›

The form P(t) = P0ekt is sometimes called the continuous exponential model. The constant k is called the continuous growth (or decay) rate. In the form P(t) = P0bt, the growth rate is r = b − 1. The constant b is sometimes called the growth factor.

How do you calculate 10 year growth in Excel? ›

Percentage Growth Rate = (Ending value / Beginning value) -1

AAGR is calculated by dividing the total growth rate by the number of years.

Can Excel do time calculations? ›

Let's say that you need to add two different time values together to get a total. Or, you need to subtract one time value from another to get the total time spent working on a project. As you'll see in the sections below, Excel makes it easy to add or subtract time.

What is the formula to calculate time taken? ›

The formula for time is given as [Time = Distance ÷ Speed].

How do you calculate next 12 months revenue? ›

he EBITDA next twelve months or calendarized EBITDA estimate is calculated on a sliding twelve months basis: A ratio is taken of the number of months from today until the end of the year divided by twelve (number of months in the year). This ratio is multiplied by the EBITDA estimate number for this year.

How do you calculate simple interest for 12 months? ›

The formula for calculating simple interest is:
  1. (P x r x t) ÷ 100. ...
  2. (P x r x t) ÷ (100 x 12) ...
  3. FV = P x (1 + (r x t)) ...
  4. Example 1: If you invest Rs.50,000 in a fixed deposit account for a period of 1 year at an interest rate of 8%, then the simple interest earned will be:

How do you calculate 12 month average? ›

12-month rolling average means the sum of the average rate or concentration of the pollutant in question for the most recent complete calendar month and each of the previous 11 calendar months, divided by 12. A new 12-month rolling average shall be calculated for each new complete month.

How do you calculate trailing performance? ›

To calculate the trailing return on an investment portfolio, add up the individual returns for each security in the portfolio and divide by the number of securities in the portfolio. Multiply by 100 to convert to a percentage.

What is a 12 month trailing profit and loss statement? ›

With TTM analysis, or the last 12 months calculation, you or a bookkeeper would review and gather information from financial statements such as profit and loss (P&L) and income statements as well as balance sheets from Aug. 1, 2020, through July 31, 2021.

Is trailing 12 months the same as last 12 months? ›

Last twelve months (LTM) refers to the timeframe of the immediately preceding 12 months. It is also commonly designated as trailing twelve months (TTM). LTM is often used in reference to a financial metric used to evaluate a company's performance, such as revenues or debt to equity (D/E).

How does Xlookup work in Excel? ›

The XLOOKUP function searches a range or an array, and then returns the item corresponding to the first match it finds. If no match exists, then XLOOKUP can return the closest (approximate) match. *If omitted, XLOOKUP returns blank cells it finds in lookup_array.

How do I create a dynamic filter in Excel? ›

Step 2 – Creating The Dynamic Excel Filter Search Box
  1. Go to Developer Tab –> Controls –> Insert –> ActiveX Controls –> Combo Box (ActiveX Controls). ...
  2. Click anywhere on the worksheet. ...
  3. Right-click on Combo Box and select Properties.
  4. In Properties window, make the following changes:

What is a dynamic spreadsheet? ›

Dynamic tables in Excel are the tables where when a new value is inserted into it. As a result, the table adjusts its size by itself. To create a dynamic table in Excel, we have two different methods: making a table of the data from the table section while another using the offset function.

How do you create a dynamic function? ›

Creating The Dynamic Function

The Function object can also be used as a constructor function to create a new function on the fly. The syntax for creating a function from Function Object is as follows: const myFunction = new Function(arg1, arg2, … argN, body);

What is a dynamic range Excel? ›

Dynamic ranges are also known as expanding ranges - they automatically expand and contract to accommodate new or deleted data. Note: OFFSET is a volatile function, which means it recalculates with every change to a worksheet.

How do I create a dynamic range macro? ›

Use Dynamic Ranges in Pivot Tables
  1. Select a cell in the database.
  2. Choose Data | PivotTable and PivotChart Report.
  3. Select 'Microsoft Excel List or Database', click Next.
  4. For the range, type myData , then click Next.
  5. Click the Layout button.
  6. Drag field buttons to the row, column and data areas. ...
  7. Click OK, then click Finish.
1 May 2021

How do I create a dynamic data validation? ›

Creating a Dynamic Drop Down List in Excel (Using OFFSET)
  1. Select a cell where you want to create the drop down list (cell C2 in this example).
  2. Go to Data –> Data Tools –> Data Validation.
  3. In the Data Validation dialogue box, within the Settings tab, select List as the Validation criteria.

How do you calculate growth across years? ›

The answer: year-over-year growth.
...
How to Calculate YOY Growth
  1. Take your current month's growth number and subtract the same measure realized 12 months before. ...
  2. Next, take the difference and divide it by the prior year's total number. ...
  3. Multiply it by 100 to convert this growth rate into a percentage rate.

What is simple growth formula? ›

Calculating Simple Growth Rate

To calculate simple growth, subtract the starting number from the final number, and divide the result by the starting number. Then multiply by 100 if you want to show it in percentages. So, for our example the formula would be: (150-100)/100 = 50/100 = .5.

How do you calculate monthly continuous compounding? ›

The continuous compounding formula says A = Pert where 'r' is the rate of interest. For example, if the rate of interest is given to be 10% then we take r = 10/100 = 0.1.

How do you calculate the future value of 10 years? ›

Future Value (FV) = PV × (1 + r) ^ n

n = Number of Compounding Periods.

What is the formula to calculate years in Excel? ›

1. Use DATEDIF to find the total years. In this example, the start date is in cell D17, and the end date is in E17. In the formula, the “y” returns the number of full years between the two days.

How do I calculate my growth month? ›

To calculate Month-over-Month growth, subtract the first month from the second month and then divide that by the last month's total. Multiply the result by 100 and you're left with a percentage. The percentage is your Month-over-Month growth rate.

How do I increment a month and year in Excel? ›

How to Make Excel Add Months to Date
  1. =EDATE(start date, number of months)
  2. Step 1: Ensure the starting date is properly formatted – go to Format Cells (press Ctrl + 1) and make sure the number is set to Date.
  3. Step 2: Use the =EDATE(C3,C5) formula to add the number of specified months to the start date.
24 Nov 2022

What is the easiest way to calculate hours? ›

How to calculate hours worked
  1. Step 1: Determine start and end time. Simple as that---record what time you start and what time you end. ...
  2. Step 2: Convert time to military time. ...
  3. Step 3: Subtract start time from end time. ...
  4. Step 4: Subtract unpaid breaks. ...
  5. Step 5: Convert to decimal format. ...
  6. Step 6: Add up total hours for pay period.

What is the formula for calculating hours worked and examples? ›

Just multiply the hours worked per day by the number of days worked per week. If an employee works different schedules every day, then you will need to calculate hours worked for each day. You will then need to add up the total for each day to get their hours worked in a given week.

How do I calculate hours and overtime in Excel? ›

Basic overtime calculation formula
  1. =(regular time*rate) + (overtime*rate*1.5)
  2. Total pay for overtime: =(E4*G4)+(F4*G4*1.5)
  3. Total hours worked: =(C4-B4)*24.
  4. Regular time formula: =MIN(8,D4)
  5. Overtime: =D4-E4.
  6. =(E4*G4)+(F4*G4*1.5)
  7. =(regular time*rate) + (overtime*rate*1.5)

Is rolling 12 months the same as trailing 12 months? ›

LTM (Last Twelve Months), also sometimes known as the trailing or rolling twelve months, is a time frame frequently used in connection with financial ratios, such as revenues or return on equity (ROE), to evaluate a company's performance during the immediately preceding 12-month time period.

Does trailing 12 month include current month? ›

In other words, if you are running your trailing 12 months reports in July 2020, your starting date will be July 1, 2019. Your ending date will be the last day of the month just completed — in this example, June 30, 2020.

What is a rolling 12 month chart? ›

A “rolling” chart is just like a rolling budget: it displays the last x months (typically, the past 12 months), but keeps up to date automatically. The idea is similar, but not quite the same, as we do not wish to extend the range, simply keep moving the 12 months along the time axis.

What is a rolling 12 month calendar? ›

Definition (567 IAC 22.100): A period of 12 consecutive months determined on a rolling basis with a new 12-month period beginning on the first day of each calendar month. Example calculation.

What is a trailing 12 month income statement? ›

Trailing twelve months (TTM) refers to a company's past 12 consecutive months of performance data used in financial reporting. The TTM method is essential because it provides companies with detailed, recent financial data for internal audits, financial analysis, and corporate planning.

How can you quickly enter all 12 months in columns in Excel? ›

Hover the mouse over the lower right corner of the cell until you see the Fill Handle. With the LEFT mouse button pressed, drag to select the cells to autofill with month names and release the mouse button.

How can you use AutoFill to provide all 12 months in a year across the columns in row 1 of a data set starting at column B? ›

How can you use AutoFill to provide all 12 months in a year across the columns in row 1 of a data set, starting at column B? Enter Jan in cell B1, and then drag the fill handle to cell M1.

What is the formula for month and year in Excel? ›

For the correct work of Excel MONTH formulas, a date should be entered by using the DATE(year, month, day) function. For example, the formula =MONTH(DATE(2015,3,1)) returns 3 since DATE represents the 1st day of March, 2015.

What is the 12 month period used for reporting financial activity called? ›

A fiscal year is a 12-month accounting period that a business uses for financial and tax reporting purposes. A fiscal year is also known as a financial year. A fiscal year can be different to a calendar year – it doesn't need to start on January 1 and end on December 31.

How is trailing EPS calculated? ›

The Trailing P/E Ratio is calculated by dividing a company's current share price by its most recent reported earnings per share (EPS), i.e. the latest fiscal year EPS or the last twelve months (LTM) EPS.

What is a continuous 12-month period? ›

12-Month Period means a period of 12 consecutive months determined on a rolling basis with a new 12-month period beginning on the first day of each calendar month.

What is the difference between LTM and TTM? ›

LTM stands for Last Twelve Months and TTM stands for Trailing Twelve Months, which is basically the historic or backward-looking multiple. It uses data points like EPS, EBITDA, revenue, etc.

Top Articles
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 6011

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.