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 Research Assistants: Clean and Summarize Data

Excel for Research Assistants: Clean and Summarize Data

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

The short answer

Research assistants use Excel to enter, clean, check and summarize study data. The core skills are a tidy layout with one row per participant, TRIM and PROPER for messy text codes, COUNTBLANK and COUNTIFS to find missing or impossible values, AVERAGEIFS for group means, and pivot tables for quick counts by group.

Key takeaways

  • Keep one row per participant (or response) and one column per variable, with a unique ID in the first column.
  • TRIM removes stray spaces that make "Treatment " and "Treatment" count as different groups.
  • Check every variable for blanks and impossible values before you summarize anything.
  • AVERAGEIFS and COUNTIFS give group means and counts that update when the data changes.
  • Keep the raw data untouched on its own sheet and do all cleaning in new columns or sheets.
On this page+
  1. What Excel work do research assistants do?
  2. Set up the data: one row per participant
  3. Clean text codes with TRIM
  4. Check for missing and impossible values
  5. Summarize groups with COUNTIFS and AVERAGEIFS
  6. Use a pivot table for quick crosstabs
  7. Keep your work reproducible
  8. Practise it

Excel for research assistants is mostly about four jobs: entering study data in a tidy layout, cleaning it, checking it for mistakes, and summarizing it by group. You don't need macros or advanced statistics for this. A handful of functions, TRIM, COUNTIFS and AVERAGEIFS, plus a pivot table, cover most of the day-to-day work in a lab, survey project or university department.

What Excel work do research assistants do?#

A research assistant's Excel tasks usually follow the life of a dataset:

StageTypical tasksKey tools
EnterType or import responses, give each participant an IDData validation, tables
CleanFix spaces, capitals and spelling in codes, remove duplicatesTRIM, PROPER, SUBSTITUTE, Remove Duplicates
CheckFind blanks, impossible values and duplicate IDsCOUNTBLANK, COUNTIFS, MIN, MAX, filters
SummarizeCounts, means and ranges by groupCOUNTIFS, AVERAGEIFS, pivot tables

These are the same foundations data analysts use. The guide to Excel skills for data analysts goes further into lookups and dashboards.

Set up the data: one row per participant#

Good analysis starts with a tidy layout. Follow three rules:

  1. One row per participant (or per response, or per measurement).
  2. One column per variable, with a short, clear header such as Age or Score.
  3. A unique ID in the first column, such as P01, so you can always trace a row back to its source.

Here is a small example dataset in A1:D8:

ABCD
1ParticipantGroupAgeScore
2P01Control2412
3P02Treatment3118
4P03Treatment2715
5P04Control3514
6P05Treatment4220
7P06Control2911
8P07Treatment3816

Avoid merged cells, totals inside the data, and empty rows between blocks. Keep a separate sheet as a codebook: a list of every variable, what it means, and its allowed values (for example, Score 0 to 20).

Clean text codes with TRIM#

Text codes typed by hand or exported from a form often have hidden problems. "Treatment " with a trailing space, " treatment" with a leading one, and "Treatment" all look alike, but Excel treats them as three different groups. Your counts will be wrong without any warning.

TRIM removes spaces at the start and end of text, and turns double spaces in the middle into single ones. In a new column next to the raw codes, type:

Excel formula
=TRIM(B2)

To fix capitals at the same time, wrap it in PROPER:

Excel formula
=PROPER(TRIM(B2))

This turns " treatment " into Treatment. Fill it down, check the results, then paste them as values over a copy of the column. The TRIM function guide covers the details, and the guide to cleaning messy data in Excel shows the full cleaning routine, including non-breaking spaces that TRIM can't remove. If the same participant appears twice, see how to remove duplicates.

Check for missing and impossible values#

Before you summarize, check every variable. Three quick formulas catch most problems:

CheckFormulaResult on the example
Missing scores=COUNTBLANK(D2:D8)0
Scores outside 0 to 20=COUNTIFS(D2:D8,"<0")+COUNTIFS(D2:D8,">20")0
Lowest and highest age=MIN(C2:C8) and =MAX(C2:C8)24 and 42

A result above 0 in the first two checks means you need to look at the source. Filter the column to find the rows. An age of 420 is almost certainly a typing slip for 42, but don't guess: note it and check it against the original record.

Also check that each ID appears only once: =COUNTIF(A2:A8,A2) filled down should show 1 on every row.

Summarize groups with COUNTIFS and AVERAGEIFS#

COUNTIFS counts rows that meet every condition, and AVERAGEIFS averages the rows that meet every condition. Together they give the descriptive tables most studies start with.

How many participants are in each group?

Excel formula
=COUNTIFS(B2:B8,"Treatment")

This returns 4. The Control group has 3. The COUNTIFS function guide explains the criteria rules.

What is the mean score in each group?

Excel formula
=AVERAGEIFS(D2:D8,B2:B8,"Treatment")

This returns 17.25 ((18 + 15 + 20 + 16) ÷ 4). For Control it's about 12.33.

You can add more conditions. The mean score of Treatment participants aged 30 or over:

Excel formula
=AVERAGEIFS(D2:D8,B2:B8,"Treatment",C2:C8,">=30")

This returns 18: P02, P05 and P07 (18 + 20 + 16 = 54, divided by 3). P03 is 27, so it's left out. In AVERAGEIFS, the range to average always comes first. The AVERAGEIFS function guide and the article on AVERAGEIFS with multiple criteria cover dates, wildcards and blank cells.

Use a pivot table for quick crosstabs#

A pivot table builds the same group summaries in a few clicks, which is handy when you're exploring. Click inside the data, choose Insert > PivotTable, then drag Group to Rows and Score to Values. Change the summary from Sum to Average with Value Field Settings, and drag Score in again set to Count to see the group sizes beside the means.

Pivot tables are great for exploring, and formulas are better for a results table that must update by itself and sit in a fixed layout. For survey-style data with rating scales, the guide to analysing survey results in Excel shows both approaches.

Keep your work reproducible#

Research data must be traceable. A few habits protect it:

  • Never edit the raw data sheet. Copy it, and do all cleaning in new columns or on a new sheet.
  • Sort the whole table, never one column. Sorting a single column breaks the link between participants and their values.
  • Write down every cleaning step in a notes sheet: what you changed, why, and on which rows.
  • Use formulas, not typed results, so anyone can see how a number was calculated.
  • Save versions with dates in the file name before big changes.

Practise it#

Clean codes and correct group means are the skills a research supervisor checks first. Practise cleaning messy text in a live spreadsheet: you fix stray spaces and capitals with TRIM and PROPER, and each step is checked instantly. Then find group averages with AVERAGEIF, MAXIFS and MINIFS and build your first pivot table. Start with the AVERAGEIFS exercise on this page.

Try it yourself

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

What is the mean score of Treatment participants aged 30 or over? Click F2 and use AVERAGEIFS with the Score column (D2:D8), the Group column (B2:B8) and the Age column (C2:C8).

fx
ABCDEFG
1
Participant
Group
Age
Score
2
P01
Control
24
12
Treatment, 30+
3
P02
Treatment
31
18
4
P03
Treatment
27
15
5
P04
Control
35
14
6
P05
Treatment
42
20
7
P06
Control
29
11
8
P07
Treatment
38
16
9
10
11

Tip: Put the range to average first (D2:D8). Then add two pairs: B2:B8 with "Treatment", and C2:C8 with ">=30".

Practise this in a lesson

LessonCleaning messy textFix stray spaces, random capitals and inconsistent separators in imported data with TRIM, PROPER, UPPER, LOWER and SUBSTITUTE.LessonAVERAGEIF, MAXIFS and MINIFSFind the average, highest and lowest values that meet one or more conditions.LessonPivot tables 1Build your first PivotTable on a new sheet: total sales by region, split them by product, then switch the summary from Sum to Count and Average and read the answer off the pivot.Function guideTRIMClean imported data with Excel's TRIM: strip leading, trailing and double spaces so lookups and counts work. Examples and live practice.Function guideAVERAGEIFSAverage only the rows that meet several conditions with AVERAGEIFS. Text, number and blank criteria, common errors, and live practice.Function guideCOUNTIFSCount rows that meet several conditions with COUNTIFS. Examples for text, number ranges and between-values, plus a live exercise.

Frequently asked questions

What Excel skills does a research assistant need?

+

Data entry in a tidy layout, cleaning text with TRIM and PROPER, removing duplicates, checking for blanks and out-of-range values, and summarizing groups with AVERAGEIFS, COUNTIFS and pivot tables. Sorting and filtering without breaking rows matters too.

Can Excel be used for research data analysis?

+

Yes, for entering, cleaning, checking and describing data, such as counts, means and ranges by group. More advanced statistical tests are often run in dedicated statistics software, using data prepared in Excel.

How do I calculate the average for one group in Excel?

+

Use AVERAGEIFS: =AVERAGEIFS(D2:D8,B2:B8,"Treatment") averages the scores in D2:D8 for rows where the group in B2:B8 is Treatment. Add more range and criteria pairs for more conditions.

How do I find missing data in Excel?

+

Use =COUNTBLANK(D2:D8) to count empty cells in a column. To see which rows are missing, filter the column and choose (Blanks), or add a helper column with =IF(D2="","Missing","").

Sources

  • AVERAGEIFS function - Microsoft Support
  • TRIM function - Microsoft Support
  • COUNTIFS function - 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. What Excel work do research assistants do?
  2. Set up the data: one row per participant
  3. Clean text codes with TRIM
  4. Check for missing and impossible values
  5. Summarize groups with COUNTIFS and AVERAGEIFS
  6. Use a pivot table for quick crosstabs
  7. Keep your work reproducible
  8. Practise it

Keep reading

Tests & careers· 5 min read

Excel Skills Every Data Analyst Needs

A data analyst needs Excel skills for every stage of an analysis: cleaning text and dates, joining tables with XLOOKUP or INDEX MATCH, pulling subsets with FILTER, UNIQUE and SORT, summarizing with COUNTIFS, SUMIFS and pivot tables, and checking results. Knowing when a pivot table or a formula is the better tool matters as much as the syntax.

Text· 7 min read

Clean Messy Data in Excel With TRIM, CLEAN and PROPER

Use TRIM to remove extra spaces, CLEAN to remove hidden non-printing characters, and PROPER to put a capital at the start of each word. Nest them to fix several problems at once: =PROPER(TRIM(A2)) turns " maria gonzalez" into "Maria Gonzalez". Build the clean version in a new column, check it, then paste it as values.

Projects· 6 min read

How to Analyse Survey Results in Excel

To analyze survey data in Excel, keep one row per response and one column per question. Count each answer with COUNTIF, such as =COUNTIF(C2:C11,5), and divide by the number of responses for a percentage. COUNTIFS compares groups, like ratings of 4 or more in Sales, and a pivot table summarises every answer by group without formulas.

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