Hi all
I need this Expected result
Thanks
8.jpg
Hi all
I need this Expected result
Thanks
8.jpg
Last edited by Yaghoub61; 10-02-2022 at 07:34 AM.
Notice:
my main language is not English
Still using Excel 2010?
What is the MAXIMUM number of values that will need to be concatenated?
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Administrative Note:
DO THIS NOW, PLEASE!
Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
EDIT
answers while i was creating spreadsheet
ignore
are you still using version 2010 excel
textjoin is a later version function
=TEXTJOIN("-", TRUE, IF(A2=$A$2:$A$12,$B$2:$B$12, ""))
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
For MS365:
=TEXTJOIN("-",,FILTER($B$2:$B$7,$A$2:$A$7=A2))
with Power Query (XL2010 require Power Query add-in)
grp.pngPlease Login or Register to view this content.
Last edited by sandy666; 10-02-2022 at 07:39 AM.
For ealier versions:
Formula:Please Login or Register to view this content.
=concatall(IF($A$2:$A$7=A2,$B$2:$B$7,""),"-")
The formulae are enclosed within a pair of { }, these are array formulae.
These are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see the curly brackets { } appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
PowerQueryPlease Login or Register to view this content.
Thanks for the rep.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks