Related Experiment Video
Updated: Oct 19, 2025

Preparation, Imaging, and Quantification of Bacterial Surface Motility Assays
Published on: April 7, 2015
Using macros in microsoft excel to facilitate cleaning of research data
Justin Bauzon1, Caleb Murphy2, Sandhya Wahi-Gururaj2
1School of Medicine, University of Nevada Las Vegas (UNLV), Las Vegas, Nevada, USA.
Macros significantly reduce data cleaning time for retrospective research. This Excel tool streamlines clinical data extraction from electronic medical records (EMR), saving valuable time for researchers lacking informatics support.
Area of Science:
- Health Informatics
- Clinical Research Methodology
- Data Management
Background:
- Retrospective chart reviews often face delays due to difficulties in exporting clean clinical data from electronic medical records (EMR).
- Lack of dedicated informatics support in smaller institutions can hinder efficient data processing.
Purpose of the Study:
- To demonstrate the utility of Microsoft Excel macros for streamlining clinical data cleaning.
- To provide a cost-effective solution for researchers in community hospitals and smaller academic centers.
Main Methods:
- Exporting vital signs and lab results from 20 hospitalizations via EMR.
- Developing and applying two Excel macros for data sorting and formatting.
- Comparing the time efficiency of macro-assisted cleaning versus manual transcription.
Main Results:
- Macro-assisted cleaning reduced vital signs data cleaning time by 94% (46.5s vs 12.3 min/record).
- Macro-assisted cleaning reduced lab data cleaning time by 91% (13.7s vs 2.6 min/record).
- Statistical significance was achieved for both vital signs and lab data cleaning time reductions (P < 0.001).
Conclusions:
- Excel macros provide a flexible and efficient method for cleaning large clinical datasets.
- This approach is particularly beneficial for institutions with limited informatics resources or EMR export capabilities.
- Macros enable faster preparation of clinical data for analysis, supporting retrospective research.
Related Concept Videos
Performing a Simple Data Analysis using MS-Excel Function
SUM: This function calculates the total sum of a range of values. It's the foundation for aggregating data, essential for determining overall trends and totals in datasets.
AVERAGE: It computes the mean value of a given set of numbers, providing a quick insight into the central...
Overview of Microsoft Excel as a Data Analysis Tool
Microsoft Excel: Student's t-Test
To conduct a t-test in Excel, use the T.TEST function or the "Data...
Microsoft Excel: Regression Analysis
To perform regression...
Microsoft Excel: Finding Central Tendency, Skew, and Kurtosis
Mean: The arithmetic average of all data points. It is calculated by adding all the values together and dividing by the number of values. The mean is sensitive to extreme values (outliers).
Median: The middle value when the data points are arranged in ascending or descending...
Microsoft Excel: Plotting Mean, SD, and SE
First, calculate the mean, SD, and SE of your data. The mean is obtained using the formula `=AVERAGE(range)`, while SD can be calculated with `=STDEV.P(range)` for a population or `=STDEV.S(range)` for a sample. SE is calculated as `=SD/SQRT(n)`, where `n` is the sample size.
To plot these values, use a bar...

