How to Do Data Entry for Questionnaires (Step-by-Step Guide)

Data entry is a critical stage in any research process, especially when working with paper-based questionnaires. Many surveys are still conducted offline, proper data entry ensures accuracy, reliability, and meaningful analysis.

Whether youโ€™re a student, nurse researcher, or public health professional, this guide will walk you through the process step-by-step.

๐Ÿ“Œ What is Data Entry in Research?

Data entry is the process of converting responses from paper questionnaires into a digital format for analysis using tools like Microsoft Excel or SPSS.

๐Ÿงพ Step 1: Prepare Your Questionnaire for Data Entry

Before entering any data, you must code your questionnaire.

โœ… Assign Numerical Codes

Convert responses into numbers:

  • Yes = 1, No = 0
  • Male = 1, Female = 2
  • Strongly Agree = 5 โ†’ Strongly Disagree = 1

โœ… Create a Codebook

A codebook helps you stay organized and ensures consistency.

Example:

QuestionVariable NameCodes
Gendergender1=Male, 2=Female
AgeageActual value
Screening done?screening1=Yes, 0=No

๐Ÿ’ป Step 2: Choose a Data Entry Tool

Common tools used include:

  • Microsoft Excel (Beginner-friendly)
  • SPSS (For analysis)
  • Epi Info (Free public health tool)
  • Google Sheets (Online collaboration)

๐Ÿ‘‰ Best Practice: Start with Excel, then export to SPSS for analysis.

๐Ÿ“Š Step 3: Design Your Data Entry Template

Structure your spreadsheet properly:

  • Rows = Respondents
  • Columns = Variables (questions)

Example:

IDgenderageknowledge_scorescreening
00112581
00223050

โœ๏ธ Step 4: Enter Data Accurately

  • Enter codes, not words
    โŒ Male โ†’ โœ… 1
  • Work one questionnaire at a time
  • Use a missing value code (e.g., 99)
  • Avoid skipping any responses

๐Ÿ” Step 5: Data Cleaning (Very Important!)

After data entry, check for:

  • Missing values
  • Incorrect codes
  • Outliers (e.g., age = 200)

Tools to Use:

  • Excel filters
  • SPSS โ€œFrequenciesโ€

๐Ÿ“ˆ Step 6: Optional โ€“ Enter Data Directly in SPSS

If using SPSS:

  1. Go to Variable View
  2. Define:
    • Variable name (e.g., gender)
    • Type (Numeric)
    • Value labels (1=Male, 2=Female)
  3. Switch to Data View and start entering data

READ: SPSS TUTORIAL PDF

๐Ÿ“‹ Sample Questionnaire (Paper Format)

Imagine you conducted a study on prostate cancer awareness among commercial motorcyclists.

Section A: Socio-Demographic Data

  1. Age: ______
  2. Gender:
    • Male [ ]
    • Female [ ]
  3. Education Level:
    • No formal education [ ]
    • Primary [ ]
    • Secondary [ ]
    • Tertiary [ ]

Section B: Knowledge

  1. Have you heard about prostate cancer?
    • Yes [ ]
    • No [ ]
  2. Prostate cancer can be prevented
    • Yes [ ]
    • No [ ]
    • I donโ€™t know [ ]

Section C: Practice

  1. Have you ever gone for prostate screening?
    • Yes [ ]
    • No [ ]

๐Ÿ”ข Step 1: Code the Questionnaire

Before data entry, convert responses into numbers.

QuestionVariable NameCodes
AgeageActual value
Gendergender1=Male, 2=Female
Educationeducation1=None, 2=Primary, 3=Secondary, 4=Tertiary
Heard of PCaheard_pca1=Yes, 0=No
Preventablepreventable1=Yes, 0=No, 2=Donโ€™t know
Screeningscreening1=Yes, 0=No

๐Ÿ“Š Step 2: Create Data Entry Sheet in Excel

Open Microsoft Excel and structure it like this:

IDagegendereducationheard_pcapreventablescreening

โœ๏ธ Step 3: Enter Data from a Filled Questionnair

Example of ONE Completed Questionnaire:

  • Age: 45
  • Gender: Male
  • Education: Secondary
  • Heard of prostate cancer: Yes
  • Preventable: No
  • Screening: No

Convert to Codes:

  • age = 45
  • gender = 1
  • education = 3
  • heard_pca = 1
  • preventable = 0
  • screening = 0

Enter into Excel:

IDagegendereducationheard_pcapreventablescreening
0014513100

๐Ÿ” Another Example (Second Respondent)

  • Age: 30
  • Gender: Male
  • Education: Primary
  • Heard of prostate cancer: No
  • Preventable: Donโ€™t know
  • Screening: No

Codes:

IDagegendereducationheard_pcapreventablescreening
0023012020

โš ๏ธ Important Rules During Entry

  • Enter numbers only, not text
  • One row = one respondent
  • Do not skip any variable
  • Use a missing value (e.g., 99) if unanswered

๐Ÿ” Step 4: Data Cleaning

After entering all questionnaires:

  • Check for errors:
    • gender = 5 โŒ (invalid)
    • age = 150 โŒ
  • Use filters in Excel
  • Or analyze using SPSS โ†’ Frequencies

VIDEO TUTORIAL

๐Ÿ‡ณ๐Ÿ‡ฌ Practical Tips for Researchers

  • Number your questionnaires (e.g., 001โ€“200)
  • Use clear handwriting during data collection
  • Apply double data entry for accuracy
  • Always backup your data (flash drive + email/cloud)

โš ๏ธ Common Mistakes to Avoid

  • Entering text instead of numeric codes
  • Skipping the codebook
  • Mixing up rows and columns
  • Ignoring data cleaning
  • Losing questionnaires before entry ๐Ÿ˜…

๐Ÿ’ก Final Thoughts

Accurate data entry is the foundation of quality research. No matter how good your analysis is, poor data entry will lead to unreliable results.

For students and researchers, mastering this process will significantly improve your project quality, especially when working with tools like SPSS for advanced analysis such as regression.

๐Ÿ“ข Need Help?

If you need:

  • A ready-made Excel template
  • SPSS setup for your research
  • Data cleaning or analysis support

Feel free to reach out to Nursing Research and Data Institute!

Leave a Reply