PDF download Download Article PDF download Download Article

Regression analysis can be very helpful for analyzing large amounts of data and making forecasts and predictions. To run regression analysis in Microsoft Excel, follow these instructions.

Method 1
Method 1 of 2:

Make Sure Regression Analysis Is Supported On Your Excel

PDF download Download Article
  1. If your version of Excel displays the ribbon (Home, Insert, Page Layout, Formulas…)
    • Click on the Office Button at the top left of the page and go to Excel Options .
    • Click on Add-Ins on the left side of the page.
    • Find Analysis tool pack . If it’s on your list of active add-ins, you’re set.
      • If it’s on your list of inactive add-ins, look at the bottom of the window for the drop-down list next to Manage , make sure Excel Add-Ins is selected, and hit Go . In the next window that pops up, make sure Analysis tool pack is checked and hit OK to activate. Allow it to install if necessary.
    • Go to Tools > Add-Ins .
    • Find Analysis tool pack . (If you don’t see it, look for it using the Browse function.)
      • If it’s in the Add-Ins Available box, make sure Analysis tool pack is checked and hit OK to activate. Allow it to install if necessary.
    Advertisement
  2. You can't do it without a different piece of software. This was by design since Microsoft does not like Apple.
  3. Advertisement
Method 2
Method 2 of 2:

Run Regression Analysis

PDF download Download Article
  1. You should have at least two columns of numbers that will be representing your Input Y Range and your Input X Range. Input Y represents the dependent variable while Input X is your independent variable.
    • If your version of Excel displays the ribbon , go to Data , find the Analysis section, hit Data Analysis , and choose Regression from the list of tools.
    • If your version of Excel displays the traditional toolbar , go to Tools > Data Analysis and choose Regression from the list of tools.
  2. In the Regression Analysis box, click inside the Input Y Range box. Then, click and drag your cursor in the Input Y Range field to select all the numbers you want to analyze. You will see a formula that has been entered into the Input Y Range spot.
  3. Choose whether or not to display labels, residuals, residual plots, etc. by checking the desired boxes.
  4. You can either select a particular output range or send the data to a new workbook or worksheet.
  5. The summary of your regression output will appear where designated.
  6. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What is the slope in a simple regression data?
    Community Answer
    The slope is the Beta variable B1 that is a coefficient of the independent variable X. Bo is a constant and the "intercept". Example, Y = Bo + B1X.
  • Question
    How do I calculate standard error?
    Community Answer
    Step 1: Calculate the mean (Total of all samples divided by the number of samples). Step 2: Calculate each measurement's deviation from the mean (Mean minus the individual measurement). Step 3: Square each deviation from mean. Squared negatives become positive.
  • Question
    How can I calculate the equation of a line in regression in Excel?
    Community Answer
    One quick way to do this is to arrange your X and Y variables in adjacent columns (X on the left), then select the two-column range and use the Insert/Scatterchart command to insert an X-Y scatterchart. Then right-click on the chart, choose Add Trendline from the drop-down menu, and then check the box for Display-Equation-on-Chart. Or, you could use some good software to fit the whole regression model. Try RegressIt, a free add-in (available at regressit-dot-com), It gives very detailed and well-designed output, and among other things it will show the equation for any number of independent variables. Just click the "Show All" button after fitting a model.
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Thanks to all authors for creating a page that has been read 1,331,627 times.

      Reader Success Stories

      • Janet Katimbo

        Jan 10, 2017

        "I have activated Excel on my laptop using the step-by-step procedures given, and am able to do analysis now."
      Share your story

      Is this article up to date?

      Advertisement