Concatenate - Hundred cells. Concatenate will take lot of time. Any array formula?


Please see the attached Excel file. I need to concatenate some hundred cells like in the example. But using Concatenate or & will take lot of time. Is there any way possible without macro to do the job. Or, macro is the only solution.

I need to add names in B3, B4, B5, and so on. And the result should be Frank or Bill or Lucy... by adding an 'or' between the names.Concatenate-Names-Using-Or.xlsx

- San.
Sanjay GandhiFounder, KenhalAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Wayne Taylor (webtubbs)Commented:
Enter this formula into the required cell, but DO NOT press enter...


Select TRANSPOSE(B3:B10)&" or " in the formula and press the F9 key, which will convert the range to an array of values.
Remove the braces "{}".
Modify the last element to remove the " or ".
Press Enter.

The formula should end up looking like this....

=CONCATENATE("Frank or ","Bill or ","Lucy or ","Cathy or ","John or ","Zara or ","Chi or ","La")

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
These formulas...
EE1.jpg...produce this result:
To create those formulas, you only have to type in the first 2, like this:
EE3.jpg...and then copy formula next to Bill, and paste it into every cell below it that has a name to be processed.
Sanjay GandhiFounder, KenhalAuthor Commented:
Excellent!! Works fine :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.