Μετάβαση στο κύριο περιεχόμενο

Πώς να αναγνωρίσετε και να επιλέξετε όλα τα συγχωνευμένα κελιά στο Excel;

Γνωρίζετε πώς να βρείτε και να επιλέξετε όλα τα συγχωνευμένα κελιά στο Excel; Ακολουθούν τρεις δροσεροί δύσκολοι τρόποι για να προσδιορίσετε και να επιλέξετε γρήγορα όλα τα συγχωνευμένα κελιά σε μια επιλογή ή περιοχή στο Excel.

doc επιλέξτε συγχωνευμένα κελιά 4

Προσδιορίστε και επιλέξτε όλα τα συγχωνευμένα κελιά με εντολή Εύρεση

Επιλέξτε γρήγορα και μετρήστε όλα τα συγχωνευμένα κελιά με το Kutools για Excel

Προσδιορίστε όλα τα συγχωνευμένα κελιά με τον κώδικα VBA


Προσδιορίστε και επιλέξτε όλα τα συγχωνευμένα κελιά με εντολή Εύρεση

Μπορείτε να αναγνωρίσετε και να επιλέξετε όλα τα συγχωνευμένα κελιά στο ενεργό φύλλο εργασίας έως Εύρεση εντολή με τα ακόλουθα βήματα:

1. Κάντε κλικ στο Αρχική > Εύρεση & Επιλογή > Εύρεση για να ανοίξετε το Εύρεση και αντικατάσταση κουτί διαλόγου. Μπορείτε επίσης να ανοίξετε το Εύρεση και αντικατάσταση πλαίσιο διαλόγου με το πάτημα του Ctrl + F κλειδιά.

2. Κάντε κλικ στο Μορφή κουμπί στο πλαίσιο διαλόγου, (Εάν δεν μπορείτε να μάθετε το Μορφή κουμπί, κάντε κλικ στο Επιλογές για να αναπτύξετε το παράθυρο διαλόγου.) δείτε το στιγμιότυπο οθόνης:

doc επιλέξτε συγχωνευμένα κελιά 1

3. Στο αναδυόμενο Εύρεση μορφής πλαίσιο διαλόγου, επιλέξτε μόνο το Συγχώνευση κελιών επιλογή του Έλεγχος κειμένου κάτω από το τμήμα ευθυγραμμία καρτέλα και κάντε κλικ στο κουμπί OK.

doc επιλέξτε συγχωνευμένα κελιά 2

4. Τώρα επιστρέφετε στο Εύρεση και αντικατάσταση , κάντε κλικ στην επιλογή Βρείτε όλα κουμπί. Όλα τα συγχωνευμένα κελιά παρατίθενται στο κάτω μέρος αυτού του παραθύρου διαλόγου. Επιλέξτε όλα τα αποτελέσματα εύρεσης κρατώντας πατημένο το αλλαγή κλειδί.

Τώρα όλα τα συγχωνευμένα κελιά στο ενεργό φύλλο επιλέγονται όταν επιλέγετε όλα τα αποτελέσματα εύρεσης. Δείτε το στιγμιότυπο οθόνης:

doc επιλέξτε συγχωνευμένα κελιά 3

Συμβουλές: Εάν θέλετε να αναγνωρίσετε, να βρείτε και να επιλέξετε συγχωνευμένα κελιά μόνο σε μια επιλογή, πρέπει πρώτα να επιλέξετε το εύρος.


Επιλέξτε και μετρήστε όλα τα συγχωνευμένα κελιά με το Kutools για Excel

Kutools για Excel's Επιλέξτε Συγχωνευμένα κελιά Το εργαλείο θα σας βοηθήσει να εντοπίσετε, να βρείτε και να επιλέξετε όλα τα συγχωνευμένα κελιά σε μια επιλογή με ένα μόνο κλικ.

Kutools για Excel : με περισσότερα από 300 εύχρηστα πρόσθετα Excel, δωρεάν δοκιμή χωρίς περιορισμό σε 30 ημέρες. 

Μετά την εγκατάσταση Kutools για Excel, κάντε τα εξής :( Δωρεάν λήψη του Kutools για Excel τώρα! )

1. Επιλέξτε το εύρος δεδομένων που θέλετε να επιλέξετε τα συγχωνευμένα κελιά.

2. Κλίκ Kutools > Αγορά > Επιλέξτε Συγχωνευμένα κελιά, δείτε το στιγμιότυπο οθόνης:

3. Και όλα τα συγχωνευμένα κελιά στην επιλογή έχουν επιλεγεί ταυτόχρονα και μετράται επίσης ο αριθμός των συγχωνευμένων κελιών, δείτε το στιγμιότυπο οθόνης:

doc επιλέξτε συγχωνευμένα κελιά 7

Άκρο: Για να χρησιμοποιήσετε αυτήν τη δυνατότητα, θα πρέπει να εγκαταστήσετε Kutools για Excel πρώτα, παρακαλώ κάντε κλικ για λήψη και έχετε μια δωρεάν δοκιμή 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 κλειδί για την εκτέλεση αυτής της μακροεντολής. Όλα τα συγχωνευμένα κελιά στο ενεργό φύλλο εργασίας αναγνωρίζονται και επισημαίνονται, δείτε το στιγμιότυπο οθόνης:

doc επιλέξτε συγχωνευμένα κελιά 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 κλειδί για την εκτέλεση αυτής της μακροεντολής, όλα τα συγχωνευμένα κελιά παρατίθενται σε ένα αναδυόμενο παράθυρο διαλόγου. Δείτε το στιγμιότυπο οθόνης:

doc επιλέξτε συγχωνευμένα κελιά 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