Sub topic 3
Adding and editing comments
This chapter covers how to add a comment to a cell, how to edit or delete it, and what happens at the edges: ranges, deleted cells, and permissions. It assumes you can already navigate cells, ranges, and sheets, and that you know how to share a file from the Share button. The previous chapters covered who can comment and how comments differ from notes. Later chapters cover replies, resolving, mentions, and tasks.
What a comment is
A comment is a discussion item attached to a cell. It shows the author's name and photo, a timestamp, and the text. Other people can reply to it, and it can be resolved when the discussion is finished. A cell with a comment shows a small yellow triangle in its upper-right corner. A cell with a note shows a small dark triangle, so the color tells you which one you are looking at.
Comments belong to the spreadsheet file, not to a particular view of it. They stay attached to the cell they were created on, and they move with that cell when you insert rows or columns above or to the left of it.
Ways to add a comment
You need at least commenter access to add a comment. Viewers do not see the comment option. Commenters and editors do.
You can start a comment in four ways:
- Select a cell, then choose Insert > Comment from the menu.
- Right-click the cell and choose Comment.
- Select the cell and click the Add comment button in the toolbar (the speech bubble with a plus sign).
- Select the cell and press Ctrl+Alt+M on Windows or ChromeOS, or Cmd+Option+M on macOS.
A comment box opens next to the cell. Type your text and click Comment (the arrow button) to post it. Pressing Ctrl+Enter or Cmd+Enter also posts it. If you press Escape or click away before posting, the draft is discarded, so post before moving on.
Commenting on a range
A comment attaches to one cell. If you select a range such as B2:B10 and add a comment, Sheets attaches it to the first cell of the selection, which is the top-left cell. The range is not highlighted, and the comment does not follow the other cells.
If the comment is about several cells, name the range in the text, for example "Rows 2 to 10 use the old exchange rate." That way a reader knows what the comment covers even though only one cell shows the triangle.
Commenting on a sheet that is hidden or filtered
A comment on a cell in a hidden row or a hidden sheet is still stored, but nobody can see its triangle until the row or sheet is shown again. The comment still appears in the comment history panel, which a later chapter covers. If someone says they cannot find a comment, check for hidden rows, hidden columns, and filtered views first.
Writing a useful comment
A comment is read out of context, often weeks later, so write it to stand alone.
- State the problem or question first, then the evidence. "This total excludes returns. Source: Returns tab, cell F40" is better than "wrong".
- Say what you want done, or say that no action is needed.
- Keep one topic per comment. Two questions in one comment cannot be resolved separately.
- Refer to cells by address (for example, D14) rather than "this one", because the discussion can be read from the history panel, away from the cell.
Reading a comment
Hover over a cell with a yellow triangle to see its comment. Click the cell to open the comment with its reply box. Comments on a sheet also appear in the comment history panel, opened with the Open comment history button at the top right. To jump from a comment in the panel to its cell, click the comment.
Editing a comment
Only the author can edit a comment's text. Editors of the file cannot change a comment written by someone else, though they may be able to delete it (see below).
To edit your own comment:
- Hover over the cell, or click it, to open the comment.
- Click the three-dot More menu on your comment.
- Choose Edit.
- Change the text and click Save.
An edited comment keeps its original position in the thread. Other readers see the updated text, and the thread may show that it was edited. The earlier wording is not kept in a way you can browse, so if the change matters, add a reply that explains it rather than silently rewriting the original.
Editing and mentions
If you edit a comment and add an @mention that was not there before, the new person is notified. A person who was already mentioned is not necessarily notified again. Mentions are covered in a later chapter. For now, treat adding a mention in an edit as a safe way to bring in someone you forgot, and a reply as the better way to get attention for something new.
Deleting a comment
The same More menu has a Delete option. Who can use it depends on the role and the position of the comment:
| Situation | Who can delete it |
|---|---|
| Your own reply in a thread | You |
| Your own first comment, which starts a thread | You, and it removes the whole thread, including replies |
| Someone else's comment | The file owner and editors, depending on the sharing setup. Commenters cannot |
Deleting the first comment of a thread removes the replies as well, so check the thread before deleting. Deleting is different from resolving. A resolved thread is kept and can be reopened. A deleted thread is gone, and you cannot get it back from the interface.
What happens when the cell changes
Comments are tied to the cell, not to its content. This produces some behavior that surprises people.
| Action on the cell | Effect on the comment |
|---|---|
| Change the value or formula | The comment stays |
| Clear the contents (Delete key) | The comment stays |
| Insert a row above or a column to the left | The comment moves with the cell |
| Delete the row or column that holds the cell | The comment is deleted with it |
| Cut and paste the cell | The comment moves to the new location |
| Copy and paste the cell | Comments are not copied with the value in a normal paste |
| Paste with **Paste special > Values only** | No comment is created |
Because deleting a row removes its comments, a cleanup of old rows can erase a discussion you wanted to keep. Before deleting rows, look at the comment history panel and resolve anything you want preserved as a record. Also remember that version history can show how the sheet looked before the delete, which is covered in a later chapter.
Copying a sheet or the whole file
When you duplicate a sheet tab, the comments on it are not carried to the copy in every case. When you make a copy of the whole spreadsheet with File > Make a copy, the dialog has a Copy comments and suggestions option. It is off by default. If you want the discussion to travel with the copy, tick that option. Left unticked, the copy has the data but none of the comments.
Notifications and visibility
Posting a comment does not email everyone on the file. Notifications go to people who are mentioned and to people who took part earlier in the thread. The owner may also receive notifications depending on their settings. In Tools > Notification settings you can choose to be notified when anyone comments, only when you are mentioned or replied to, or never. If a collaborator says they never saw your comment, the likely reasons are:
- They were not mentioned and had not joined the thread.
- Their notification settings are set to "None" or to mentions only.
- The email went to a spam folder.
Anyone who can open the file can read all its comments. A comment is not private, even if it is addressed to one person. Do not put passwords or personal data in a comment.
Common errors
- The comment option is missing. You probably have view-only access. Ask an owner or editor for commenter or editor access.
- The comment option is grayed out. The file may be open in a mode that prevents it, such as a protected version-history view. Close that view and try again.
- You cannot edit someone's comment. Only the author can edit. Reply instead, or ask the author to change it.
- A comment seems to have disappeared. Check whether the thread was resolved, whether the row was deleted, and whether the row is hidden or filtered out.
- The copy of the file has no comments. The Copy comments and suggestions box was not ticked when the copy was made.
Exercise
You select the range C5:C20 and add the comment "These amounts are in euros." Where does the yellow triangle appear, and what should you do so that readers understand the comment covers all sixteen cells?
Show answer
The triangle appears only on C5, the top-left cell of the selection. Because the comment is attached to one cell, write the range in the text, for example "C5:C20 are in euros," so a reader knows its scope.
Exercise
A teammate with editor access asks you to change the wording of a comment you wrote last week, and you are unavailable. Can they edit it? What are their options, and what risk comes with deleting it?
Show answer
They cannot edit it, because only the author can change a comment's text. They can reply with a correction. If their role allows deleting, they could delete it, but deleting the first comment of a thread removes all replies and cannot be undone from the comment box, so a reply is safer.