Others

Design a Microsoft Access Survey Database and Analyze Responses in Excel

Khadija KhanKhadija Khan Nov 18, 2026 870 views

Question details

Create a survey database with 23 questions rated from 1 to 5 and two comment fields, then analyze the responses in Excel.

Design an Access Survey Database and Analyze Responses in Excel
Product
Microsoft Access and Microsoft Excel
Device & OS
not provided
Scenario
The user wants to collect survey responses in a relational database and prepare the results for spreadsheet analysis.
Observed behavior
The desired result is a set of related survey records that can be queried and analyzed in Excel.
Before you start

Prepare the text and order of the 23 questions and decide what each of the two comment fields will ask. Confirm whether respondents need to be identified or whether survey sessions should be anonymous.

Solution 1Recommended

Build a Relational Survey Database in Microsoft Access

Use related tables to store each rating as a separate record and keep survey sessions organized.

1
Create the survey tables

In Access, select Create > Table Design. Create Questionnaires with QuestionnaireID and a title; Questions with QuestionID, QuestionnaireID, question text, and question order; Respondents with RespondentID if identification is needed; Sessions with SessionID, QuestionnaireID, an optional RespondentID, and two Long Text comment fields; and Answers with AnswerID, SessionID, QuestionID, and a Number field for Rating. Set each ID as the primary key of its table.

2
Connect the records

Open Database Tools > Relationships and add the tables. Link Questionnaires to Questions and Sessions, Respondents to Sessions if used, and Sessions and Questions to Answers through their matching ID fields. Select Enforce Referential Integrity for each applicable relationship.

3
Set rating rules

Open Answers in Design View. Set the Rating field's Validation Rule to Between 1 And 5 and its Required property to Yes. Use Design > Indexes to create a unique composite index on SessionID and QuestionID so a session cannot contain two ratings for the same question.

4
Enter questions and responses

Open the Questionnaires and Questions tables in Datasheet View and enter the questionnaire and its 23 questions. Create a session for each completed survey, enter its two comments in Sessions, and add one Answers record for each question with the session ID, question ID, and rating.

5
Prepare an analysis query

Select Create > Query Design and add Sessions, Answers, and Questions. Join their matching ID fields, then add SessionID, question order, question text, Rating, and the two comment fields to the query grid. Run the query and save it for export.

Build a Relational Survey Database in Microsoft Access
Check for complete surveys: The rating rule and unique index do not ensure that all 23 questions have been answered. Check the answer count for each session before treating it as complete.
Free Microsoft Office alternative

Review Exported Survey Results in WPS Spreadsheet

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Export the Access query to an Excel workbook, then open it in WPS Spreadsheet to review and summarize the results. WPS does not replace the Access database design or data collection steps.

Review survey ratings and comments in a familiar spreadsheet interfaceOpen and work with Microsoft Excel XLSX filesMove exported survey data into WPS without rebuilding the worksheetUse a free, lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Why store each rating in a separate Answers record?

A separate record for each session and question makes it easier to add or change questions and summarize ratings. Link each Answers record to its SessionID and QuestionID.

How can I prevent ratings outside the 1-to-5 scale?

Open Answers in Design View and set the Rating field's Validation Rule to Between 1 And 5. Set Required to Yes to prevent an answer record from having a blank rating.

How do I find the average rating for each question in Excel?

Select the exported data and choose Insert > PivotTable. Put question text in Rows and Rating in Values, then change Value Field Settings to Average.

Can I export comments along with ratings?

Yes. Add the two Sessions comment fields to the Access analysis query before exporting it. Each comment will repeat for every answer in that session, so review it once per SessionID.

Can I link Excel to Access instead of exporting a file?

In supported Excel versions, use Data > Get Data > From Database > From Microsoft Access Database, select the Access file, and choose the table or query to load. You can then refresh the connection when the source data changes.