Concatenate Merge & normal cell

jasontoh

New Member
Joined
May 13, 2011
Messages
16
Hi,

Pls help me to make CONCATENATE formula

A1:D1 is merge cell with content "XX"
A2 = "11", B2 ="12", C2 ="13", D2="14"
How can I make a formula to CONCATENATE row 1 & 2 to get row 3 as:
A3 ="XX11", B3 = "XX12", C3="XX13", D3="XX14"

any help is appreciated.

Jason
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi Robert,

Thanks for the quick reply
If I copy the formula A3 to B3, the result shows "12"
I would like to get "XX12"
The problem is B1 although it is merge with A1, content is blank for excel
Any way to overcome this?

Jason
 
Upvote 0
Hi Robert,

I post a pic:
Row 3 is what I want to achieve by CONCATENATE formula


Excel Workbook
ABCD
1XX
211121314
3XX11XX12XX13XX14
Sheet1
 
Upvote 0
Hi JasonB75,

This works for this example
But I have a long row with different merge size
I need one general formula

Post another pic
Again, row 3 is what 1 want to achieve by formula

Excel Workbook
ABCDEFG
1XXYY
211121314212223
3XX11XX12XX13XX14YY21YY22YY23
Sheet1
 
Upvote 0
In that case try

=INDEX($A1:A1,MATCH("ZZZZZ",$A1:A1))&A2

When you merge cells you don't merge the content of one into all of them although it might appear that way. In your example B1, C1 and D1 all become A1, the original cells no longer exist.
 
Upvote 0
I'm concern about the MATCH portion of the formula, it is not foolproof.

* If A1 contains numbers it don't work
* If row 1 contain both characters & numbers wrong selection will happen

Anyway to correct this problem?

Pic:

Excel Workbook
ABCDEFG
1A111
2A1121314212223
3A1A1A112A113A114A121A122A123
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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