메인 컨텐츠로 가기

Excel에서 병합 된 모든 셀을 식별하고 선택하는 방법은 무엇입니까?

Excel에서 병합된 모든 셀을 찾아 선택하는 방법을 알고 있나요? 다음은 Excel의 선택 항목이나 범위에서 병합된 모든 셀을 신속하게 식별하고 선택하는 세 가지 멋지고 까다로운 방법입니다.

문서 병합 셀 선택 4

찾기 명령으로 병합 된 모든 셀 식별 및 선택

Excel용 Kutools를 사용하여 병합된 모든 셀을 빠르게 선택하고 계산합니다.

VBA 코드로 병합 된 모든 셀 식별


찾기 명령으로 병합 된 모든 셀 식별 및 선택

활성 워크 시트에서 병합 된 모든 셀을 식별하고 선택할 수 있습니다. Find 다음 단계로 명령 :

1. 클릭 > 찾기 및 선택 > Find 를 열려면 찾기 및 바꾸기 대화 상자. 당신은 또한 열 수 있습니다 찾기 및 바꾸기 를 눌러 대화 상자 Ctrl + F 열쇠.

2. 클릭 형성 대화 상자에서 버튼을 클릭합니다 (찾을 수없는 경우 형성 버튼을 클릭하십시오 옵션 버튼을 눌러 대화 상자를 확장합니다.) 스크린 샷 참조 :

문서 병합 셀 선택 1

3. 팝업에서 형식 찾기 대화 상자에서 셀 병합 에서 옵션 텍스트 제어 구역에 조정 탭을 클릭하고 OK.

문서 병합 셀 선택 2

4. 이제 당신은 찾기 및 바꾸기 대화 상자에서 모두 찾기 단추. 병합 된 모든 셀이이 대화 상자의 맨 아래에 나열됩니다. 모든 결과를 선택하려면 변화 키.

이제 모든 검색 결과를 선택하면 활성 시트의 모든 병합 된 셀이 선택됩니다. 스크린 샷보기 :

문서 병합 셀 선택 3

팁 : 선택 항목에서 병합 된 셀만 식별, 찾기 및 선택하려면 먼저 범위를 선택해야합니다.


Excel 용 Kutools로 병합 된 모든 셀 선택 및 계산

Excel 용 Kutools's 병합 된 셀 선택 도구는 단 한 번의 클릭으로 선택 항목에서 병합 된 모든 셀을 식별하고 찾고 선택하는 데 도움이됩니다.

Excel 용 Kutools : 300 개 이상의 편리한 Excel 추가 기능으로 30 일 동안 제한없이 무료로 사용해 볼 수 있습니다.. 

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

1. 병합 된 셀을 선택할 데이터 범위를 선택하십시오.

2. 딸깍 하는 소리 쿠툴 > 선택 > 병합 된 셀 선택, 스크린 샷 참조 :

3. 그리고 선택 항목의 모든 병합 된 셀이 한 번에 선택되고 병합 된 셀의 수도 계산됩니다. 스크린 샷을 참조하십시오.

문서 병합 셀 선택 7

: 이 기능을 사용하려면 다음을 설치해야 합니다. Excel 용 Kutools 먼저, 제발 클릭하여 다운로드하고 30일 무료 평가판 사용 지금.

VBA 코드로 병합 된 모든 셀 식별

VBA 1 : 병합 된 모든 셀 식별 및 강조

1. 누르고 ALT + F11 키가 열립니다. 응용 프로그램 용 Microsoft Visual Basic 창.

2. 딸깍 하는 소리 끼워 넣다 > 모듈을 클릭하고 다음 매크로를 모듈 창문.

Sub FindMergedcells()
'updateby Extendoffice
Dim x As Range
For Each x In ActiveSheet.UsedRange
If x.MergeCells Then
x.Interior.ColorIndex = 8
End If
Next
End Sub

3. 눌러 F5 이 매크로를 실행하려면 키를 누르십시오. 활성 워크 시트의 모든 병합 된 셀이 식별되고 강조 표시됩니다. 스크린 샷을 참조하십시오.

문서 병합 셀 선택 4

VBA 2 : 병합 된 모든 셀 식별 및 나열

1. 누르고 ALT + F11 키가 열립니다. 응용 프로그램 용 Microsoft Visual Basic 창.

2. 딸깍 하는 소리 끼워 넣다모듈을 클릭하고 다음 매크로를 모듈 창문.

Sub ListMergedcells()
'updateby Extendoffice
Dim x As Range
Dim sMsg As String
sMsg = ""
For Each x In ActiveSheet.UsedRange
If x.MergeCells Then
If sMsg = "" Then
sMsg = "Merged cells:" & vbCr
End If
sMsg = sMsg & Replace(x.Address, "$", "") & vbCr
End If
Next
If sMsg = "" Then
sMsg = "No merged cells."
End If
MsgBox sMsg
End Sub

3. 눌러 F5 이 매크로를 실행하려면 병합 된 모든 셀이 팝업 대화 상자에 나열됩니다. 스크린 샷보기 :

문서 병합 셀 선택 5

Comments (12)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is it possible to identify the first and the last column number of the merged range in vba?
This comment was minimized by the moderator on the site
I require code to list merged ranges in a worksheet where the merged ranges are individually entered in cells starting at "A1" thus a3:c3 b2:b7 etc...........
This comment was minimized by the moderator on the site
well done You are a star... Thanks :-)
This comment was minimized by the moderator on the site
Very Nice thanks a lot
This comment was minimized by the moderator on the site
Actually I just about went mental trying to fix this in a spreadsheet. In desperation I selected all the cells (control A) clicked "merge and centre" and presto! it was fixed.
This comment was minimized by the moderator on the site
Probably obvious, but: In my last comment I should have made it clear you need to "select" each column, in turn, before scanning visually. Though really you only need to scan certain columns, I think: To the best of my knowledge, it's only cells containing text that will occasionally annex an adjoining cell, and numeric-only columns can be trusted not to do so. Even with text columns, you should be OK just checking every other column, because if any cell in the selected column has been involved in an annexation (to the right or from the left), that will show up in a visual scan of the selected column. I have never seen annexations occurring vertically, only horizontally. But if such a thing happened (a vertical annexation), you could try the same technique going row by row instead of column by column. The procedure is tedious, definitely. A royal pain, in fact. But if you have to sort your data, and Microsoft refuses to fix their bug, it's the only recourse I know of. Nowadays I try to remember to put a space character into each cell of the area I expect to use, prior to entering any other data, thus ensuring no annexations will occur.
This comment was minimized by the moderator on the site
thank u this help me to find merged cell in my excel
This comment was minimized by the moderator on the site
... so in the spreadsheet you spoke of, which was not set up with those protective space characters, my approach would be to visually scan each column which lies just to the right of any text column; and immediately after identifying & unmerging each occurrence, I would put a space character in the empty cell so the merging will not recur. Probably there's a VBA or other coding means to accomplish this much more efficiently. Anyone???
This comment was minimized by the moderator on the site
Actually I think this can be avoided entirely, if you remember to do so before entering data into any text column. In my experience the only time cells are clandestinely merged is when an empty cell is to the right of a text cell, where normally the display of the text would be extended to take advantage of the otherwise unused display space provided by the empty cell. Therefore, when initially setting up your spreadsheet, before entering any data, you can fill every "susceptible" cell with a single space—as many rows down as you expect to have data to fill. That space will be honored like any other text, and the cell to the left will not annex it.
This comment was minimized by the moderator on the site
If your spreadsheet is small (or you are desperate enough), the best way I've found is to select one column at a time and scroll all the way down to the bottom. Any merged cells will be obvious, because the entire merged cell is highlighted. You can then fix each one, one by one. But you risk wasting a lot of time doing this, since Excel continues to merge cells "behind your back" whenever it feels like doing so.* Therefore, cells you have just unmerged (or others which hadn't been merged before) may become merged while you believe you are finishing the unmerging process. I tried to find a way to completely disable the merging of cells but haven't found it. Better, of course, would be some way to keep Excel from engaging in this psychopathic behavior! *Yesterday, desperate, I did try to unmerge cells in a not-so-large spreadsheet (22 columns and fewer than 1,000 rows). Each time I thought I had finished and tried to sort, I got that same message. So then I tried another way to identify where the merged cells were—selecting a screenful of rows at a time and trying the sort on just those rows. Each time I got the message, I would try half the screenful at a time (etc.) until I identified the row(s) with merged cells. By going through the entire spreadsheet until each screenful had been successfully sorted, I figured the entire sort should work. But, NOT. Excel had been gleefully merging cells I had just unmerged. Please, someone, post a solution!
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