EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tools One Variable Data Table in Excel
Secondary Sidebar
Excel Functions
  • Excel Tools
    • Excel Shortcut Redo
    • Reduce Excel File Size
    • Quick Analysis in Excel
    • Goal Seek in Excel
    • Compare Two Lists in Excel
    • Excel Quick Analysis
    • Estimate Template in Excel
    • Pivot Table Count Unique
    • CSV Files into Excel
    • Excel Business Plan Template
    • Excel Export to PDF
    • Free Excel Template
    • Excel Repair
    • Color in Excel
    • Form Controls in Excel
    • Timecard Template in Excel
    • How to Unhide All Sheets in Excel?
    • Power Query in Excel
    • Power View in Excel
    • XML in Excel
    • Excel Evaluate Formula
    • Examples of Excel Macros
    • Consolidation in Excel
    • Ribbon in Excel
    • Excel Conditional Formatting for Dates
    • Protect Sheet in Excel
    • Data Model in Excel
    • Pivot Table Examples
    • Pivot Table Slicer
    • Pivot Table Filter
    • Watch Window in Excel
    • Slicer in Excel
    • Print Gridlines in Excel
    • Convert Numbers to Text in Excel
    • Freeze Columns in Excel
    • Spelling Check in Excel
    • Name Box in Excel
    • Solve Equation in Excel
    • Excel Spreadsheet Examples
    • What If Analysis in Excel
    • How to Print Labels From Excel
    • Excel Named Range
    • Excel TRANSPOSE Formula
    • Excel Merge and Center
    • Excel Freeze Rows
    • HLOOKUP Formula in Excel
    • Excel Create Database
    • Excel Gridlines
    • Excel Spreadsheet Formulas
    • Excel Sort By Number
    • Excel Concatenating Columns
    • Excel AutoCorrect
    • Conditional Formatting For Blank Cells
    • Excel Icon Sets
    • Excel CTRL D
    • Excel Accounting Number Format
    • Excel Regression Analysis
    • Excel Import Data
    • Excel Freeze Panes
    • Excel Calendar
    • Excel Developer Tab
    • Excel Enable Macros
    • Excel Autosave
    • Heat Map in Excel
    • Excel Toolbar
    • Excel Error Bar
    • Excel Status Bar
    • Excel Unprotect Sheet
    • Check mark in Excel
    • Excel Column Filter
    • Excel Header and Footer
    • Excel Drawing
    • Range in Excel
    • Timeline in Excel
    • Excel Lock Formula
    • Excel Table styles
    • Insert New Worksheet in Excel
    • Excel Column Lock
    • Excel Forms for Data Entry
    • QUOTIENT in Excel
    • Excel Sorting
    • Excel Sort by color
    • Excel Data Bars
    • Excel Tool for Data Analysis
    • Excel Flash Fill
    • Excel Auto Fill
    • Excel Quick Access Toolbar
    • Excel Wrap Text
    • Excel Exponential Smoothing
    • Excel ANOVA
    • Excel Merge Two Tables
    • Excel Conditional Formatting in Pivot Table
    • Dynamic Tables in Excel
    • Excel Sort by date
    • Excel Dynamic Range
    • Record Macro in Excel
    • Two Variable Data Table in Excel
    • Merge Cells in Excel
    • One Variable Data Table in Excel
    • Excel Fill Handle
    • CheckBox in Excel
    • Excel Table
    • Excel Combo Box
    • Auto Format in Excel
    • Advanced Filter in Excel
    • Excel AutoFilter
    • Excel Data Filter
    • Excel Data Validation
    • Excel Radio Button
    • Data Table in Excel
    • Text to Columns in Excel
    • Excel List box
    • Excel Solver Tool
    • Scrollbar in Excel
  • Excel Functions (12+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup and Reference Functions in Excel (35+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Excel Tips (222+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL ADVANCED Training
  • EXCEL Training COURSE

One Variable Data Table in Excel

By Madhuri ThakurMadhuri Thakur

One Variable Data Table in Excel

One Variable Data Table in Excel (Table of Contents)

  • One Variable Data Table in Excel
  • How to Perform One Variable Data Table in Excel?

One Variable Data Table in Excel

One Variable Data Table in Excel allows users to test how one variable or value in a data table affects the result in the created formula. It is only useful when the formula depends on several values that can be used for one variable. For the complete data table, we can test only one single input cell for a series of values on the basis of the What-If analysis option, which is available under the Data menu tab.

We can find the “What if Analysis” option under the “Data” tab. Below is the picture for reference.

Data Table

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

Now, we know where is “Data table”, and now we will discuss the purpose of the “Data table”. If we keep our cursor on the Data table will get the pop-up to explain the purpose of the data table.

Data Table Description

It is clearly stating the purpose of the Data table, i.e. “See the results of multiple inputs at the same time”. We will discuss briefly what that means exactly.

Example

Let’s consider a small example area of the rectangle. We want to find the area of a rectangle for the below values.

One Variable Example 1

As we all know, the formula for calculating an area of a rectangle is length x breadth (or) length x width. Here length is 15, and Breadth is 10, so multiple of 15 x 10 = 150.

All in One Excel VBA Bundle(120+ Courses, 30+ Projects)
Basic ExcelAdvanced ExcelVBA & MacrosExcel Dashboards
Pivot TablesStatistical FunctionsFinancial FunctionsCharts & Graphs
Price
View Courses
120+ Online Courses | 30+ Projects | 500+ Hours | Verifiable Certificates | Lifetime Access
4.9 (64,596 ratings)

One Variable Example 1-1

Now, what is the part of the data table here? Suppose we want to know the area of the rectangle for different lengths or different breadths; what will we do? We will change the value of length or breadth and will check the results of “Area of a rectangle”. Now I want to check the area for the length of 5; then, the area will be 50 again if I want to calculate for length 15. One more time, I will change the length value and will check the results. So when we give 15, we cannot see the results for 5 and 10. This is the case where the Data table helps where it will display all results for different inputs.

One Variable Example 1-2

Now I want to check the area for different lengths that are from 5 to 50 with equal intervals of 5 that mean length should be 5, 10, 15 …50.

One Variable Example 1-3

We want all the results to need to display at the same time, as shown in the below picture.

One Variable Example 1-4

This is what exactly the “Data table” performs. Here we are getting an area of the rectangle at the same time for the multiple inputs of length.

If we observe one variable is varying, that is, in this process, that is the length. Hence, we can call this “one-variable data table. “

I hope you understand what is “Data table” and what is meant by “One variable data table”.

How to Perform One Variable Data Table in Excel?

One Variable Data Table in Excel is very simple and easy to create. Let’s understand the working of One Variable Data Table in Excel by some examples.

You can download this One-Variable Data Table Excel Template here – One-Variable Data Table Excel Template

One Variable Data Table in Excel Example #1

Now we will see how to achieve this in excel. First, we will give the input length and breadth of a rectangle and apply the rectangle formula in one cell, as shown below.

Area of Rectangle Example 1

The Output is:

One Variable Data Table Example 1-1

Later give different inputs that we want to test. We can give it in rows or columns as we wish. Here we are taking the inputs in a row.

One Variable Data Table Example 1-2

Now one cell below, and prior to our first input cell, we need to take the result of an area of the rectangle as shown below.

One Variable Data Table Example 1-3

Then the result will pick under heading length.

One Variable Data Table Example 1-4

Select the entire data of the second table.

One Variable Data Table Example 1-5

Now, Click on the “Data” tab on the top.

Data Tab Example 1-6

Then click on “what-If analysis” then select “Data table”.

One Variable Data Table Example 1-7

A pop up will appear asking for “Row input cell” and “Column input cell”.

One Variable Data Table Example 1-8

Row input cell is used when the multiple inputs in the row that is like the current example.

One Variable Data Table Example 1-9

The column input cell is used when the multiple inputs are available in columns that are as shown in the below picture.

One Variable Data Table Example 1-10

As we are using the different inputs in a row, hence we will use row input. Select “row input” and select the cell from where the length input is taking for finding the area of the rectangle. Here it is, cell C48. Click on “OK”.

One Variable Data Table Example 1-11

Then automatically, the area of the rectangle calculates for all the inputs and displays the results under each input.

One Variable Data Table Example 1-12

Now we have outputs for different inputs at a time. In case if inputs in a column, just select “Column input cell” from the pop-up; no other changes in the process.

One Variable Data Table in Excel Example #2

Now we will apply this to simple interest calculation. Suppose we deposited Rupees 10000 for 5 years with an interest rate of 6 percent and want to know how much we will receive if we extend the number of years or deposit in other banks for different interest rates. So, we need to perform two calculations here, one for different interest rates and one for different years.

Apply the Formula here.

Example 2

The Output is:

One Variable Data Table Example 2-1

First, we will apply for different interest rates.

We need to take the result of interest received.

One Variable Data Table Example 2-2

Then the result will pick under heading length.

One Variable Data Table Example 2-3

Select the table and choose “Data table” from “What-if analysis”.

What-if analysis Example 2-4

Select “Row input cell” and Choose the cell years.

One Variable Data Table Example 2-5

Now we will get the interest amount for different years.

One Variable Data Table Example 2-6

Now we will apply the formula for different percentages.

One Variable Data Table Example 2-7

Then the result will pick under heading length.

One Variable Data Table Example 2-8

Click on “what-If analysis”, then select “Data table”.Select “Column input cell” and Choose the cell percentage.

One Variable Data Table Example 2-9

Now we have results for a different number of percentages and for different interest rates.

One Variable Data Table Example 2-10

Similarly, we can perform for compound interest, loan installments etc…

We cannot edit the results of any cell as it is an array, and it will not allow editing any of the results. If we try to edit, it will throw you the below error message.

One Variable Data Table Example 2-11

If we want to remove the results, we need to remove the entire array of results.

Things to Remember About One Variable Data Table in Excel

  • A data table is a tool available in the “What if analysis” under the “Data” tab.
  • One variable data table helps to find the results for operation with a varying input at the same time. Similarly, we can do the two-variable data table where it has two varying inputs for the operation.
  • One variable data table can apply for both horizontally aligned inputs or vertically aligned inputs.
  • The results displayed are in the form of an array. The array is nothing but a group or collection of elements. As the results in the form of an array, we cannot edit or delete any data from one particular cell of results.
  • If we want to remove the data, then we need to remove the entire array of results.
  • The formula and multiple inputs must be on the same sheet. If we have a calculation in sheet 1 and inputs in sheet 2, it will not allow performing the calculation. Hence make sure they both are on the same sheet.

Recommended Articles

This has been a guide to One-Variable Data Table in Excel. Here we discuss its types and how to create One Variable data table examples and downloadable excel templates. You may also look at these useful functions in excel –

  1. Two-Variable Data Table in Excel
  2. Lookup Table in Excel
  3. Table Styles in Excel
  4. Data Table in Excel
Popular Course in this category
Excel Advanced Training (16 Courses, 23+ Projects)
  16 Online Courses |  23 Hands-on Projects |  140+ Hours |  Verifiable Certificate of Completion
4.8
Price

View Course

Related Courses

Excel Training (23 Courses, 9+ Projects)4.9
0 Shares
Share
Tweet
Share
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2022 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

By signing up, you agree to our Terms of Use and Privacy Policy.

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download One-Variable Data Table Excel Template

EDUCBA

Download One-Variable Data Table Excel Template

EDUCBA

डाउनलोड One-Variable Data Table Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more