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

ShumsExcel & VBA ExpertCommented:
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

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 !!
ShumsExcel & VBA ExpertCommented:
Then change your formula to:
=CONCATRANGE(A4:J4)

Open in new window

Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Great ! job !Thnks  Shums
ShumsExcel & VBA ExpertCommented:
You're Welcome Adriana! Pleased to help :)
Roy CoxGroup Finance ManagerCommented:
UDF copied from here

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

TextJoin_2.png
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Roy_Cox Thanks !! great to learn !! from you !!
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.
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
Roy_Cox i have just  Excel 2016
Roy CoxGroup Finance ManagerCommented:
I expect the function will be added to 2016 eventually
ADRIANA PACCOUNTING ASSISTANTAuthor Commented:
GOOD TO KNOW ! ROY
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.