메인 컨텐츠로 가기

Excel에서 주석으로 셀을 필터링하는 방법은 무엇입니까?

중요한 정보 나 세부 정보를 표시 할 수있는 주석을 워크 시트에 삽입하는 것이 일반적입니다. 그러나 특정 조건에서는 주석이 포함 된 행만 필터링하고 쉽게 볼 수 있도록 함께 모으고 싶습니다. Excel의 필터 기능은이 작업을 직접 해결하는 데 사용할 수 없습니다. 이 기사에서는 Excel에서 주석으로 셀을 필터링하는 방법을 배웁니다.

도우미 열을 만들어 주석이있는 셀 필터링


화살표 블루 오른쪽 거품 도우미 열을 만들어 주석이있는 셀 필터링

주석 처리 된 행만 필터링하려면 다음을 사용하여 주석 셀을 식별 할 수 있습니다. 사용자 정의 기능 먼저 적용한 다음 필터 기능.

1. 누르고 Alt + F11 Excel에서 키를 클릭하고 Microsoft Visual Basic for Applications 창.

2. 끼워 넣다 > 모듈을 클릭하고 다음 매크로를 모듈 창.

VBA 코드 : 주석이 포함 된 셀 식별

Function HasComment(r As Range)
'Update 20140718
    Application.Volatile True
    HasComment = Not r.Comment Is Nothing
End Function

3. 그런 다음 코드를 저장하고 모듈 창을 열고 워크 시트로 돌아가서 다음 공식을 입력하십시오. = HasComment (B2) 주석 셀 옆에있는 빈 셀에B2 사용하려는 값이 포함되어 있음) 스크린 샷 참조 :

문서 필터 주석-1

4. 그런 다음 채우기 핸들을이 수식을 적용하려는 범위 셀로 드래그하면 TRUE or 그릇된 세포에서 TRUE 주석이있는 셀을 나타내며 그릇된 댓글이 없음을 나타냅니다.

5. 주석 셀을 식별 한 후 데이터 범위를 선택한 다음 Data > 필터, 스크린 샷 참조 :

문서 필터 주석-1

6. 그런 다음 도우미 열 옆에있는 드롭 다운 화살표를 클릭하고 TRUE 옵션 만, 스크린 샷 참조 :

문서 필터 주석-1

7. 클릭 OK 버튼을 클릭하면 다음 스크린 샷과 같이 주석 행이 필터링됩니다.

문서 필터 주석-1

8. 마지막으로 필요에 따라 C 열의 내용을 삭제할 수 있습니다.

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!

 

Comments (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I am using Excel 365 and tried using Notes instead of Comments and I get #NAME?. When I try comments, I get all False. I confirmed that my cells have Comments and not Notes in the cells. What am I doing wrong?
This comment was minimized by the moderator on the site
Hello, Annie
In Excel 365, you can see the note is shown as below screenshot:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-comment-note-1.png

And the comment is shown as this:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-comment-note-2.png

So, if there are notes in your worksheet, you just use the code in this article and don't change any thing, then apply the formula you will get the correct results as below:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-comment-note-3.png

Please try, hope it can help you!
This comment was minimized by the moderator on the site
And how to do it with COMMENTS? Not NOTES.

Johnny
This comment was minimized by the moderator on the site
Me sale todo falso a que se debe
This comment was minimized by the moderator on the site
Hello Marcela,

Glad to help. May I know whether the Excel version you are using is Microsoft Excel 365, which can be different from other versions of Excel?

If it is Microsoft Excel 365, then I know what leads to the problem. In Microsoft Excel 365, Notes replaced the Comments in other versions of Excel. So change your comments to notes, then the returned values will be TRUEs. Please have a try. Looking forward to your reply.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Hi, so how to do it with COMMENTS? Without changing them to notes.

Thx,
johnny.
This comment was minimized by the moderator on the site
Maravilhoso!!!!!! Obrigado!!!!
This comment was minimized by the moderator on the site
Gracias por este aporte, muy recomendado esta página.
This comment was minimized by the moderator on the site
I would like to know how does the "HasComment = Not r.Comment Is Nothing" part works. Thanks!
This comment was minimized by the moderator on the site
Amazing solution to a problem. Loved it.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations