- Home
- Guides
- Google Workspace
- How to build a multi-user data entry form in Google Sheets without coding
How to build a multi-user data entry form in Google Sheets without coding
Build a data entry dashboard in Google Sheets with Enter, Search, Edit and Clear buttons, an operator dropdown and a duplicate check. ChatGPT or Claude writes the Apps Script, so you do not need to know how to code.
Jump to a step (11)
When several people add records straight into a shared spreadsheet, rows get overwritten, duplicates slip in and nobody knows who entered what. Finding and correcting an existing record means scrolling and editing cells by hand.
This build turns one Google Sheet into a small data entry app. An Input sheet holds the form and four buttons. A Data sheet stores every record with the operator's name and the date of entry. The example is a student record form, but the same method works for employees, inventory or any list.
The buttons run Google Apps Script functions. Instead of writing the code, you describe your cells and what each button should do in a prompt, and ChatGPT (or Claude) writes the functions. You paste them into Apps Script and assign each one to a button.
What you need
- A Google account with Google Sheets
- Access to ChatGPT or Claude to generate the Apps Script
- A clear list of the fields you want to capture and the cells they sit in
- The email addresses of the people who will enter data
Step by step
0 of 11 done-
01
Create the sheet and design the form
Start with a blank Google Sheet and rename it (the video uses
Student Data Entry). On the first tab, lay out the entry fields one by one: roll number, name, grade, gender, date of admission and remarks. Merge the cells above for a header and add some formatting.Add one more field called
Operator. Because several people share the form, each person picks their name here so every record shows who entered it. -
02
Add dropdowns and a date picker
Right-click the grade input cell and choose Dropdown. Add the options (First, Second, Third, Fourth) and give each a color if you like. Do the same for gender and for the operator cell, listing each person who will use the form.
For date of admission, select the cell and go to Data > Data validation > Add rule. Choose
Is valid dateand set it to Reject the input. Now double-clicking the cell opens a calendar. -
03
Create the four buttons
Go to Insert > Drawing and create a button labeled
Enterwith a white background. Click Save and close and drag it next to the form. Repeat forSearch,EditandClear. Resize and align them with the drag handles. -
04
Create the Data sheet
Add a second tab and rename it
Data. Rename the form tabInput. On the Data tab, add a header row:Roll Number,Name,Grade,Gender,Date of Admission,Remarks,Entered ByandDate of Entry.The form fills this sheet.
Date of Entryhas no input field because the script adds the current date. -
05
Open Apps Script
Go to Extensions > Apps Script. Rename the project if you want (the name does not matter). It opens with an empty function that you will replace.
-
06
Generate the Enter function with AI
Write a prompt for ChatGPT that lists the exact cell for each field (roll number, name, grade, gender, date of admission, remarks and operator), the sheet names, and what the Enter button should do: copy the entries to the next row of the Data sheet, add the operator name and today's date, and refuse a roll number that already exists.
The free version of ChatGPT is enough. If you do not have ChatGPT, paste the same prompt into Claude and you get a similar result. The AI returns one function, named
enterDatain the video. -
07
Paste the function and assign it to the Enter button
Copy the function, delete the empty function in Apps Script, paste the new code and save.
Back in the sheet, click the Enter drawing, open its three-dot menu and choose Assign script. Type the function name exactly as it appears in the code (
enterData), without brackets. -
08
Authorize the script and test it
Fill in a test record and click Enter. The first time, Google asks you to authorize the script. Click Continue, then Advanced, then Go to (your project name) (unsafe), then Allow.
Click Enter again. You should see a "New data entered" message and a new row on the Data sheet with the operator name and today's date. Try the same roll number again: the script shows "Roll number exists" and loads the existing record instead of adding a duplicate.
-
09
Generate Search, Edit and Clear functions
Write a second prompt asking for three functions at once:
- Search: read the roll number in
D5, find it on the Data sheet and load that record into the form. Show a message if the cell is empty or the roll number is not found. - Edit: save changes in the form back to the matching row.
- Clear: empty all the form fields.
Use the exact cell addresses from your own layout. Paste each function below the first one in Apps Script and save.
- Search: read the roll number in
-
10
Assign and test the other buttons
Assign the search function (
searchData) to Search, the update function (updateData) to Edit, and the clear function to Clear, using the names from your code.Test them. Type a roll number, click another cell so Google Sheets commits the value, then click Search. Change a field and click Edit to see "Entry updated". Search for a roll number that does not exist to see "Roll number not found".
-
11
Share the sheet with other users
Click Share, enter each person's email and give them edit access. When they open the sheet, they pick their name in the Operator dropdown and click Enter. Each person has to authorize the script once, the same way you did. After that, their entries appear on the Data sheet with their name.
Tips and common problems
- Search does nothing if you click it while still typing in the roll number cell. Click another cell first so Google Sheets saves the value, then click Search.
- In your prompt, give the exact cell address for every field. If the cells in the prompt do not match your layout, the functions write to the wrong place.
- When you assign a script to a button, type only the function name, exactly as written in the code.
- Every person you share the sheet with must authorize the script the first time they click a button.
- The Google warning says the app is unverified because it is your own script. Use Advanced and Go to (project name) to continue.
Questions
Can multiple users enter data into the same Google Sheet at the same time?
Yes. Share the sheet with edit access. Each person uses the same form, picks their name in the Operator dropdown, and the script records their name and the date with each entry.
Do I need to know Apps Script to make buttons work in Google Sheets?
No. In the video every function is written by ChatGPT from a plain-English prompt that lists your cells and what each button should do. You paste the code and assign the function name to the button.
How do I stop duplicate entries in a Google Sheets form?
Ask for a duplicate check in the Enter function. In this build, if the roll number already exists on the Data sheet, the script shows "Roll number exists" and loads the existing record instead of adding a new row.
How do I add a date picker to a Google Sheets cell?
Select the cell, go to Data > Data validation > Add rule, choose Is valid date and set it to reject the input. Double-click the cell to open the calendar.
