Dynamic range concatenate

Luke777

Board Regular
Joined
Aug 10, 2020
Messages
246
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have strings in B and C which I wish to concatenate in D.

Usually I'd simply put the formula
Excel Formula:
=B1&" "&C1
in D1 and drag down. In this case, however, I don't know how far to drag down to as the length of data in B:C (and A) is variable.

I know this can be done with a dynamic array formula, but I've not really got to grips with them yet - placing a formula in a single cell and watching it spill over is dark sorcery as far as I'm currently concerned.

Thanks!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Odd solution. Blanks would be a problem...

MrExcelPlayground6.xlsx
BCD
1a1a 1
2b2b 2
3c3c 3
4d4d 4
5e5e 5
6f6f 6
7g7g 7
8h8h 8
9i9i 9
10j10j 10
11k11k 11
12l12l 12
13m13m 13
14n14n 14
15o15o 15
16p16p 16
Sheet15
Cell Formulas
RangeFormula
D1:D16D1=INDEX(B:B,SEQUENCE(ROWS(FILTER(B:B,B:B<>""))))&" "&INDEX(C:C,SEQUENCE(ROWS(FILTER(B:B,B:B<>""))))
Dynamic array formulas.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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