SOLVED

Filter with line merged

Copper Contributor

Hello,

 

Under Excel, I would like to filter a table where some lines are merged.

The lines are merged by two lines for the first three columns.

When I have filter one of the first three columns, Excel show only the first line of the merged line, why ?

8 Replies
A pre-prepared template would be an advantage
... however try this formula
=A2&","&B2&","&C3&","&D4

Nikolino
I know I don't know anything (Socrates)

@LE_TOULLEC , this is normal Excel behavior. If cells A2 and A3 are merged, only cell A2 will have the value. You can test this by typing =A2 in B3 and =A3 in B3. 

 

IMHO, merged cells are nothing but trouble. I'd recommend removing them and repeating the items.

A demo file would help you solve the problem faster.

Hello@NikolinoDE 

You can find in attachment file a example.

When I filter by name, I would like to show two lines.

@LE_TOULLEC 

Voici quelques petits exemples et un lien de Microsoft.
Si cela correspond à vos idées en tant que solution, veuillez la marquer comme la bonne réponse, afin que les autres informés puissent être informés ... mieux avec un like. Si vous n’avez pas aimé la solution proposée, veuillez donner un bref commentaire.

Combiner le texte de deux cellules ou plus en une cellule

https://support.microsoft.com/fr-fr/office/combiner-le-texte-de-deux-cellules-ou-plus-en-une-cellule...

 

Ps. Les cellules fusionnées ne peuvent pas être traitées comme des cellules uniques.

 

Nikolino
Je sais que je ne sais rien (Socrate)

 

 

best response confirmed by LE_TOULLEC (Copper Contributor)
Solution

@LE_TOULLEC 

The technique could be

- copy / paste column you'd like to filter into another one

image.png

- unmerge Name column, on ribbon Home -> Find and Select -> Go to Special -> select Blanks

image.png

- type =B4

image.png

and Ctrl+Enter

image.png

- select column where you copy Names, Format Painter

image.png

and apply it to Name column

image.png

Now you may filter on Name

image.png

WonderFull

@LE_TOULLEC 

Glad to help. I believe such approach is described in few posts, you may google for them to check more step-by-step details

1 best response

Accepted Solutions
best response confirmed by LE_TOULLEC (Copper Contributor)
Solution

@LE_TOULLEC 

The technique could be

- copy / paste column you'd like to filter into another one

image.png

- unmerge Name column, on ribbon Home -> Find and Select -> Go to Special -> select Blanks

image.png

- type =B4

image.png

and Ctrl+Enter

image.png

- select column where you copy Names, Format Painter

image.png

and apply it to Name column

image.png

Now you may filter on Name

image.png

View solution in original post