EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • Featured Skills
    • New & Trending
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • All Courses
  • Blog
  • Enterprise
  • Free Courses
  • Log in
  • Sign Up
Home Excel Excel Resources Excel Tools Two Variable Data Table in Excel
 

Two Variable Data Table in Excel

Arun Gupta
Article byArun Gupta
Madhuri Thakur
Reviewed byMadhuri Thakur

Updated May 15, 2023

Two-Variable Data Table in Excel

 

 

Two-Variable Data Table in Excel (Table of Contents)

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

  • Two-Variable Data Table in Excel
  • How to Perform Two-Variable Data Table in Excel?

Two-Variable Data Table in Excel

Two-Variable Data Table in Excel allows users to test two variables or values at one time or simultaneously in a data table for created formula. It is only useful when the formula depends on several values that can be used for two variables. We can test two input cells for a series of values for the complete data table based on the What-If analysis option, available under the Data menu tab.

How to Perform a Two-Variable Data Table in Excel?

Two-Variable Data Table in Excel is very simple and easy to create. Let’s understand the working of the Two-Variable Data Table in Excel with Some Examples.

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

Two-Variable Data Table in Excel Example #1

Create Two Variable data tables for the different Loan Amounts and months

Pre-requisite: Write down a sample calculation. As mentioned in the workbook Example #1. Assume a Total loan amount, i.e.₹ 1,000,000.00, Interest Rate (Yearly), i.e., 6%, Number of the month for EMI / Payment, i.e., 1o month and apply PMT formulas (=PMT (C3/12, C4, C2)) to calculate the EMI.

Two Variable Data table (Pre-requisite)

The result is given below:

Two Variable Data table(Pre-requisite) result

Step 1: Write down the desired months input in column E and the Loan amount in row 4

Two Variable Data table (desired months input)

Step 2: Enter all user-desired months in column F

Two Variable Data table (user desired months)

Step 3: Enter all desired loan amounts in the 5th row of a sheet.

Two Variable Data table (desired loan)

Step 4: Select cell F5 and the assigned value of cell C5, and click Enter.

Two Variable Data table ( assigned value)

Step 5: Now select all datasets from F5 to F16 and F5 to M5

select all dataset

Step 6: Go to the Data tab > click on the What-if Analysis drop-down list toolbar > select Data Table.

Analysis drop

Step 7: Data Table pop-up will appear with two input cells for the row and column >Select the Loan amount in the Row input cell and no. of months for Payment in the Column input cell > Click the OK button.

Select Loan amount

Step 8: The result will be published per month loan re-payment amount as per the combination of each month and loan amount data set.

Two Variable Data table Example 1-9

Summary of Example #1

As we can see in the data table for each month and Loan amount. If a user wants to take ₹ 2,000,000.00 loans, he must pay ₹ -105,332.90 for the next 20 Months as EMI.

Same amount if a person wants to pay for the next 30 months, then ₹ -38,665.60 Need to pay as EMI. There are many scenarios for multiple months and respective re-pay of the amount as EMI.

Two-Variable Data Table in Excel Example #2

Create a Two-Variable data table for the different Loan Amounts and Interest rates. 

Pre-requisite: Write down a sample calculation. As mentioned in the workbook Example #2. Assume a Total loan amount, i.e.₹ 1,000,000.00, Interest Rate (Yearly), i.e., 2%, Number of the month for EMI / Payment, i.e., 1o month and apply PMT formulas (=PMT (C3/12, C4, C2)) to calculate the EMI.

Loan Amount and Interest rate 

The result is given below:

Two Variable Data table Example 2-1

Step 1: Write down desired Interest rate input in column D and Loan amount in row 3

Two Variable Data table Example 2-2

Step 2: Enter all user-desired interest rates in the E column.

Two Variable Data table Example 2-3

Step 3: Enter all desired loan amounts in the 4th row of the sheet.

desired loan amount

Step 4: Select cell E4 and the assigned value of cell C5, and click Enter.

assigned value of cell

Step 5: Select all datasets from E4 to E15 and E4 to J4.

Two Variable Data table Example 2-6

Step 6: Go to the Data tab > click on the What-if Analysis drop-down list toolbar > select Data Table.

Two Variable Data table Example 2-7 

Step 7: Data Table pop-up will appear with two input cells for the row and column >Select the Loan amount in the Row input cell and interest rate in the Column input cell > click the ok button.

interest rate

Step 8: The result will be published per month loan re-payment amount as per the combination of different Interest rate and loan amount data set.

Two Variable Data table(published per month )

Summary of Example #2

As we can see in the data table for each Interest rate and loan amount. If a user wants to take ₹ 2,000,000.00 loans, he must pay as EMI ₹ -203,684.97 for 4% of the interest rate for the next 10 months.

Same amount if a person wants to pay for the next 3% interest rate, then ₹ -202,760.30 Need to pay as EMI. There are many scenarios for multiple Interest rates and respective re-pay amounts as EMI. 

Component of Data Table

  1. Row Input Cell: Enter the value for which a user fills in a row and wants to see the analyzed result.
  2. Column Input Cell: Enter the value for which a user fills in a Column and wants to see the analyzed result.

When to use Two Variables Data Table:

  • We prefer two-variable data table tools if multiple scenarios exist for two input variables.
  • If a user wants to use the PMT function, then the Data table will be best to see multiple results on changing input values.
  • Most people want to see EMI after changing the month and the Loan amount for the constant interest rate for loan calculation.
  • If a user wants to change the value of the constant variable, it will reflect all the results array of the data table.

Limitation of the Data Table in Excel

  1. It cannot use more than two variables as an input parameters for analysis because it has the limitation of using one or two variables.
  2. Data tables are calculated each time a user opens a workbook with a data table. It will not matter whether the user is making any changes in the workbook; to save this, a user must automatically change the calculation option to Recalculate the workbook, not the data table.
  3. After applying the data table, the resultant table, a user cannot edit or delete a single result because the result is an array. It will throw an error “Cannot change part of a data table.”

Two Variable Data table Iimitation

Things to Remember About Two Variables Data Table in Excel

If a user wants to edit or delete a part of the result from the data table, he needs to select the entire array range and press the Delete key on the keyword. If the user wants to do undo or Ctl+Z, it will not work, and the user needs to go with the previous method.

Recommended Articles

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

  1. ISERROR Excel Function
  2. MIRR Excel Function
  3. RANK Excel Function
  4. Autofit Row Height in Excel

Primary Sidebar

Footer

Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

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

EDUCBA

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

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA

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

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

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

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

EDUCBA

Download Two-Variable Data Table Excel Template

EDUCBA Login

Forgot Password?

EDUCBA

Download Two-Variable Data Table Excel Template

EDUCBA

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

🚀 Limited Time Offer! - 🎁 ENROLL NOW