Concatenate

Rabbit1980

New Member
Joined
Feb 23, 2011
Messages
8
Hi.

If its possible to use Concatenate function for a 2000 columns with values?? Or another function?

I need to join numbers from more than 1000 columns to one cell with symbol ";".

I use this function =A1&" ; "&A2 but this is very slow to set up all the values.

I use MR Excel 2003

Than you
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Can you please clarify something...
You mentioned that you have 1000 columns of information, but Excel 2003 only has 256 columns.

Perhaps if you posted a small example of your data and the results you want to see based on that data, we'll have a better understanding of what you're working with.
 
Upvote 0
Would a custom function be acceptable?

Right-click your worksheet tab and select View Code, then insert a new module (Insert > Module) and paste this code into it:-
Code:
Public Function ConCatRange(aRange As Range) As String
 
  Dim oCell As Range

  For Each oCell In aRange
    ConCatRange = ConCatRange & ";" & oCell.Value
  Next oCell

  ConCatRange = Mid(ConCatRange, 2)
    
End Function
Now you have a function which you can use like any other range function:-
Code:
=concatrange(a1:a99)
 
Upvote 0
Can you please clarify something...
You mentioned that you have 1000 columns of information, but Excel 2003 only has 256 columns.

Perhaps if you posted a small example of your data and the results you want to see based on that data, we'll have a better understanding of what you're working with.


Oh, I mean rows and one column.

Sorry
 
Upvote 0

Forum statistics

Threads
1,214,782
Messages
6,121,532
Members
449,037
Latest member
tmmotairi

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