Hi everyone!
I'm trying to concatenate an entire column with a certain character between each cell.
I've found a few options related to VB script, but I'm not too good with that so I was wondering if there was an alternative?
Thanks in advance!
Hi everyone!
I'm trying to concatenate an entire column with a certain character between each cell.
I've found a few options related to VB script, but I'm not too good with that so I was wondering if there was an alternative?
Thanks in advance!
Maybe something like this?
c1And drag down.Please Login or Register to view this content.
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
Sure, providing your list isn't too long, you could use a formula. If your list starts in A1, then in B1, enter:
=A1
Then, in B2, enter: =B1&", "&A2
Then fill that down. To change the separator, replace the comma with whatever you want.
Once you get to the bottom of the list in column A, it will have concatenated the column, with separators.
- Moo
Hi db9429
What do you mean by concatenating a entire column! If you wanted to concatenate A1 to B1 with Characters in between.
=A1&CHAR(65)&CHAR(66)&B1
And copy down!
Regards Kevin
Merged Cells (They are the work of the devil!!!)
Hi everyone, thanks for your replies.
What I actually mean (I don't think I did a good job of explaining it) is I've got a list from B1 to B100, each with a different value.
So instead of it looking like this:
B1Contents
B2Contents
B3Contents
B4Contents
etc
B100Contents
I need it to concatenate each value so it looks like this: B1Contents,B2Contents,B3Contents,B4Contents,B5Contents etc
So it would be quite a lot in one cell!
Maybe I do need to use VBScript?
Just to clarify, the technique that has been suggested concatenates only 2 cells. So my list is in B1 to B100
in C2 I've done =B1&", "&B2 and dragged down and I'm getting:
B1Contents, B2Contents
B2Contents, B3Contents
B3Contents, B4Contents
etc
Thanks
Just to clarify, the technique that has been suggested concatenates only 2 cells. So my list is in B1 to B100
in C2 I've done =B1&", "&B2 and dragged down and I'm getting:
B1Contents, B2Contents
B2Contents, B3Contents
B3Contents, B4Contents
etc
Thanks
actually, you should be using , In C1: =B1, in C2 :=C1&" , "&B2 dragged down..
Hope this helps
A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
-Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
-To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
If you received helpful response, please remember to hit the * of that post
dredwolf - that was it! all working now.
Thank you all so much!
You are welcome
Moo's formula was right, you just forgot to adjust for moving it over a column
This UDF might be of some interest
It concatinates any given range with the sepatator of your choice, omitting blank cells.
See H22
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks