ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Concatenate (https://www.excelbanter.com/excel-discussion-misc-queries/48735-concatenate.html)

Jeff

Concatenate
 
I need to concatenate about 100 cells.

The concatenate function only accepts 25 cells.

Is there any way to concatenate all the cells in a simple formula?

bj

try
= concatinate(GROUP1) &concatinate(GROUP2)&concatinate(Group3) &
concatinate(Group4)

"Jeff" wrote:

I need to concatenate about 100 cells.

The concatenate function only accepts 25 cells.

Is there any way to concatenate all the cells in a simple formula?


Matt Cromer

Jeff -

Try using the & function. I test it out to 38 and it was still going.
eg. =a1&a2&a3.....

Hope this works for you.

"Jeff" wrote:

I need to concatenate about 100 cells.

The concatenate function only accepts 25 cells.

Is there any way to concatenate all the cells in a simple formula?


David Billigmeier

Do you mind a UDF? This will work:

Function ConCat(rng As Range)
Dim temp As String
For Each rng In rng
temp = temp & rng
Next
ConCat = temp
End Function

Then, all you have to do to call it is input as a range like so:

=ConCat(A1:A1000)


--
Regards,
Dave


"Jeff" wrote:

I need to concatenate about 100 cells.

The concatenate function only accepts 25 cells.

Is there any way to concatenate all the cells in a simple formula?


Roger Govier

Hi Jeff

Try
=Your_formula&another_concatenate_formula&another_ concatenate_formula&another_concatenate_formula


Regards

Roger Govier



Jeff wrote:

I need to concatenate about 100 cells.

The concatenate function only accepts 25 cells.

Is there any way to concatenate all the cells in a simple formula?




All times are GMT +1. The time now is 02:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com