Astuce: Les autres langues sont Google-Traduction. Vous pouvez visiter le English version de ce lien.
Se connecter
x
or
x
x
S'ENREGISTRER
x

or

Comment filtrer toutes les données connexes des cellules fusionnées dans Excel?

filtre de document fusionné cellule 1

Supposons qu'il existe une colonne de cellules fusionnées dans votre plage de données, et maintenant, vous devez filtrer cette colonne avec des cellules fusionnées pour afficher toutes les lignes associées à chaque cellule fusionnée comme suit les captures d'écran illustrées. En Excel, la fonction Filtrer vous permet de filtrer uniquement le premier élément associé aux cellules fusionnées, dans cet article, je vais parler de la façon de filtrer toutes les données liées à partir de cellules fusionnées dans Excel?

Filtrer toutes les données connexes des cellules fusionnées dans Excel

Filtrer toutes les données associées des cellules fusionnées dans Excel avec Kutools for Excel


Filtrez rapidement et facilement toutes les données associées d'une cellule fusionnée spécifique

Kutools for Excel's Filtrer les cellules de fusion Cet utilitaire peut vous aider à filtrer toutes les valeurs de cellule relatives de la cellule fusionnée spécifiée aussi rapidement que possible. Cliquez pour télécharger Kutools for Excel!


Filtrer toutes les données connexes des cellules fusionnées dans Excel


Pour résoudre ce travail, vous devez effectuer les opérations suivantes étape par étape.

1. Copiez les données de vos cellules fusionnées dans une autre colonne vide afin de conserver la mise en forme originale des cellules fusionnées.

filtre de document fusionné cellule 2

2. Sélectionnez votre cellule fusionnée d'origine (A2: A15), puis cliquez sur Accueil > Fusionné & Centre pour annuler les cellules fusionnées, voir les captures d'écran:

filtre de document fusionné cellule 3

3. Conservez le statut de sélection de A2: A15, puis accédez à l'onglet Accueil, puis cliquez sur Trouver et sélectionner > Aller à Spécial, Dans le Aller à Spécial boîte de dialogue, sélectionnez Blanks option sous Sélectionner section, voir capture d'écran:

filtre de document fusionné cellule 4

4. Toutes les cellules vides ont été sélectionnées, puis tapez = et appuyez sur Up touche fléchée sur le clavier, puis appuyez sur Ctrl + Entrée touches pour remplir toutes les cellules vides sélectionnées avec la valeur ci-dessus, voir capture d'écran:

filtre de document fusionné cellule 5

Astuces: Si vous avez Kutools for Excel, avec son utilitaire Unmerge Cell, vous pouvez annuler la fusion des cellules fusionnées et copier les valeurs dupliquées en un clic.
doc-filter-cellules fusionnées-14

5. Ensuite, vous devez appliquer la mise en forme de vos cellules fusionnées collées à l'étape 1, sélectionnez les cellules fusionnées E2: E15, puis cliquez sur Accueil > Format Painter, voir capture d'écran:

filtre de document fusionné cellule 6

6. Et puis faites glisser le Format Painter pour remplir de A2 à A15 pour appliquer le formatage fusionné original à cette gamme.

filtre de document fusionné cellule 7

7. Enfin, vous pouvez appliquer le Filtre fonction pour filtrer l'article que vous voulez, s'il vous plaît cliquez Data > Filtreet choisissez vos critères de filtrage, cliquez sur OK pour filtrer les cellules fusionnées avec toutes leurs données connexes, voir capture d'écran:

filtre de document fusionné cellule 8


Filtrer toutes les données associées des cellules fusionnées dans Excel avec Kutools for Excel

Le méhtod ci-dessus peut être un peu difficile pour vous, ici, avec Kutools for Excel's Filtrer les cellules de fusion fonctionnalité, vous pouvez rapidement filtrer toutes les cellules relatives de la cellule fusionnée spécifique.

Kutools for Excel : avec plus de 300 compléments Excel pratiques, libre d'essayer sans limitation dans 60 jours.

Après l'installation de Kutools for Excel, faites comme ceci:

1. Sélectionnez la colonne que vous souhaitez filtrer la cellule fusionnée spécifique, puis cliquez sur Kutools Plus > Filtre spécial > Filtre spécial, voir capture d'écran:

filtre de document fusionné cellule 8

2. Dans le Filtre spécial boîte de dialogue, sélectionnez Format option, puis choisissez Fusionner des cellules dans la liste déroulante, puis entrez la valeur de texte que vous souhaitez filtrer ou cliquez sur filtre de document fusionné cellule 2 pour sélectionner la valeur de cellule dont vous avez besoin, voir capture d'écran:

filtre de document fusionné cellule 8

3. Puis clique Ok Cliquez sur le bouton, et une boîte de dialogue apparaît pour vous rappeler le nombre de cellules correspondant aux critères, voir la capture d'écran:

filtre de document fusionné cellule 8

4. Et puis cliquez OK bouton, toutes les cellules relatives de la cellule fusionnée spécifique ont été filtrées comme indiqué ci-dessous:

filtre de document fusionné cellule 8

Cliquez pour télécharger Kutools pour Excel et essai gratuit maintenant!


Demo: Filtrer toutes les données associées des cellules fusionnées dans Excel

Kutools for Excel: avec plus que 200 compléments Excel pratiques, libre d'essayer sans limitation dans les jours 60. Téléchargez et essai gratuit maintenant!


Kutools for Excel résout la plupart de vos problèmes et augmente votre productivité de 80%

  • Réutilisation: Insérer rapidement formules complexes, graphiques et tout ce que vous avez utilisé auparavant; Crypter les cellules avec mot de passe Créer une liste de diffusion et envoyer des emails ...
  • Super Formula Bar (éditez facilement plusieurs lignes de texte et de formule); Disposition de lecture (facilement lire et éditer un grand nombre de cellules); Coller à la gamme filtrée...
  • Fusionner les cellules / rangées / colonnes sans perdre de données; Contenu des cellules divisées; Combiner les lignes / colonnes en double... Prévenir les cellules en double; Comparer les plages...
  • Sélectionnez Dupliquer ou Unique Des rangées; Sélectionnez les lignes vierges (toutes les cellules sont vides); Super Find et Fuzzy Find dans de nombreux cahiers d'exercices; Sélection aléatoire ...
  • Copie exacte Plusieurs cellules sans changer la référence de la formule; Créer automatiquement des références à plusieurs feuilles; Insérer des balles, Cases à cocher et plus ...
  • Extrait du texte, Ajouter du texte, Supprimer par position, Supprimer l'espace; Créer et imprimer des sous-totaux de pagination; Conversion entre contenu de cellules et commentaires...
  • Super filtre (enregistrer et appliquer des schémas de filtrage à d'autres feuilles); Tri avancé par mois / semaine / jour, fréquence et plus; Filtre spécial en gras, en italique ...
  • Combinaison de classeurs et de feuilles de calcul; Fusionner les tables en fonction des colonnes clés; Fractionner les données en plusieurs feuilles; Conversion par lots xls, xlsx et PDF...
  • Plus que de puissantes fonctionnalités 300. Prend en charge Office / Excel 2007-2019 et 365. Prend en charge toutes les langues. Déploiement facile dans votre entreprise ou organisation. Fonctionnalités complètes Essai gratuit du jour 30.
kte tab 201905

Office Tab apporte une interface à onglets à Office et simplifie grandement votre travail

  • Activer l'édition par onglets et la lecture dans Word, Excel, PowerPoint, Publisher, Access, Visio et Project.
  • Ouvrez et créez plusieurs documents dans de nouveaux onglets de la même fenêtre, plutôt que dans de nouvelles fenêtres.
  • Augmente votre productivité de 50% et réduit le nombre de clics de souris pour vous chaque jour!
fond officetab
Say something here...
symbols left.
You are guest ( Sign Up? )
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.
    Jean · 2 months ago
    Muchas gracias, excelente aporte
  • To post as a guest, your comment is unpublished.
    Heisenbeerg · 5 months ago
    Nice solution
  • To post as a guest, your comment is unpublished.
    Kans · 10 months ago
    In the above example, if I filter as ORDER < 300 (column B), the border after each PRODUCT (column A) is lost.. How can it be achieved..?
  • To post as a guest, your comment is unpublished.
    Vish · 1 years ago
    Thanks a ton! This was exactly the issue that i had and was able to solve because of your explanation.
  • To post as a guest, your comment is unpublished.
    Tobi · 1 years ago
    What if your data has empty merged cells? Something like:

    |Column A | Column B|
    | Data 1 | bla |
    | | blubb |
    ------------------------------
    | Data 3 | bla bla |
    | | blubb blubb |
    ------------------------------
    | Data 5 | |
    | | |
    ------------------------------
    | Data 7 | bla blubb |


    How can you solve this?
  • To post as a guest, your comment is unpublished.
    krunal · 1 years ago
    thank you so much
  • To post as a guest, your comment is unpublished.
    Bingo · 1 years ago
    you're a hero
  • To post as a guest, your comment is unpublished.
    riyaz · 1 years ago
    Thank you so Much
  • To post as a guest, your comment is unpublished.
    geemoney · 1 years ago
    Thank you for tutorial. I am using this for a dashboard template, however when you add a new row you loose the ability to filter correctly? Is there a workaround for this? Something simple that someone with little excel knowledge can do?


    thanks
  • To post as a guest, your comment is unpublished.
    Kishore · 2 years ago
    Great.......
  • To post as a guest, your comment is unpublished.
    sri · 2 years ago
    Great Help. Thank u so much... :)
  • To post as a guest, your comment is unpublished.
    Marco Talin · 2 years ago
    For those wondering why this works, it's because the merge button in excel executes the "Merge" command, which inherently involves deleting data in other cells. Using Format Painter just applies the merged format.

    To put it in simple terms, think of it as the merge button on the Excel Ribbon doing two things:
    1) Merge cells
    2) Delete excess data

    By using the Format Painter, you're just doing step one of that process without doing step two. You achieve the same results if you "Paste Special-Formats Only". Also, since the "sub cells" refer back to the first cell for their value, they will all get changed when you change the value of the cell, since changing the value of a merged group of cells only changes the top-left cell in the group.

    I still have yet to find a quick way of doing this without VBA shenanigans. I really wish Microsoft included a merge option that didn't erase the other values. They give you the warning up front that they'll delete your data. You think it wouldn't be too much trouble to add an option to change that (at least, as of v2013).
  • To post as a guest, your comment is unpublished.
    Nicola · 2 years ago
    HELP!!

    I have made a spread sheet, row A contains merged cells then the next 3 rows contain the week day, the date and 2 columns with other data so there are 14 columns below the merged cells in the first row. I am trying to add a filter to the top row so that all information that will be entered into the 7 columns below will be included in the drop down filter menu as just now it just includes the information in the first column.

    I would appreciate any help with this!!

    Thank you!!
  • To post as a guest, your comment is unpublished.
    ying · 2 years ago
    this help me a lot!thanks
  • To post as a guest, your comment is unpublished.
    HOOOOOOMAN · 2 years ago
    That 's great
    You solved all my problem.
  • To post as a guest, your comment is unpublished.
    Bill Gates · 2 years ago
    This is an elegant solution. Many thanks.
  • To post as a guest, your comment is unpublished.
    Virginie · 3 years ago
    Hi,

    Is it possible to paste this conditional format to new entries?
    I've applied your method in my file, but each time I create other raws with merged cells, the format does not get pasted...
  • To post as a guest, your comment is unpublished.
    Matvey · 3 years ago
    2 simple words:

    THANK YOU!
  • To post as a guest, your comment is unpublished.
    Bharghav · 3 years ago
    Nice Tip.

    Thanks a Ton....!
  • To post as a guest, your comment is unpublished.
    jafir khan Niazi · 3 years ago
    I've have merged rows in my data at the top and at the bottom . I want to sort my data from largest to smallest without unmerging my top and bottom rows because these merged rows have no data instead they are just headings and at the bottom they are total rows
  • To post as a guest, your comment is unpublished.
    Anita Rajan · 3 years ago
    This was very helpful. The detailed diagrammatic exampled assisted a lot. Good job
  • To post as a guest, your comment is unpublished.
    Paul · 3 years ago
    Very good and useful explanation. Thank you for the effort.
  • To post as a guest, your comment is unpublished.
    Srinu · 3 years ago
    very helpful to me thanks for saving my time, it really very helpful to learn easily once again thanks.
  • To post as a guest, your comment is unpublished.
    michael · 3 years ago
    It works, but for some reason in big files, when I use the filter, the whole file freezes up. does anyone know why?
  • To post as a guest, your comment is unpublished.
    Raghu · 3 years ago
    Awesome explanation.
    Work perfectly. Thank you so much
  • To post as a guest, your comment is unpublished.
    raveendran · 4 years ago
    first its good example.
    But if we add new value again we have to do same work
    • To post as a guest, your comment is unpublished.
      Jorge Sabori · 3 years ago
      [quote name="raveendran"]first its good example.
      But if we add new value again we have to do same work[/quote]
      Do you have any better solution?
  • To post as a guest, your comment is unpublished.
    Jorge Sabori · 4 years ago
    Awesome! Thanks a bunch! Even when i had to read other posts simultaneously since i'm on Mac, still this was the key to everything. If i had a million dollars i'd share half with you :P !
  • To post as a guest, your comment is unpublished.
    ANYAHAN23 · 4 years ago
    Amazinggg .. been looking for this tutorial! :)

    KUDOS!
  • To post as a guest, your comment is unpublished.
    Tengku · 4 years ago
    Work perfectly. Thank you so much
  • To post as a guest, your comment is unpublished.
    Saravanan Elumalai · 4 years ago
    How to filter all related data from merged cells in Excel? Firstly Thanks!!! this worked perfectly. the steps are very clear and resolved my problem. But do we have any macros for this because the sheet i'm working is continuously updated by my team so i need to do this procedure every day or whenever who pulls this report, So i need macro for this. can anyone help. Thank you very much.
  • To post as a guest, your comment is unpublished.
    Abdul · 4 years ago
    Wah...Excellent Solution Thanks :)
  • To post as a guest, your comment is unpublished.
    IT · 4 years ago
    thanks for this tutorial:)
  • To post as a guest, your comment is unpublished.
    Paul H · 4 years ago
    First of all, many thanks for this. This is the perfect solution to an irritating problem, and the only real answer to this question I have seen anywhere.

    I am curious, though, about if there is any other way to achieve the same final result without using the format painter. It seems very odd to me (almost like an unintended error on Microsoft's part) that the format painter would lead to a different final result than can be achieved through ribbon buttons/menus/etc. I always thought the format painter was a convenient shortcut, but I had never previously seen it lead a to a result that can't be achieved any other way.

    I experimented with this quite a bit, and I noticed that when the above procedure is used, the individual cells retain their values after the merge is applied via the format painter. Actually, this is true even if the cell values were different (which can be dangerous because it could lead one to believe they are referencing the visible value in the merged cell, when in fact the underlying value can be different).

    Without the format painter, merging cells causes all but the top left cell values to be replaced with 0.

    I'm glad this little anomaly exists because it will greatly improve the functionality of my spreadsheet, but I would still appreciate it if anyone has more explanation.
  • To post as a guest, your comment is unpublished.
    Andy · 4 years ago
    Doesn't work, when I filter again it only displays one row.
    At least when dealing with multiple columns, with different merge-levels.. And yes I made sure that when unmerging the text still remains in all cells. Frustrating.. had hopes with my precious excel but seems I'll have to rethink the whole thing.
  • To post as a guest, your comment is unpublished.
    ElDiablo · 4 years ago
    First of all, thanks for this awesome solution. It certainly does the trick. But I'm wondering if anyone can explain why the format painter causes the merged cells to keep their underlying value while the regular merge function does not. There seems to be no way to achieve this result without using the format painter, which is odd (I always thought the format painter was only for convenience - anything it does can also be achieved via other means).

    I tried a little experiment as follows:
    -Cells A1 through A4 merged using the "Merge & Center" button. Entered "ABC" as the value.
    -Cells B1 and B2 had "ABC" as the value, but B3 and B4 had "DEF" as the value. Then I applied the format painter from A1:A4 to B1:B4.
    - Entered formulas elsewhere in the sheet that referenced each of the individual cells. Here are the results:
    =A1 displays "ABC"
    =A2 displays 0
    =A3 displays 0
    =A4 displays 0
    =B1 displays "ABC"
    =B2 displays "ABC"
    =B3 displays "DEF"
    =B4 displays "DEF"

    So even though B1:B4 appear merged and only display the value in B1 ("ABC"), Excel is keeping the original individual values for each cell in memory (even if they don't match!). And the only way to achieve seems to be with the format painter. Very odd.

    I would be very grateful if anyone has more thoughts on this.
  • To post as a guest, your comment is unpublished.
    Me · 4 years ago
    Excellent, Thanks Man
  • To post as a guest, your comment is unpublished.
    jaz · 4 years ago
    Excellennt...thank you so much
  • To post as a guest, your comment is unpublished.
    cristina · 4 years ago
    This is genius. Thank you so much for sharing.
  • To post as a guest, your comment is unpublished.
    Kavi · 4 years ago
    Thanks for the help... Great info... :-)
  • To post as a guest, your comment is unpublished.
    Bryan R · 4 years ago
    That's an excellent solution thank you!

    Is there anyway to ensure the information from the merged cell is copied when filtered? I seem to just get a blank cell copied

    any help would be greatly appreciated
  • To post as a guest, your comment is unpublished.
    Jackie · 4 years ago
    This was a HUGE help to me on a big project. This is a great skill I will utilize in the future. Thank you for explaining it so well.
  • To post as a guest, your comment is unpublished.
    Vijay · 5 years ago
    good soultion. thanks....
  • To post as a guest, your comment is unpublished.
    Stevec · 5 years ago
    Brilliant! Such a good clear explanation - saved hours of work-arounds - thank you!
  • To post as a guest, your comment is unpublished.
    Anant · 5 years ago
    Thanks for your help, It really works
  • To post as a guest, your comment is unpublished.
    Rob Smith · 5 years ago
    Brilliant solution. Thanks!
  • To post as a guest, your comment is unpublished.
    Peter · 5 years ago
    Unfortunately every time you will add new row you need to un-merge (un-format), fill out the value for blank cell and them format again. Mankind should move to some more sophisticated tools than excel for reasons like this :)
    • To post as a guest, your comment is unpublished.
      Bala · 3 years ago
      [quote name="Peter"]Unfortunately every time you will add new row you need to un-merge (un-format), fill out the value for blank cell and them format again. Mankind should move to some more sophisticated tools than excel for reasons like this :)[/quote]

      I have the same problem. If any one has an answer please let me know.
  • To post as a guest, your comment is unpublished.
    Belinda · 5 years ago
    Brilliant! Thanks! I thought I'd never get this sorted.
  • To post as a guest, your comment is unpublished.
    Tarek · 5 years ago
    Great job!
    Many thanks
  • To post as a guest, your comment is unpublished.
    AP · 5 years ago
    Works a treat, thanks.
  • To post as a guest, your comment is unpublished.
    ##### · 5 years ago
    Perfect explanation. Thank you!!!