How to Create an Excel Step Chart Formula Using the Small Function?
Last Updated :
27 Jan, 2023
A step Chart is a kind of line chart which uses horizontal and vertical lines to connect two different data points and forms a step-like structure. Unlike a line chart, it does not use the shortest distance to connect two different data points. A step chart is used to display data that varies unevenly over time. A step chart is useful in representing the inflation rate change, interest rate change, tax rate change, etc.
In a step chart, a single step contains horizontal and vertical lines. The horizontal line is used to represent the constancy in the data and the vertical line represents the change in the magnitude of the data.
Steps to Create an Excel Step Chart Formula using Small Function
In this example, we will be using the last 10 years’ change in the inflation rate of India to publish a step chart.
Step 1: Create a Dataset. In this step, we will be creating the dataset using the following inflation data and inserting them in a table as shown below picture.

Fig2 – Dataset
Step 2: Inserting Formula. Excel by default doesn’t provide any template for inserting step charts. So, we will use SMALL() and VLOOKUP() functions to create a step chart. First, we will be inserting two more columns for reference as Year and Rate respectively.
SMALL() Function
We will be changing the column type for our Year column to Date. After this, we will be using the small function (Here, in cell C3) as given below for our Year column.
=SMALL(Table2[Date],TRUNC(ROW()/2,0))
Note: Here, the table name for our Date column is Table2, when you are writing for your example, it may appear different.
This =SMALL(Table2[Date], TRUNC(ROW()/2,0)) will be returning the smallest value. We are truncating the Row and then dividing it by 2 so, that excel will repeat the same value in two consecutive rows.
VLOOKUP() Function
Now, we will be using the following VLOOKUP formula in our Rate column (Here, column-D).
=IF(ISNUMBER(C1),IF(C2<>C1,D1,VLOOKUP(C2,Table2,2,FALSE)),VLOOKUP(C2,Table2,2,FALSE))
Using the above VLOOKUP formula excel will be doing the following calculations:
- Excel checks whether its cursor data is at the start, middle, or end of the dataset.
- If cell C1 contains a number, excel understands its cursor is in the middle or end of the dataset and its cursor will be pushed to the second if-statement.
- The second if-statement checks whether the excel cursor is in the first or second repeating value, which is created by the SMALL() function in the above steps.
- If C2<>C1, the excel cursor is pointing to the second repeated value and needs to return(repeat) the value of cell D1.
- If C2==C1, the excel cursor is pointing to the first repeated value and needs to VLOOKUP the data in column C.
- The final VLOOKUP() function checks the first if-statement, if it is not a number, then excel will VLOOKUP the value in column C.
Once we have put the small() and the lookup() function in specified cells(Here, C2 and D2) we need to drag it down till the cells get #NUM! For this, we need to hold the rightmost corner of cells C2 and D2 and drag it down.
Once we drag down the small() and vlookup() formula we will have the following dataset.
Step 3: Inserting Chart. In this step, we will insert a line chart using the Year and Date column (Here, columns C and D). For this Select Data and then go to Insert on the top of the ribbon and then click on Charts and then select Line Chart.
Step 4: Output. Once we insert the line chart, we will get the output as a step chart.

Similar Reads
How to Create a Form in Excel - A Step by Step Guide
Creating forms in Excel is an efficient way to capture and organize data, whether youâre tracking inventory, collecting survey responses, or entering client information. Excel forms are customizable and easy to use, making data entry faster and more organized, especially when handling large datasets
7 min read
How to Create a Chart from Multiple Sheets in Excel
Creating a chart from multiple sheets in Excel is a powerful way to consolidate data and visualize it in a meaningful way. Whether you're working with different datasets on separate sheets or need to compare data across multiple tabs, knowing how to create a chart from multiple sheets in Excel can s
5 min read
How to Create a Gantt Chart in Excel: A Step-by-Step Guide
A Gantt chart in Excel is an essential tool for organizing and visualizing project timelines and milestones. This guide will show you how to create a Gantt chart in Excel using simple steps and a free Excel Gantt chart template, making it accessible for both beginners and professionals. Whether plan
6 min read
How to Create a Step Chart in Excel
A step chart is used to represent data that changes irregularly between time intervals. Now, Excel doesn't have a feature to create a Step Chart like the one shown below but we can create one by making some changes in our data. What is a Step Chart in ExcelA Step chart is the same as a Line Chart. T
4 min read
How to Create a Thermometer Chart in Excel?
The Thermometer chart in Excel can be used to depict specific data based on the actual value and the target value. It can be used in a wide range of scenarios such as representing the past performance of horses in horse racing or the global temperature and it's variation throughout decades etc. In t
2 min read
How to Create an Array Formula in Excel?
Array formulas in excel are important tools. A single formula can perform multiple calculations and replace thousand of useful formulas. Most of us have never used array functions in our excel sheet just because we don't know how to use these formulas. Array formulas is one of the most confusing exc
10 min read
How to Create a Funnel Chart In Excel
In the world of data visualization, funnel charts have become a go-to tool for illustrating stages in a process, especially when tracking sales or conversions. Learning how to create a funnel chart in Excel can give you a powerful way to visualize data that shows progression and drop-off through var
6 min read
How to Create a Timeline or Milestone Chart in Excel?
A timeline is a type of chart that visually shows a series of events in chronological order over a linear timescale. The power of a timeline is that it is graphical, which makes it easy to understand critical milestones, such as the progress of a project schedule. Benefits of using Timeline / Milest
2 min read
How to Create a Speedometer/Gauge Chart in Excel?
Speedometer Chart(Gauge Chart) is the chart that has a needle and points to the desired area in that chart. It depicts a needle in a half donut chart. The needle points to the position, according to your input values. It's the same as that of a speedometer in a bike or a car. In this article, we wil
6 min read
How to Create a Graph in Excel: A Step-by-Step Guide for Beginners
Anyone who wants to quickly make observations and represent them graphically should know how to create graphs with Excel. Whether it is the preparation of business analysis papers, academic research documents or financial reports among other things, learning how to make graphs in Excel can significa
8 min read