How can I put values from different columns in a single cell

like this ! sample !!
many-columns-in-one.xlsx
ADRIANA PACCOUNTING ASSISTANTAsked:
Who is Participating?

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

x
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.

ShumsDistinguished Expert - 2017Commented:
Hi Adriana, you can use below UDF which would be much easier:
Function CONCATRANGE(varRange As Range, Optional varDelimiter As String)
Dim varTemp As Range
For Each varTemp In varRange
CONCATRANGE = CONCATRANGE & varDelimiter & varTemp
Next
If varDelimiter <> vbNullString Then CONCATRANGE = Mid(CONCATRANGE, 2)
End Function

Open in new window

Then your formula in cell K3 would be:
=CONCATRANGE(A3:J3,",")

Open in new window

Please find attached...
Adriana-many-columns-in-one_v1.xlsm
0

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
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Thanks !! Shums but not coma can be !!
0
ShumsDistinguished Expert - 2017Commented:
Then change your formula to:
=CONCATRANGE(A4:J4)

Open in new window

0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Great ! job !Thnks  Shums
0
ShumsDistinguished Expert - 2017Commented:
You're Welcome Adriana! Pleased to help :)
0
Roy CoxGroup Finance ManagerCommented:
UDF copied from here

If you are using Office 365 there is a new Function called TextJoin

TextJoin_2.png
1
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Roy_Cox Thanks !! great to learn !! from you !!
0
Roy CoxGroup Finance ManagerCommented:
This function is available in Excel 2016 if you are an Office 365 subscriber and have the latest version of Office installed. It's also available with Excel Online, Excel Mobile, Excel for iOS, and Excel for Android phones and tablets. If you have Office 365 and can’t see the TEXTJOIN then it’s likely you’re on the Deferred Channel, which hasn’t got  it yet.
1
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Roy_Cox i have just  Excel 2016
0
Roy CoxGroup Finance ManagerCommented:
I expect the function will be added to 2016 eventually
0
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
GOOD TO KNOW ! ROY
0
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 Office

From novice to tech pro — start learning today.