Sub topic 3
Sharing with specific people
This chapter covers the most common way to give someone access to a spreadsheet: adding them by email address in the Share dialog. It assumes you have a Google account, can open and edit a Google Sheet, and know the three roles (Viewer, Commenter, Editor) from the previous chapter. The last section uses Apps Script, so basic JavaScript helps there, but you can skip it and still use everything else.
What sharing with specific people does
When you share with specific people, you add each person's Google account to the spreadsheet's access list and give each one a role. That person can then open the file, and Google checks their signed-in identity every time they do.
This differs from link sharing, which the next chapter covers. A link grants access to whoever holds it. A named person grants access to one account. If the link is forwarded, the named person's access does not spread to anyone else.
Two points follow from this:
- The person must sign in with the account you added. If you shared with
[email protected]but she opens the file while signed in as[email protected], she sees a "You need access" page. - Each person has their own role. You can have one Editor, three Commenters and ten Viewers on the same file.
Opening the Share dialog
- Open the spreadsheet.
- Select Share at the top right.
- In the Add people, groups, spaces and calendar events box, type or paste an email address.
The dialog has two sections. The top part adds people. The lower part, General access, controls link sharing and is not covered here.
You need Editor access or higher to open the dialog and add people. By default an Editor can share the file with others, which is why the "editors can change permissions" setting matters. A later chapter covers it.
Adding people and choosing a role
Type an email address and press Enter or comma. Google turns it into a chip. You can add several addresses at once, and you can paste a comma-separated list.
After you add at least one person, a role menu appears next to the field with Viewer, Commenter and Editor. The role you pick applies to everyone in that batch. To give different roles to different people, add them in separate batches.
Then:
- Decide whether to select Notify people. It is on by default.
- Optionally write a message. It goes in the notification email.
- Select Send (or Share if notifications are off).
Choosing a role
| Role | Typical use | Can do |
|---|---|---|
| Viewer | Readers of a report | Open and read the file |
| Commenter | Reviewers | Read and add comments and suggestions |
| Editor | Collaborators | Change content and, by default, change sharing |
Pick the lowest role that lets the person do their job. You can raise a role later, but you cannot take back data that a person already saw or copied.
Who can you share with
You can add any email address. What happens next depends on the address.
- A Google account (a Gmail address or a Google Workspace address). The person gets access directly.
- A non-Google email address. If the address isn't attached to a Google account, the person can't sign in as that address. Depending on your organization's settings, Google may email a visitor link that works with a PIN. Your organization can switch this off, in which case the dialog warns you or blocks the address.
- A Google Group. Adding a group gives every member the same role. Membership changes in the group then change who has access, without you editing the sheet. This is the most maintainable way to share with a team.
- Someone outside your organization. Workspace administrators can restrict this. If they have, the dialog shows a warning or refuses the address. The organization chapter covers this.
What the notification does
The notification email is a convenience, not part of the permission. Access is granted the moment you select Send. If you turn off Notify people, the person still has access and sees the file under Shared with me in Drive. You then need to send them the link yourself.
You can't turn off the notification when you share with a non-Google address that needs a visitor link, because the email is how they receive it.
Changing or removing someone's role
Reopen Share. Each person appears under People with access, with their current role on the right.
- To change a role, open the role menu next to their name and pick another one.
- To remove someone, pick Remove access from the same menu.
Changes take effect right away. If the person has the file open, they may need to refresh before the new role applies.
The owner appears in the list as Owner. You cannot change the owner's role here. Ownership transfer has its own chapter.
Seeing what you shared
The diagram shows the order of checks. A named entry on the access list is checked first, and general access is the fallback. Because of this order, a person who is both on the list and covered by a link gets whichever applies. Check both lists when you troubleshoot.
Access requests
When someone without access opens the link, they see a page with a Request access button. You get an email with the request, and you can approve it by choosing a role. You don't need to guess an address in advance.
Two things to watch:
- The request comes from the account they are signed in with. Check that this is the account you intend to add.
- Approving a request creates a normal named entry. It is the same as adding the person yourself.
Sharing from a script
If you manage many people, you can add them with Apps Script instead of the dialog. This script is bound to the spreadsheet. A bound script is one created from Extensions > Apps Script inside the file.
function shareWithPeople() {
const ss = SpreadsheetApp.getActiveSpreadsheet();
ss.addViewer('[email protected]');
ss.addEditor('[email protected]');
// Spreadsheet has no addCommenter, so use the Drive file.
const file = DriveApp.getFileById(ss.getId());
file.addCommenter('[email protected]');
}SpreadsheetApp can add Viewers and Editors. It has no Commenter method, so the script uses the matching Drive file through DriveApp. The first run asks you to authorize the script, because it needs permission to manage your files.
Calls like these send a notification email by default, and the simple methods give you no way to switch it off. If you need quiet sharing or finer control, the Drive API can do it, and that is outside this chapter.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| "You need access" for someone you shared with | They are signed in with a different account | Ask them to switch accounts, or add that address |
| Dialog won't accept an address | Organization blocks external sharing, or the address is not valid | Check the address, then ask your administrator about policy |
| Person can view but not edit | Role is Viewer or Commenter | Change the role to Editor |
| Person can edit but a range is locked | The range is protected | See the protected ranges chapter |
| Person got no email | **Notify people** was off, or the message went to spam | Send them the link directly |
| Removed person can still open the file | General access allows the link, or they are in a group that has access | Check General access and group membership |
The last row is the most common surprise. Removing a name only removes that entry. It does not remove other paths to the file.
Practical habits
- Share with groups when the same people need access to several files.
- Add a short message explaining what you expect, such as "Please comment only on the Q3 tab".
- Re-open the dialog after sharing and read the list. A typo in an address still creates a valid-looking entry for the wrong person.
- Use the lowest role that works.
Exercise
You added [email protected] as a Viewer and later removed her in the Share dialog. She can still open the sheet. Name two things you should check.
Show answer
Check General access, because "Anyone with the link" would still let her in through the link. Also check whether she belongs to a Google Group that has access to the file. Removing her named entry removes only that one path.
Exercise
A teammate says the file shows "You need access" even though you shared it with her. What is the most likely cause and how do you confirm it?
Show answer
She is probably signed in with a different Google account from the one you added. Ask which account she is using, then compare it with the list under People with access. If it differs, add that address or ask her to switch accounts.