ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Tests & careers
  3. Excel for Science Students: Lab Data, Graphs and Stats

Excel for Science Students: Lab Data, Graphs and Stats

By ExcelReady Team·Updated November 3, 2026·6 min read

The short answer

Science students mostly need Excel for five jobs: recording lab data in a clean table, averaging repeated trials with AVERAGE and MEDIAN, measuring spread with STDEV.S, calculating percent error, and plotting a scatter graph with a trendline. Add ROUND for reported values and you can handle most lab reports and practical write-ups.

Key takeaways

  • Keep one row per trial, one column per measurement, and the unit in the header, not in the cells.
  • AVERAGE, MEDIAN, MIN and MAX summarise repeated trials; STDEV.S measures how much they spread.
  • Percent error is =ABS(measured-accepted)/accepted*100.
  • Use ROUND for values you report, and keep full precision in the cells you calculate from.
  • Plot x-y lab data as a scatter chart, then add a trendline or use SLOPE and INTERCEPT for the line's numbers.
On this page+
  1. How to set up lab data in Excel
  2. Average, median and range of repeated trials
  3. Measure spread and percent error
  4. How to round results for a lab report
  5. How to graph lab data with a trendline
  6. Common mistakes in lab spreadsheets
  7. Practise it

Excel for science students comes down to a short list of skills: record lab data in a clean table, average your repeated trials, measure how much they spread, work out percent error, round the results and draw a proper scatter graph. You don't need macros or advanced statistics for a typical lab report. This guide walks through each skill on one small physics data set, and the same steps work for chemistry and biology practicals.

How to set up lab data in Excel#

A clean layout makes every later step easier. Follow three rules:

  1. One row per trial or reading, one column per measurement. Don't put two experiments side by side in the same columns.
  2. Put the unit in the header, like "g (m/s²)" or "Mass (g)". Type only the number in each cell. A cell that says "9.62 m/s²" is text, and AVERAGE will ignore it.
  3. Keep raw data and calculations apart. Leave your readings untouched and do the maths in separate cells, so you can always check it.

Here is the data set used below. A falling-ball experiment measured g, the acceleration due to gravity, six times:

AB
1Trialg (m/s²)
219.62
329.85
439.79
549.91
659.70
769.77

Average, median and range of repeated trials#

Summarise repeated trials with AVERAGE first, then check MEDIAN, MIN and MAX to see whether one reading pulls the average off.

StatisticFormulaResult
Mean=AVERAGE(B2:B7)9.7733
Median=MEDIAN(B2:B7)9.78
Smallest=MIN(B2:B7)9.62
Largest=MAX(B2:B7)9.91
Range=MAX(B2:B7)-MIN(B2:B7)0.29

The mean and median are close, so no single trial is distorting the result. If they were far apart, look for an anomalous reading, and say in your report whether you excluded it and why. MODE, the most common value, is useful for counted data such as the number of seeds that germinate, but rarely for measurements with decimals.

The AVERAGE function guide covers how blanks and text are treated. Our article on AVERAGE, MIN and MAX has more examples, and the average, min and max lesson and median and mode lesson let you practise each one.

Measure spread and percent error#

Spread tells you how consistent your trials were, and percent error tells you how close you got to the accepted value.

MeasureFormulaResult
Standard deviation=STDEV.S(B2:B7)0.1037
Standard error of the mean=STDEV.S(B2:B7)/SQRT(COUNT(B2:B7))0.0423
Percent error (accepted g of 9.81 in E1)=ABS(AVERAGE(B2:B7)-E1)/E1*1000.3738
  • STDEV.S is the sample standard deviation. Use it for repeated trials; STDEV.P is for a complete population. Our guide to standard deviation in Excel explains the difference.
  • Standard error shows how precisely you know the mean. It shrinks as you add trials.
  • Percent error uses ABS so the answer is positive whether you measured too high or too low. Here it is about 0.37%.

STDEV.S needs Excel 2010 or later, which covers any current version. In very old files you may see STDEV, which gives the same result.

How to round results for a lab report#

Use ROUND for the numbers you report, and keep full precision in the cells that other formulas use:

Excel formula
=ROUND(AVERAGE(B2:B7),2)

This returns 9.77. The second argument is the number of decimal places, and a negative number rounds to the left of the decimal point: =ROUND(1234,-2) gives 1200.

ROUND changes the stored value. The Decrease Decimal button only changes what you see. That matters in a lab report, because a table that shows 9.77 but calculates with 9.7733 can give totals that look slightly wrong.

Many lab courses ask for results to a number of significant figures rather than decimal places. Our guide to rounding to significant figures has the formula. The ROUND function guide, the article on ROUND, ROUNDUP and ROUNDDOWN and the rounding lesson cover the rest.

How to graph lab data with a trendline#

Use a scatter chart for x-y data, such as force against extension, because it spaces the points by their real x values. A line chart treats the x values as labels and spaces them evenly, which can distort the shape.

Take a spring experiment with force in A2:A7 (0 to 5 N) and extension in B2:B7 (0, 2.1, 3.9, 6.2, 8.0 and 9.9 cm):

  1. Select A1:B7 and choose Insert > Scatter.
  2. Add axis titles with units: click the chart, then the Chart Elements button (Windows) or Chart Design > Add Chart Element (Mac).
  3. Click a data point, choose Add Trendline, pick Linear, and tick Display Equation on chart and Display R-squared value on chart.
  4. For error bars, use Chart Elements > Error Bars > More Options and choose Custom to point at your own standard deviation or uncertainty cells.

To get the line's numbers in cells for your calculations, use the same functions the trendline uses:

FormulaResultMeaning
=SLOPE(B2:B7,A2:A7)1.986cm of stretch per newton
=INTERCEPT(B2:B7,A2:A7)0.052where the line crosses the y-axis
=RSQ(B2:B7,A2:A7)0.999how closely the points fit a straight line

Note the order: y values first, then x values. Our step-by-step scatter plot guide covers formatting the chart.

Common mistakes in lab spreadsheets#

These cause most wrong answers in practicals:

  • Units typed in cells. "2.1 cm" is text, so formulas skip it. Keep units in headers.
  • Mixed units in one column. Convert first, for example grams to kilograms with =B2/1000, in a new column.
  • Averaging rounded values. Average the raw readings, then round the result once.
  • The wrong chart type. Line charts space x values evenly; use a scatter chart for measured x values.
  • Hard-typed results. If you type 9.77 instead of using a formula, it won't update when you fix a reading.

The same habits carry over to engineering and lab jobs. If you are heading that way, see Excel skills for engineers, and take the Excel level test to see which skills to work on next.

Practise it#

Try the percent error exercise on this page. Then practise AVERAGE, MIN and MAX in a live spreadsheet, practise MEDIAN and MODE on repeated readings, and practise ROUND in the rounding lesson. Each lesson checks your formula as soon as you press Enter.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Six trials measured g, the acceleration due to gravity, in B2:B7. The accepted value is in E1. In E2, calculate the percent error of the average, rounded to 2 decimal places.

fx
ABCDEF
1
Trial
g (m/s²)
Accepted g
9.81
2
1
9.62
% error
3
2
9.85
4
3
9.79
5
4
9.91
6
5
9.7
7
6
9.77
8
9
10

Tip: Average the trials, subtract the accepted value, take ABS, divide by the accepted value, multiply by 100, then ROUND to 2.

Practise this in a lesson

LessonAVERAGE, MIN and MAXSummarize a list with its average, smallest and largest values.LessonMEDIAN and MODESee how one outlier skews an average, and describe typical values with MEDIAN and MODE.LessonROUND, ROUNDUP and ROUNDDOWNControl decimals properly, which isn't the same as formatting.Function guideAVERAGECalculate the mean in Excel with AVERAGE. See how it treats blanks and zeros, avoid common errors, and practice in a live sheet.Function guideROUNDRound to decimals, whole numbers or the nearest thousand with Excel's ROUND. Learn when formatting isn't enough, then practice live.

Frequently asked questions

What Excel skills do science students need?

+

The core skills are entering data in a clean table, AVERAGE, MEDIAN, MIN and MAX, standard deviation with STDEV.S, percent error, rounding with ROUND, and scatter graphs with trendlines and error bars.

How do I calculate percent error in Excel?

+

Use =ABS(measured-accepted)/accepted100. For example, if B9 holds =AVERAGE(B2:B7) and E1 holds the accepted value 9.81, =ABS(B9-E1)/E1100 returns about 0.37, meaning a 0.37% error.

Should I use STDEV.S or STDEV.P for lab data?

+

Use STDEV.S for repeated trials. Your trials are a sample of all the measurements you could have made, and STDEV.S is the sample standard deviation. STDEV.P is for when you have the whole population.

How do I get the equation of a line from lab data in Excel?

+

Make a scatter chart, click a data point, choose Add Trendline, and tick Display Equation on chart. To get the numbers in cells instead, use =SLOPE(y_range,x_range) and =INTERCEPT(y_range,x_range).

How do I calculate standard error in Excel?

+

Divide the standard deviation by the square root of the number of trials: =STDEV.S(B2:B7)/SQRT(COUNT(B2:B7)). Excel has no single standard error function for this.

Sources

  • AVERAGE function - Microsoft Support
  • ROUND function - Microsoft Support
  • Create a chart from start to finish - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to set up lab data in Excel
  2. Average, median and range of repeated trials
  3. Measure spread and percent error
  4. How to round results for a lab report
  5. How to graph lab data with a trendline
  6. Common mistakes in lab spreadsheets
  7. Practise it

Keep reading

Math· 7 min read

How to Calculate Standard Deviation in Excel

To calculate standard deviation in Excel, use =STDEV.S(B2:B7) when your data is a sample, or =STDEV.P(B2:B7) when it covers the whole group you care about. Standard deviation measures how far values typically sit from the average. A small result means the values are close together; a large one means they are spread out.

Data tools· 5 min read

Make a Scatter Plot in Excel to Show a Relationship

To make a scatter plot in Excel, put the X values in the left column and the Y values in the right column, select both columns, and choose Insert > Scatter. Each row becomes one dot. Add a linear trendline to see the direction, and use CORREL to put a number on how strongly the two values move together.

Math· 5 min read

AVERAGE, MIN and MAX in Excel With Examples

AVERAGE returns the mean of a range, MIN returns the smallest number and MAX returns the largest. All three take the same input: =AVERAGE(B2:B6), =MIN(B2:B6) and =MAX(B2:B6). They skip empty cells and text but count zeros, and =MAX(B2:B6)-MIN(B2:B6) shows how spread out the values are.

More on tests & careers

  • Excel for Small Business Owners: The Skills That Pay Off
  • HR Analytics in Excel: Headcount, Turnover and Tenure
  • 25 Excel Interview Questions (With Answers You Can Practise)
  • Excel Interview Questions for Experienced Candidates
  • Excel Interview Questions for Freshers (With Answers)
  • Excel Mock Test: How to Use One to Prepare
All tests & careers articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free