Excel is a powerful tool for scientists, researchers, and students working in Earth, environmental, and geographic fields. This tutorial guides you through the most useful functions, datavisualisation techniques, and workflow tips that can turn raw field or laboratory data into clear, publishready results.
Most Earth science datasets come as CSV files (e.g., climate stations, water quality logs, or mineral assay tables). Use Data Get & Transform From Text/CSV to load the data. In the preview window:
Cleaning steps are often repetitive, so you can record them as a macro or use Power Query.
=FILTER(A2:D1000, (A2:A1000<>"") * (COUNTIF(A2:A1000, A2:A1000)=1))
If your temperature column is a mix of Celsius and Fahrenheit, add a helper column:
=IF(E2="F", (C2-32)*5/9, C2)
Copy the formula down, then replace the original column with the new values (Copy PasteValues).
Excels statistical functions are sufficient for exploratory analysis.
| Task | Function | Example |
|---|---|---|
| Mean | =AVERAGE(range) | =AVERAGE(B2:B365) |
| Standard deviation | =STDEV.S(range) | =STDEV.S(B2:B365) |
| Linear regression slope | =SLOPE(y_range, x_range) | =SLOPE(C2:C365, B2:B365) |
| Pvalue for correlation | =CORREL(x_range, y_range) | =CORREL(B2:B365, C2:C365) |
While GIS software is ideal for detailed mapping, Excel can quickly produce locationbased plots.
Assume you have a table of average annual precipitation for each U.S. state.
For more sophisticated maps, export the cleaned data to a GIS program (QGIS, ArcGIS) after the Excel preprocessing stage.
Environmental monitoring often involves long time series (e.g., daily river discharge). Excels Data Forecast Sheet creates simple trend forecasts, while the Analysis ToolPak offers moving averages and exponential smoothing.
=AVERAGE(OFFSET(B2,0,0,7,1))
This calculates a 7day rolling mean for the series in columnB. Drag the formula down and chart the result alongside the raw data.
Recording a macro captures every click. To start:
CleanEnvData.The generated VBA code can be edited for flexibility. Example snippet that converts a temperature column:
Sub ConvertTemp() Dim rng As Range, cell As Range Set rng = Range("C2:C" & Cells(Rows.Count, "C").End(xlUp).Row) For Each cell In rng If cell.Offset(0, 1).Value = "F" Then cell.Value = (cell.Value - 32) * 5 / 9 End If Next cellEnd Sub Not directly. Raster data should be processed in GIS or programming environments (Python, R). Excel excels at handling tabular datause it for attribute tables and summary statistics.
Yes via the Power Query From File From Folder option after exporting the shapefile attributes to CSV, or by using the free Excel4GIS addin.
For simple descriptive statistics and linear regression they are reliable. For more complex models (e.g., mixedeffects or Bayesian analysis) consider R or Python.
Once comfortable with basic Excel techniques, explore:
By mastering these Excel techniques, you will be able to clean, analyse, visualise, and share Earth, environmental, and geographic data efficientlysaving time for the scientific interpretation that truly matters.
