List up cells problem

ManuW

New Member
Joined
Jan 20, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello there,
Forum newbie here... In fact pretty much an excel newbie as well.I have a problem.
My excel sheet has data like this:
AB
1aaa
2bbb
3aab
4bbb
5aaa
Now I want a formula that gives me all the values of column B that are in the same row like a and b: e.g something like that
ABCDE
1aaaabaa
2bbbbb
3
And now I´ll come to the tricky part..
I also want a formula that checks if all the outputs contain the same text.
In my example it would check if B1:D1 contain the same text and therefore would say: "FALSE" because C1 contains "ab" instead of "aa"
But the same formula should check B2:D2 (don´t regarding empty cells) and should give me a "TRUE" because B2 and C2 contain the same text "bb"
ABCDE
1aaaabaaFALSE
2bbbbbTRUE
3

I hope I have made it clear and you can help me.
Thank you very much!
Greeting Manú
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi & welcome to MrExcel.
How about
+Fluff v2.xlsm
ABCDEFGH
1AB
2aaaaaaabaaFALSE
3bbbbbbbbTRUE
4aab
5bbb
6aaa
7
Master
Cell Formulas
RangeFormula
C2:C3C2=UNIQUE(FILTER(A2:A10,A2:A10<>""))
D2:F2,D3:E3D2=TRANSPOSE(FILTER(B2:B10,A2:A10=C2))
H2:H3H2=COUNTIF(D2#,D2)=COUNTA(D2#)
Dynamic array formulas.
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
+Fluff v2.xlsm
ABCDEFGH
1AB
2aaaaaaabaaFALSE
3bbbbbbbbTRUE
4aab
5bbb
6aaa
7
Master
Cell Formulas
RangeFormula
C2:C3C2=UNIQUE(FILTER(A2:A10,A2:A10<>""))
D2:F2,D3:E3D2=TRANSPOSE(FILTER(B2:B10,A2:A10=C2))
H2:H3H2=COUNTIF(D2#,D2)=COUNTA(D2#)
Dynamic array formulas.
Hey Fluff,

thank you for your fast reply!
You helped me a lot!
Is it possible that I will get only the unique cells?

ABC
1aaaab
2bbb
instead of
ABCD
1aaaabaa
2bbbbb
In fact I want to delete duplicates!
I tried to use the data tool "remove duplicates" but I think it will only work on rows and not on my columns..
My third step, checking if the rows are containing the same text wouldnt be necessary if i would only get the unique cell texts.

Again: thank you very much for your help!
Greetings Manú
 
Upvote 0
How about
Excel Formula:
=TRANSPOSE(UNIQUE(FILTER(B2:B10,A2:A10=C2)))
 
Upvote 0
Perfect!
I could have thought of that too! Again thank you :)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,242
Members
448,951
Latest member
jennlynn

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top