How to Run a Multiple Regression in Microsoft Excel: Step-by-Step Guide

Download Article

Easily create a multiple regression model in your Excel spreadsheet

Download Article

Trying to create a multiple regression model in Excel? It's pretty easy to do using the built-in data analysis tools. Multiple regression is a great way to examine how multiple independent variables explain the variation in a dependent variable. This How.com.vn guide will show you how to run a multiple regression in Microsoft Excel on Windows or Mac.

Things You Should Know

  • You'll need to enable the Analysis ToolPak, a built-in add-in for Excel, before running a regression analysis.
  • Make sure your data is arranged in adjacent columns with the first row being the headers.
  • Click "Data Analysis" in the "Data" tab and select "Regression" to set up the analysis.
  1. How.com.vn English: Step 1 Enable the data analysis add-in (if needed).
    Whether you're studying statistics or doing regression professionally, Excel is a great tool for running the analysis. Excel has a built-in data analysis add-in called "Analysis ToolPak." You can check to see if it's active by clicking the Data tab. If you don't see the Data Analysis option, you will need to enable it:[1]
    • Windows:
      • Open the File tab (or press Alt+F) and select Options (Windows).
      • Click Add-Ins on the left side of the window.
      • Select Excel Add-ins next to "manage" and click Go.
      • In the new window, check the box next to "Analysis ToolPak", then click OK. This will enable the built-in data analysis add-in.
    • Mac:
      • Click Tools and then Excel Add-ins.
      • Check the box next to Analysis ToolPak and click OK.
      • Note that you may need to click Browse to find the Analysis ToolPak.
      • If the Data Analysis tool doesn't appear in the Data tab, close and reopen Excel.
  2. How.com.vn English: Step 2 Enter your data or open your data file.
    Data must be arranged in immediately adjacent columns and labels should be in the first row of each column. This is a typical format for databases.
    Advertisement
  3. How.com.vn English: Step 3 Click theData tab and click Data Analysis.
    This option is in the "Analysis" section near the far right of Data tab options.
    • Another powerful tool is Excel's Solver function, an optimization model feature.
  4. How.com.vn English: Step 4 Click Regression and then OK.
    This will open a new window for inputting the parameters of the regression model.
  5. How.com.vn English: Step 5 Input the dependent (Y) data range.
    To do so:
    • Click the "Input Y Range" field.
    • Highlight the column containing your dependent variable values.
    • Click the Labels checkbox if your data has a header row.
  6. How.com.vn English: Step 6 Input the independent (X) data range.
    To do so:
    • Click the "Input X Range" field.
    • Highlight the column or columns containing your dependent variable values. This can include multiple columns if you have more than one independent variable.
    • Note: The independent variable data columns must be adjacent to one another for the input to work.
  7. How.com.vn English: Step 7 Adjust the regression options (if needed).
    You can change the following parts of the analysis in the Regression window:
    • The default confidence level is 95%. If you want to change this value, click the box next to Confidence Level and modify the adjacent value.
    • Under "Output options," select where you want the regression results to output.
    • Select the desired options in the "Residuals" category. Graphical residual outputs are created by the Residual Plots and Line Fit Plots options.
  8. How.com.vn English: Step 8 Click OK and the analysis will be created.
    You'll see the following information:
    • Regression Statistics includes the correlation values, standard error, and number of observations.
    • ANOVA is a table displaying the degrees of freedom, sum squares, mean squares, F value, and F significance. You can use this table to assess the statistical significance of the model.
    • The confidence interval table shows the regression coefficient, standard error, significance, and confidence interval for each regression parameter (the intercept and the independent variable slopes).
  9. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    what is output range
    How.com.vn English: Kyle Smith
    Kyle Smith
    How.com.vn Technology Writer
    Kyle Smith is a How.com.vn Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo.
    How.com.vn English: Kyle Smith
    How.com.vn Technology Writer
    Expert Answer
    The output range in the regression window is where the results of the analysis will appear. This can be in an existing sheet, a new sheet, or an entirely new workbook file.
  • Question
    getting #NUM error p- values. What does it mean?
    How.com.vn English: Kyle Smith
    Kyle Smith
    How.com.vn Technology Writer
    Kyle Smith is a How.com.vn Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo.
    How.com.vn English: Kyle Smith
    How.com.vn Technology Writer
    Expert Answer
    This could indicate that you don't have enough observations to compute the significance of the model or its parameters. Try adding additional observations if this is the case.
  • Question
    What is the formula of multiple regression used by Excel in the background?
    How.com.vn English: Kyle Smith
    Kyle Smith
    How.com.vn Technology Writer
    Kyle Smith is a How.com.vn Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo.
    How.com.vn English: Kyle Smith
    How.com.vn Technology Writer
    Expert Answer
    Excel is using the linear regression formula y = m1x1 + m2x2 + ... + b. It calculates the values using the least squares method.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Kyle Smith
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Kyle Smith. Kyle Smith is a How.com.vn Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo. This article has been viewed 846,107 times.
      How helpful is this?
      Co-authors: 11
      Updated: April 10, 2023
      Views: 846,107
      Categories: Microsoft Excel
      Thanks to all authors for creating a page that has been read 846,107 times.

      Reader Success Stories

      • How.com.vn English: Lal Jayasinghe

        Lal Jayasinghe

        Jul 27, 2016

        "I knew it was possible to predict future values of a variable using multiple regression, but I had absolutely no..." more
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement