How can I get Concat to spill

Ngamia

New Member
Joined
Apr 26, 2021
Messages
20
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hi all,
I am trying to concatenate some text with some values using the formula below in column "M" and have the result as a spill array. Using this formula, all I get is a #REF! error.

=CONCAT("H35/",(TEXT(K2#,"0000000000000")),"-",L2#,"/00")


Columns "K" and "L" both contain spill arrays with the formulas as shown below
Column K: =UNIQUE(J:J,,TRUE)
Column L: =XLOOKUP(K1#,ZeeReport[Name],ZeeReport[Suffix],"No Suffix",0)


Columns "K" changes in length based on what is in column "J" so I would like column "M" to also do the same.

Any help will be greatly appreciated.
N
 

Attachments

  • Screenshot 2022-12-06 at 15.42.07.png
    Screenshot 2022-12-06 at 15.42.07.png
    15.9 KB · Views: 24

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Don't use CONCAT(), just the ampersand will do:

Excel Formula:
="H35/"&TEXT(K2#,"0000000000000")&"-"&L2#&"/00"
 
Upvote 0
Solution
Don't use CONCAT(), just the ampersand will do:

Excel Formula:
="H35/"&TEXT(K2#,"0000000000000")&"-"&L2#&"/00"

Thank you so much.
I have never used & in my formulas as concatenate and (now) concat always worked well.
However, with the introduction of array functions I am having to think quite differently about formulas.
 
Upvote 0

Forum statistics

Threads
1,215,856
Messages
6,127,365
Members
449,381
Latest member
Aircuart

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