메인 컨텐츠로 가기

Excel에서만 표시 / 필터링 된 셀에 값을 붙여 넣는 방법은 무엇입니까?

Excel에서 데이터를 필터링했거나 일부 셀을 숨긴 경우 필터링되거나 숨겨진 범위에 값을 붙여 넣으면 숨겨진 셀도 붙여 넣은 값으로 채워집니다. 여기에서는 Excel에서만 보이는 셀에 값을 붙여 넣는 몇 가지 트릭을 알려 드리겠습니다.

VBA를 사용하여 보이는 셀에 값 붙여 넣기

Excel 용 Kutools의 보이는 범위에 붙여 넣기를 사용하여 보이는 셀에 값을 붙여 넣습니다. 좋은 생각 3


VBA를 사용하여 보이는 셀에 값 붙여 넣기

Excel에서는 VBA를 제외하고이 문제를 해결하는 다른 방법이 없습니다.

1. 프레스 Alt + F11 동시에 키 및 응용 프로그램 용 Microsoft Visual Basic 창이 나타납니다.

2. 클릭 끼워 넣다 > 모듈을 클릭 한 다음 팝업 모듈 창에 VBA 코드 아래에 붙여 넣습니다.

VBA : 보이는 셀에만 값을 붙여 넣습니다.

Sub CopyFilteredCells()
	'Updateby20150203
	Dim rng1 As Range
	Dim rng2 As Range
	Dim InputRng As Range
	Dim OutRng As Range
	xTitleId     = "KutoolsforExcel"
	Set InputRng = Application.Selection
	Set InputRng = Application.InputBox("Copy Range :", xTitleId, InputRng.Address, Type: = 8)
	Set OutRng   = Application.InputBox("Paste Range:", xTitleId, Type: = 8)
	For Each rng1 In InputRng
		rng1.Copy
		For Each rng2 In OutRng
			If rng2.EntireRow.RowHeight > 0 Then
				rng2.PasteSpecial
				Set OutRng = rng2.Offset(1).Resize(OutRng.Rows.Count)
				Exit For
			End If
		Next
	Next
	Application.CutCopyMode = False
End Sub

3. 클릭 F5 키 또는 달리기 버튼을 누르면 복사 할 값을 선택할 수있는 대화 상자가 나타납니다. 스크린 샷보기 :
doc-paste-to-visible-cell-1

4. 값을 선택한 후 OK을 클릭하면 선택한 데이터를 붙여 넣을 범위를 선택하는 다른 대화 상자가 나타납니다. 스크린 샷보기 :
doc-paste-to-visible-cell-2

5. 클릭 OK. 선택한 값을 붙여 넣은 표시 셀만 볼 수 있습니다.


Excel 용 Kutools의 보이는 범위에 붙여 넣기를 사용하여 보이는 셀에 값을 붙여 넣습니다.

실제로 사용한다면 보이는 범위에 붙여 넣기 ~의 유용성 Excel 용 Kutools – 편리한 Excel 도구로 가시 범위에 값을 붙여 넣는 문제를 빠르고 쉽게 해결할 수 있습니다.
문서 붙여 넣기 보이는 셀 6

Excel 용 Kutools, 이상과 300 편리한 기능으로 작업이 더 쉬워집니다. 

설치 후 Excel 용 Kutools는 다음과 같이하십시오.(지금 Excel 용 Kutools 무료 다운로드!)

1. 복사하여 붙여 넣을 값 범위를 선택한 다음 쿠툴 > 범위 > 보이는 범위에 붙여 넣기 > All or 값만 붙여 넣기. 스크린 샷보기 :
문서 붙여 넣기 보이는 셀 7

2. 그런 다음 보이는 범위에 붙여 넣기 대화 상자가 나타나면 값을 붙여 넣을 범위를 선택합니다. 스크린 샷보기 :
문서 붙여 넣기 보이는 셀 8

3. 클릭 OK. 이제 선택한 값이 보이는 범위에만 붙여 넣어집니다.

보이는 셀에 값만 붙여 넣기 보이는 셀에 모두 붙여 넣기
문서 붙여 넣기 보이는 셀 9 문서 붙여 넣기 보이는 셀 10


참고 :
이 유틸리티는 숨겨진 및 필터링 된 행 또는 열 모두에서 작동합니다.

가시 범위에 붙여 넣기 유틸리티에 대한 자세한 정보를 보려면 여기를 클릭하십시오.

  보이는 셀에만 붙여 넣기

최고의 사무 생산성 도구

🤖 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 (22)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank you very much hundred times
This comment was minimized by the moderator on the site
After going absolutely crazy trying to find a solution, this worked - specifically, the macro for pasting INTO visible only cells. Note that I was copying only from unfiltered cells. However, the people complaining that it doesn't do both (which I'm not sure is true) should be quiet because it's pretty easy to copy FROM only visible/filtered cells into an unfiltered area. You don't need a macro for that (and if you're trying to do both, just do the copying of filtered cells in Excel first, then use this macro). Again, what Excel is fully unable to do on its own without a macro is to paste to visible cells only. This macro saved my bum. Thanks!
This comment was minimized by the moderator on the site
Thanks for your recognition.
This comment was minimized by the moderator on the site
This worked perfectly, thanks!
This comment was minimized by the moderator on the site
You can also easily do this without a plugin....
CTRL+C the cells you want to paste
Highlight the filtered/partially hidden range you're pasting to
CTRL+G
Select "Special"
Select "Visible Cells Only" & hit OK
CTRL+V
This comment was minimized by the moderator on the site
Thansk for you reply, but it does not work. With your method, it paste all cells including hidden ones with the copied values.
This comment was minimized by the moderator on the site
VBA method did not work! It copied the invisible cells into the visible cells. Now, I realize that the title doesn't say "How to paste values FROM VISIBLE/FILTERED CELLS to visible/filtered cells only in Excel?" but if my workbook is filtered, it's highly possible that this is what is needed. If this is what you want - copy from one section to another (or to simply paste values from certain cells right back to the same cells, so to remove the fomulas) you first need to copy/paste values to an unfiltered workbook/worksheet. THEN you can use the macro...or at least I hope you can. I didn't save my data and UNDO does not work....
This comment was minimized by the moderator on the site
I am sorry for that.
This comment was minimized by the moderator on the site
So is there any update version for this situation?
This comment was minimized by the moderator on the site
It is even more flexible and functional if the inner loop is constructed with Do While loop.
This comment was minimized by the moderator on the site
This was very helpful. Many thanks.
This comment was minimized by the moderator on the site
i am currently developing a macro. In that i need to do filter for a particular column for Eg: Column D and need to paste some values Eg: Valid in column B. only i need to paste the value for the filtered cells. And also i want to know the coding for multiple filters at a time. EG: filtering in one column and checking the value and again do filter in another column without making false for the previous filter. help me on this.
This comment was minimized by the moderator on the site
This works great up to record 1163 of 23,000 and then it stops. Why would it stop?
This comment was minimized by the moderator on the site
You rock! I've had this issue multiple times in the past but it became a back-breaker for the recent project. And you've helped me to fix it beautifully. THANK YOU!
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations