Create Formula from another Formula - Nesting Concatenate Concat

mreinsmith

New Member
Joined
May 7, 2016
Messages
6
I've often wanted to look up if it was possible to concatenate the results of a column of concatenate formulas (of course, CONCAT only starting in Excel 2016)

I thought maybe there would be a function like "FUNCTIONTEXT" but "FUNCTIONVALUE"

So I started looking and I can't seem to find anything relevant

It's possible I'm just missing the obvious (not seeing the forest for the trees so to speak)

So any help would be appreciated

In the meantime I'll stick with Paste --> Values ;)

Just to be clear here is what I mean:

LastnameFirstnameFORMULATEXT
SmithJohnJohn Smith=CONCATENATE(B2," ",A2)
HarrisonGeorgeGeorge Harrison=CONCATENATE(B3," ",A3)
BestPetePete Best=CONCATENATE(B4," ",A4)
LeeGeddyGeddy Lee=CONCATENATE(B5," ",A5)
PastoriusJacoJaco Pastorius=CONCATENATE(B6," ",A6)
BalzaryMichaelMichael Balzary=CONCATENATE(B7," ",A7)
#VALUE!=CONCATENATE(C2:C7)

[tr]
[tr]

And of course you get an Error
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
It is not possible to concatenate a whole column of texts without a UDF.
I have made a formula solution with a helper column of cells.

However, it puzzles me so much that I have to ask: why do you want to concatenate so many names?

J.Ty.

Excel 2016 64 bit
ABCD
1SmithJohnJohn SmithJohn Smith
2HarrisonGeorgeGeorge HarrisonJohn SmithGeorge Harrison
3BestPetePete BestJohn SmithGeorge HarrisonPete Best
4LeeGeddyGeddy LeeJohn SmithGeorge HarrisonPete BestGeddy Lee
5PastoriusJacoJaco PastoriusJohn SmithGeorge HarrisonPete BestGeddy LeeJaco Pastorius
6BalzaryMichaelMichael BalzaryJohn SmithGeorge HarrisonPete BestGeddy LeeJaco PastoriusMichael Balzary
7
8John SmithGeorge HarrisonPete BestGeddy LeeJaco PastoriusMichael Balzary
Sheet1
Cell Formulas
RangeFormula
D1=C1
D2=CONCATENATE(D1,C2)
 
Upvote 0
Like I said, just one of those things

just can't use a range

Hi,

You're right, CONCATENATE can't accept ranges, you'll have to input individual cell references, but you don't really need a helper column:


Excel 2010
ABC
1LastnameFirstname
2SmithJohnJohn Smith
3HarrisonGeorgeGeorge Harrison
4BestPetePete Best
5LeeGeddyGeddy Lee
6PastoriusJacoJaco Pastorius
7BalzaryMichaelMichael Balzary
8
9John SmithGeorge HarrisonPete BestGeddy LeeJaco PastoriusMichael Balzary
Sheet1
Cell Formulas
RangeFormula
C9=CONCATENATE(C2,C3,C4,C5,C6,C7)
 
Upvote 0
Oh I missed that. This is just an example

I do quite a bit of testing for transactional message queue systems

I need to create large sets of dummy transactions with certain criteria in X12 format and various proprietary translation maps.

Makes it easy to create strings and transactions over and over with different testing criteria

Sometimes the only way to reveal a bug in a complex system is to hammer away it until it occurs and identify the scenario the triggered it.

Not pretty but it works every time.

I've never hit the current limit (1,048,576 rows by 16,384 columns) in excel but I used to back in the day (if anyone even remembers works for windows)

It was just one of those things. I've done this so often and always in a rush trying to identify the cause of a problem.

I just never took the time to figure it out.

Thanks for your help

M
 
Upvote 0
Hi,

You're right, CONCATENATE can't accept ranges, you'll have to input individual cell references, but you don't really need a helper column:
[...]
C9=CONCATENATE(C2,C3,C4,C5,C6,C7)

<thead></thead><tbody>
</tbody>

<tbody>
</tbody>

Indeed, as long as you work with a few rows. This solution does not scale directly to more than about 250 rows, and always requires manual modifications to the formula. There is CONCAT which seems to concatentate a given range of texts, but MS has a strange licesing policy and this function does not work on my newest Excel 2016. Helper column works for any number of rows, as long as you do not exceed the length limit of Excel strings.

J.Ty.
 
Upvote 0
Yeah, as I'm using 2010, I was merely pointing out that the CONCATENATE function does not accept ranges but individual cell references (as that was OP's mistake in Post #1), and Yes, you don't need a helper column. OP did not mention Large ranges until after my post, so I would agree with using a helper column in such a case. I've never used Excel newer than 2010, so I have no idea what new Functions might be available, although, I'm contemplating on upgrading...
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,195
Members
449,072
Latest member
DW Draft

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