Note: The other languages of the website are Google-translated. Back to English
Logáil isteach  \/ 
x
or
x
Cláraigh  \/ 
x

or

Conas gach cealla cumaiscthe in Excel a aithint agus a roghnú?

An bhfuil a fhios agat conas gach cealla cumaiscthe in Excel a aimsiú agus a roghnú? Seo na bealaí casta fánacha chun na cealla cumaisc go léir a shainaithint agus a roghnú i roghnú nó i raon i Microsoft Excel 2007 agus 2010 go tapa.

Sainaithin agus roghnaigh gach cealla cumaiscthe le Aimsigh ordú

Sainaithin gach cealla cumaiscthe le cód VBA

Roghnaigh agus comhaireamh gach cealla cumaiscthe le Kutools le haghaidh Excel


mboilgeog cheart gorm saigheadSainaithin agus roghnaigh gach cealla cumaiscthe le Aimsigh ordú

Is féidir leat na cealla cumaisc go léir a shainaithint agus a roghnú i mbileog oibre gníomhach le Aimsigh ordú leis na céimeanna seo a leanas:

1. Cliceáil ar an Baile > Faigh & Roghnaigh > Aimsigh a oscailt Aimsigh agus Ionadaigh bosca dialóige. Is féidir leat an Aimsigh agus Ionadaigh bosca dialóige le brú ar an Ctrl + F eochracha.

2. Cliceáil ar an déanta cnaipe sa bhosca dialóige, (Mura féidir leat an déanta cnaipe, cliceáil le do thoil ar an Roghanna cnaipe chun an dialóg a leathnú.) féach an scáileán:

roghnaigh doc cealla cumaiscthe 1

3. Sa popping suas Faigh Formáid bosca dialóige, ach seiceáil an Cumaisc Cealla rogha sa Rialú téacs alt faoi Ailíniú cluaisín, agus cliceáil OK.

roghnaigh doc cealla cumaiscthe 2

4. Anois téann tú ar ais chuig an Aimsigh agus Ionadaigh dialóg, cliceáil Faigh Gach cnaipe. Tá na cealla cumaisc uile liostaithe ag bun an bhosca dialóige seo. Roghnaigh na torthaí aimsithe go léir agus coinnigh síos an Shift eochair.

Anois roghnaítear gach cealla cumaiscthe i mbileog ghníomhach nuair a roghnaíonn tú na torthaí aimsithe go léir. Féach an pictiúr:

roghnaigh doc cealla cumaiscthe 3

Leid: Mura dteastaíonn uait ach cealla cumaiscthe a aithint, a aimsiú agus a roghnú i rogha, ní mór duit an raon a roghnú ar dtús.


mboilgeog cheart gorm saigheadSainaithin gach cealla cumaiscthe le cód VBA

VBA 1: Gach cealla cumaiscthe a shainaithint agus aird a tharraingt orthu

1. Coinnigh síos an ALT + F11 eochracha, agus osclaíonn sé an Microsoft Visual Basic d’Fheidhmchláir fhuinneog.

2. Cliceáil Ionsáigh > Modúil, agus greamaigh an macra seo a leanas sa Modúil Fuinneog.

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. Brúigh an F5 eochair chun an macra seo a rith. Déantar gach cealla cumaiscthe sa bhileog oibre gníomhach a shainaithint agus a aibhsiú, féach an scáileán:

roghnaigh doc cealla cumaiscthe 4

VBA 2: Gach cealla cumaiscthe a shainaithint agus a liostáil

1. Coinnigh síos an ALT + F11 eochracha, agus osclaíonn sé an Microsoft Visual Basic d’Fheidhmchláir fhuinneog.

2. Cliceáil IonsáighModúil, agus greamaigh an macra seo a leanas sa Modúil Fuinneog.

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. Brúigh an F5 eochair chun an macra seo a rith, liostaítear na cealla cumaisc go léir i mbosca dialóige aníos. Féach an pictiúr:

roghnaigh doc cealla cumaiscthe 5


mboilgeog cheart gorm saighead Roghnaigh agus comhaireamh gach cealla cumaiscthe le Kutools le haghaidh Excel

Kutools le haghaidh Excel's Roghnaigh Cealla Cumaisc cuideoidh uirlis leat na cealla cumaisc go léir a shainaithint, a aimsiú agus a roghnú i rogha gan ach cliceáil amháin.

Kutools le haghaidh Excel : le níos mó ná 300 breiseán áisiúil Excel, saor in aisce le triail gan aon teorannú i 30 lá. 

Tar éis a shuiteáil Kutools le haghaidh Excel, déan mar a leanas le do thoil :( Íoslódáil saor in aisce Kutools le haghaidh Excel Anois! )

1. Roghnaigh an raon sonraí a theastaíonn uait na cealla cumaiscthe a roghnú.

2. Cliceáil Kutools > Roghnaigh > Roghnaigh Cealla Cumaisc, féach ar an scáileán:

3. Agus roghnaíodh na cealla cumaisc uile sa roghnú ag an am céanna, agus déantar líon na gcealla cumaiscthe a chomhaireamh freisin, féach an scáileán:

roghnaigh doc cealla cumaiscthe 7

Íoslódáil saor in aisce Kutools le haghaidh Excel Anois!


Na hUirlisí Táirgiúlachta Oifige is Fearr

Réitíonn Kutools for Excel an chuid is mó de do chuid Fadhbanna, agus Méadaíonn sé do Tháirgiúlacht 80%

  • Athúsáid: Cuir isteach go tapa foirmlí casta, cairteacha agus aon rud a d'úsáid tú roimhe seo; Cealla a Chriptiú le pasfhocal; Cruthaigh Liosta Ríomhphoist agus seol ríomhphoist ...
  • Barra Foirmle Super (cuir línte iolracha téacs agus foirmle in eagar go héasca); Leagan Amach Léitheoireachta (líon mór cealla a léamh agus a chur in eagar go héasca); Greamaigh go dtí an Raon Scagtha...
  • Cumaisc Cealla / Sraitheanna / Colúin gan Sonraí a chailleadh; Ábhar Cealla Scoilt; Comhcheangail Sraitheanna / Colúin Dúblacha... Cill Dúblach a Chosc; Déan comparáid idir Ranganna...
  • Roghnaigh Dúblach nó Uathúil Sraitheanna; Roghnaigh Blank Rows (tá na cealla uile folamh); Aimsigh Super agus Fuzzy Aimsigh i go leor Leabhar Oibre; Roghnaigh go randamach ...
  • Cóip Díreach Cealla Il gan tagairt fhoirmle a athrú; Tagairtí Cruthaigh Auto chuig Bileoga Il; Cuir Urchair isteach, Boscaí Seiceála agus go leor eile ...
  • Sliocht Téacs, Cuir Téacs leis, Bain de réir Poist, Bain Spás; Subtotals Paging a chruthú agus a phriontáil; Tiontaigh Idir Ábhar Cealla agus Tráchtanna...
  • Scagaire Super (scéimeanna scagaire a shábháil agus a chur i bhfeidhm ar bhileoga eile); Ard-Sórtáil de réir míosa / seachtaine / lae, minicíocht agus níos mó; Scagaire Speisialta le cló trom, iodálach ...
  • Comhcheangail Leabhair Oibre agus Bileoga Oibre; Cumaisc Táblaí bunaithe ar eochaircholúin; Roinn Sonraí i Ilbhileoga; Baisc Tiontaigh xls, xlsx agus PDF...
  • Níos mó ná 300 gné chumhachtach. Tacaíochtaí Office / Excel 2007-2019 agus 365. Tacaíonn sé le gach teanga. Imscaradh éasca i d’fhiontar nó d’eagraíocht. Gnéithe iomlána triail saor in aisce 30 lá. Ráthaíocht ar ais airgid 60 lá.
cluaisín kte 201905

Tugann Tab Oifige comhéadan Tabbed chuig Office, agus Déan Do Obair i bhfad Níos Éasca

  • Cumasaigh eagarthóireacht agus léamh tabbed i Word, Excel, PowerPoint, Foilsitheoir, Rochtain, Visio agus Tionscadal.
  • Oscail agus cruthaigh cáipéisí iolracha i gcluaisíní nua den fhuinneog chéanna, seachas i bhfuinneoga nua.
  • Méadaíonn do tháirgiúlacht 50%, agus laghdaíonn sé na céadta cad a tharlaíonn nuair luch duit gach lá!
bun officetab
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Natalia · 6 years ago
    Is it possible to identify the first and the last column number of the merged range in vba?
  • To post as a guest, your comment is unpublished.
    Ivor Shaer · 6 years ago
    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...........
  • To post as a guest, your comment is unpublished.
    Senthooran · 6 years ago
    well done You are a star...
    Thanks :-)
  • To post as a guest, your comment is unpublished.
    srinivasan · 6 years ago
    Very Nice thanks a lot
  • To post as a guest, your comment is unpublished.
    JEAN · 6 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Chamundi · 6 years ago
    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.
  • To post as a guest, your comment is unpublished.
    pavithraravindar · 6 years ago
    thank u this help me to find merged cell in my excel
  • To post as a guest, your comment is unpublished.
    Chamundi · 7 years ago
    ... 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???
  • To post as a guest, your comment is unpublished.
    Chamundi · 7 years ago
    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.
  • To post as a guest, your comment is unpublished.
    Chamundi · 7 years ago
    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!
  • To post as a guest, your comment is unpublished.
    Roy · 7 years ago
    This is an incredibly complex process that is way over my head for Excel. All I am looking to do is find out which cells are merged so I can do a sort. I received a message that said merged cells need to be the same size before I can sort and I don't know which ones are merged.
  • To post as a guest, your comment is unpublished.
    Chamundi Sabanathan · 7 years ago
    I have Excel 12.3.6 for Mac and it frequently takes it upon itself to merge cells. Then I cannot sort without identifying and unmerging each merged cell. In a large spreadsheet this is impractical. Should be able to use the "Merge" button in the Toolbox to unmerge all cells in a selected range, rather than just one at a time! Anyone else have this problem? or even better, a solution?