How to Integrate Large Data Sets in Excel

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 ...
Part 1 of 3:

Preparing

  1. How to Integrate Large Data Sets in Excel Picture 1How to Integrate Large Data Sets in Excel Picture 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 to Integrate Large Data Sets in Excel Picture 2How to Integrate Large Data Sets in Excel Picture 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.
  3. How to Integrate Large Data Sets in Excel Picture 3How to Integrate Large Data Sets in Excel Picture 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.
Part 2 of 3:

Setting Up Your Dimensions

  1. How to Integrate Large Data Sets in Excel Picture 4How to Integrate Large Data Sets in Excel Picture 4
    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 to Integrate Large Data Sets in Excel Picture 5How to Integrate Large Data Sets in Excel Picture 5
    Click on a blank column and label it "Width". This new column will be used to store the width of each trapezoid.
  3. How to Integrate Large Data Sets in Excel Picture 6How to Integrate Large Data Sets in Excel Picture 6
    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 to Integrate Large Data Sets in Excel Picture 7How to Integrate Large Data Sets in Excel Picture 7
    Click on the second measurement corresponding to the width, then press the - key.
  5. How to Integrate Large Data Sets in Excel Picture 8How to Integrate Large Data Sets in Excel Picture 8
    How to Integrate Large Data Sets in Excel Picture 9How to Integrate Large Data Sets in Excel Picture 9
    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 to Integrate Large Data Sets in Excel Picture 10How to Integrate Large Data Sets in Excel Picture 10
    Select the newly created cell and move the mouse cursor to the bottom right corner of the cell directly below, until a cross appears.
    1. Once it appears, left click, hold, and drag the cursor down.
      How to Integrate Large Data Sets in Excel Picture 11How to Integrate Large Data Sets in Excel Picture 11
    2. Stop at the cell directly above the last measurement. Numbers should populate all the selected cells after.
      How to Integrate Large Data Sets in Excel Picture 12How to Integrate Large Data Sets in Excel Picture 12
  7. How to Integrate Large Data Sets in Excel Picture 13How to Integrate Large Data Sets in Excel Picture 13
    Click on a blank column and label it "Height" directly next to the "Width" column.
  8. How to Integrate Large Data Sets in Excel Picture 14How to Integrate Large Data Sets in Excel Picture 14
    Select the column underneath the "Height" label, and type "=0.5*(". Once again, do not exit the cell just yet.
  9. How to Integrate Large Data Sets in Excel Picture 15How to Integrate Large Data Sets in Excel Picture 15
    Click the first measurement in the column corresponding to the height, then press the + key.
  10. How to Integrate Large Data Sets in Excel Picture 16How to Integrate Large Data Sets in Excel Picture 16
    How to Integrate Large Data Sets in Excel Picture 17How to Integrate Large Data Sets in Excel Picture 17
    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 to Integrate Large Data Sets in Excel Picture 18How to Integrate Large Data Sets in Excel Picture 18
    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.
    1. Once again, stop at the cell before the last measurement. Numbers should appear in all the selected cells.
      How to Integrate Large Data Sets in Excel Picture 19How to Integrate Large Data Sets in Excel Picture 19
Part 3 of 3:

Calculating the Area

  1. How to Integrate Large Data Sets in Excel Picture 20How to Integrate Large Data Sets in Excel Picture 20
    Click on a blank column and label it "Area" next to the "Height" column. This will store the area for each trapezoid.
  2. How to Integrate Large Data Sets in Excel Picture 21How to Integrate Large Data Sets in Excel Picture 21
    Click on the cell directly underneath "Area", and type "=". Once again, do not exit the cell.
  3. How to Integrate Large Data Sets in Excel Picture 22How to Integrate Large Data Sets in Excel Picture 22
    Click on the first cell in the "Width" column, and type an asterisk (*) directly after.
  4. How to Integrate Large Data Sets in Excel Picture 23How to Integrate Large Data Sets in Excel Picture 23
    How to Integrate Large Data Sets in Excel Picture 24How to Integrate Large Data Sets in Excel Picture 24
    Click on the first cell in the "Height" column, and press Enter. A number should now appear in the cell.
  5. How to Integrate Large Data Sets in Excel Picture 25How to Integrate Large Data Sets in Excel Picture 25
    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.
    1. Once again, stop at the cell before the last measurement. Numbers should appear in the selected cells after this step.
  6. How to Integrate Large Data Sets in Excel Picture 26How to Integrate Large Data Sets in Excel Picture 26
    Click on a blank column and label it "Integral" next to the "Area" column.
  7. How to Integrate Large Data Sets in Excel Picture 27How to Integrate Large Data Sets in Excel Picture 27
    Click on the cell below "Integral", and type in "=SUM(", and do not exit the cell.
  8. How to Integrate Large Data Sets in Excel Picture 28How to Integrate Large Data Sets in Excel Picture 28
    How to Integrate Large Data Sets in Excel Picture 29How to Integrate Large Data Sets in Excel Picture 29
    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.
4.2 ★ | 9 Vote