Download ArticleDownload Article

These instructions will show you how to approximate integrals for large data sets in Microsoft Excel. This can be particularly useful when analyzing data from machinery or equipment that takes a large number of measurements—for example, in this instruction set, data from a tensile testing machine is used. This guide can be applied to any type of measurement data that can be integrated.

Part 1
Part 1 of 3:

Preparing

Download Article
  1. How.com.vn English: IntegralStep1Edit.png
    1
    Understand the basics of the trapezoid rule. This is how the integral will be approximated. Imagine the stress-strain curve above, but separated into hundreds of trapezoidal sections. Each section's area will be added to find the area under the curve.
  2. How.com.vn English: IntegralStep2Edit.png
    2
    Load the data into Excel. You can do this by double-clicking on the .xls or .xlsx file that is exported by the machine.
    Advertisement
  3. How.com.vn English: IntegralStep3.png
    3
    Convert the measurements into a usable form, if needed. For this particular data set, it means converting the tensile machine measurements from "Travel" to "Strain", and "Load" to "Stress", respectively. This step may require different calculations or may not be needed at all, depending on the data from your machine.
  4. Advertisement
Part 2
Part 2 of 3:

Setting Up Your Dimensions

Download Article
  1. How.com.vn English: IntegralStep2a.png
    1
    Determine which columns will represent the width and height of the trapezoid. Once again, this will be determined by the nature of your data. For this set, "Strain" corresponds to the width and "Stress" corresponds to the height.
  2. How.com.vn English: IntegralStep5.png
    2
    Click on a blank column and label it "Width". This new column will be used to store the width of each trapezoid.
  3. How.com.vn English: IntegralStep6a.png
    3
    Select the empty cell below "Width" and type "=ABS(". Type it exactly as shown, and do not stop typing in the cell yet. Note that the "typing" cursor is still flashing.
  4. How.com.vn English: IntegralStep7Edit.png
    4
    Click on the second measurement corresponding to the width, then press the - key.
  5. How.com.vn English: IntegralStep8a.png
    How.com.vn English: IntegralStep8b.png
    5
    Click on the first measurement in the same column, and type in the closing parenthesis, and press Enter. The cell should now have a number in it.
  6. How.com.vn English: IntegralStep9a.png
    6
    Select the newly created cell and move the mouse cursor to the bottom right corner of the cell directly below, until a cross appears.
    • Once it appears, left click, hold, and drag the cursor down.
      How.com.vn English: IntegralStep9b.png
    • Stop at the cell directly above the last measurement. Numbers should populate all the selected cells after.
      How.com.vn English: IntegralStep9c.png
  7. How.com.vn English: IntegralStep10.png
    7
    Click on a blank column and label it "Height" directly next to the "Width" column.
  8. How.com.vn English: IntegralStep11.png
    8
    Select the column underneath the "Height" label, and type "=0.5*(". Once again, do not exit the cell just yet.
  9. How.com.vn English: IntegralStep12.png
    9
    Click the first measurement in the column corresponding to the height, then press the + key.
  10. How.com.vn English: IntegralStep13a.png
    How.com.vn English: IntegralStep13b.png
    10
    Click on the second measurement in the same column, and type the closing parenthesis, and press Enter. The cell should have a number in it.
  11. How.com.vn English: IntegralStep14a.png
    11
    Click on the newly created cell. Repeat the same procedure you did before to apply the formula to all the cells in the same column.
    • Once again, stop at the cell before the last measurement. Numbers should appear in all the selected cells.
      How.com.vn English: IntegralStep14b.png
  12. Advertisement
Part 3
Part 3 of 3:

Calculating the Area

Download Article
  1. How.com.vn English: IntegralStep15.png
    1
    Click on a blank column and label it "Area" next to the "Height" column. This will store the area for each trapezoid.
  2. How.com.vn English: IntegralStep16.png
    2
    Click on the cell directly underneath "Area", and type "=". Once again, do not exit the cell.
  3. How.com.vn English: IntegralStep17.png
    3
    Click on the first cell in the "Width" column, and type an asterisk (*) directly after.
  4. How.com.vn English: IntegralStep18aEdit.png
    How.com.vn English: IntegralStep18b.png
    4
    Click on the first cell in the "Height" column, and press Enter. A number should now appear in the cell.
  5. How.com.vn English: IntegralStep19.png
    5
    Click on the newly created cell. Repeat the procedure you applied before again to apply the formula to all the cells in the same column.
    • Once again, stop at the cell before the last measurement. Numbers should appear in the selected cells after this step.
  6. How.com.vn English: IntegralStep20.png
    6
    Click on a blank column and label it "Integral" next to the "Area" column.
  7. How.com.vn English: IntegralStep21edit.png
    7
    Click on the cell below "Integral", and type in "=SUM(", and do not exit the cell.
  8. How.com.vn English: IntegralStep22a.png
    How.com.vn English: IntegralStep22b.png
    8
    Click on the first cell under "Area", hold, and drag downwards until all the cells in the "Area" column are selected, then press Enter. A number under "Integral" should appear, and will be the answer.
  9. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

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

      Warnings

      • If no numbers or an error appears in the cell, double-check to make sure the correct cells have been selected.
      • Make sure you put proper units on the integration answer.
      • Keep in mind that this is an approximation, and will be more accurate if there are more trapezoids (more measurements).


      Advertisement

      Things You'll Need

      • Microsoft Excel (any version)
      • .XLS or .XLSX file containing data


      About This Article

      Tested by:
      How.com.vn Technology Team
      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 91,947 times.
      How helpful is this?
      Co-authors: 5
      Updated: November 13, 2018
      Views: 91,947
      Categories: Microsoft Excel
      Thanks to all authors for creating a page that has been read 91,947 times.

      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