• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Merge multiple cell into one

Pinang

Member
Hi,

I want to merge my result from multiple cell using CONCATENATE formula. Can anyone help me to create formula.

Refer attached file for more details.
 

Attachments

  • Book1.xlsx
    8.6 KB · Views: 8
Hi Pinang...

Check if this helps....actually concat doesnt work on a range...so had to use helper columns...check the ones highlighted in blue..
 

Attachments

  • concat.xlsx
    10.9 KB · Views: 10
Hi @Pinang (@Asheesh and @Lymm)

I have written some code for you. This code works too if the PS Number is duplicated, writing only one. Click in orange arrow (Worksheet "Res"). Blessings!
 

Attachments

  • Book1.xlsm
    19.1 KB · Views: 3
Hi Pinang...

Check if this helps....actually concat doesnt work on a range...so had to use helper columns...check the ones highlighted in blue..

Hi,

Very nice formula Asheesh!

Just replace Trim with substitute function to get the commas as well.
example:
=IF($E10="","",SUBSTITUTE("("&G10&" PS No "&I10&", "&J10&", "&K10&", "&L10&", "&M10&", "&N10&", "&O10&", "&P10&")",", , ",""))

Regards
Prasads DN
 
Back
Top