Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The SUM function in excel works in both this form:


and this form:


However, the CONCATENATE function does not. I have a range A1:A5 containing {1,2,3,4,5}, which works fine in SUM(A1:A5), giving 15. However, CONCATENATE(A1:A5) gives 1, not 12345.

Is there some way to "unpack" this range into multiple arguments, such that CONCATENATE(UNPACK({1,2,3,4,5})) is equivalent to CONCATENATE(1,2,3,4,5)?

Expressed in various ways in some programming languages:

concatenate.apply(null, [1, 2, 3, 4, 5])  // javascript
concatenate(*[1, 2, 3, 4, 5])  # python
concatenate(unpack([1, 2, 3, 4, 5])) -- lua
share|improve this question

There's no worksheet function in Excel that allows you to concatenate a range or array. You would probably need VBA - try googling "Aconcat"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.