Searching within Excel comments

By Kelly L. Williams, CPA, Ph.D.

Q. Is there a way to search for text that is contained within a hidden comment of an Excel spreadsheet?

A. You can search for text that is contained within comments, hidden or unhidden, of an Excel spreadsheet. I have created a workbook with comments added to the three lines of text. You can access the workbook here and accompanying video at the bottom of the page. Note that the content that follows is based on Microsoft Excel 365 for PCs. Other versions of Excel may work differently.

To hide Excel comments on your device, go to File, Options, Advanced. Scroll to the Display section and select No comments, notes, or indicators, as shown in the screenshot below. Click OK. All comments will now be hidden in all Excel workbooks. You can always change this to make the comments visible again.

techqa-16


Now that all comments are hidden, click anywhere in the spreadsheet and press Ctrl+F (this is the shortcut for "find" on a PC), then type the word important next to Find what:, as shown in the screenshot below. Click Options and choose Comments next to Look in:. Click Find All to see the two comments that contain the word "important."

Note that you would follow these same instructions to search within comments that are not hidden.

techqa-17


About the author

Kelly L. Williams, CPA, Ph.D., MBA, is an associate professor of accounting at the Jones College of Business at Middle Tennessee State University.

Submit a question

Do you have technology questions for this column? Or, after reading an answer, do you have a better solution? Send them to jofatech@aicpa.org. We regret being unable to individually answer all submitted questions.

SPONSORED REPORT

Scorecard preparation templates and tips

With Workiva, we've created a PowerPoint deck that helps you create your own scorecards -- quick reference reports used across organizations to update stakeholders on the performance of defined deliverables.

100th ANNIVERSARY

Black CPA Centennial, 1921–2021

With 2021 marking the 100th anniversary of the first Black licensed CPA in the United States, a yearlong campaign kicked off to recognize the nation’s Black CPAs and encourage greater progress in diversity, inclusion, and equity in the CPA profession.