consolidate columns into one column

i have data across multiple rows and columns

i want to put it all into one column A

is there vba that can do this
finnstoneAsked:
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.

als315Commented:
Can you upload sample and show expected result?
finnstoneAuthor Commented:
its just data in multiple columns that needs to  be put in col A. each column is of differrent length and has blank values in random places
Roy CoxGroup Finance ManagerCommented:
The blanks in random places will make this more difficult.
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Pawan KumarDatabase ExpertCommented:
Sql can do that. If u can give me an example.
Martin LissOlder than dirtCommented:
Run the ColA macro in this workbook.
29065331.xlsm
Roy CoxGroup Finance ManagerCommented:
I thought the author wanted to combine the columns into one, i.e. add each column consecutively to below each other. If Martin's interpretation is correct then you don't need VBA, use CONCAT or TEXTJOIN functions.
Pawan KumarDatabase ExpertCommented:
@Author - You can easily do this in sql like below-

SELECT col1 + ' ' + col2 ....
From yourtable

or

SELECT CONCAT ( col1 , ' '  , col2 ) ...
Martin LissOlder than dirtCommented:
SELECT CONCAT ( col1 , ' '  , col2 ) ...
Except that if a column is Empty then the result will have an unneeded space.
finnstoneAuthor Commented:
i am working in microsft excel
Martin LissOlder than dirtCommented:
Did you try the workbook I posted in post ID: 42347683?
finnstoneAuthor Commented:
thx Martin missed it
finnstoneAuthor Commented:
its not working, maybe i didnt describ enough. i need it to make each value its own cell. instead it still groups them. i attached it with my data
29065331.xlsm
Martin LissOlder than dirtCommented:
I see your desired output and I think I understand what you mean when you say "i need it to make each value its own cell",  but if each cell in range B2:AJ619 is to be listed in column "A", shouldn't there be over 20,000 entries in that column?
Martin LissOlder than dirtCommented:
Try the attached which filters out the blank cells.
29065331a.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
Roy CoxGroup Finance ManagerCommented:
TEXTJOIN eliminates spaces
finnstoneAuthor Commented:
THANKS
Martin LissOlder than dirtCommented:
You're welcome and I'm glad I was able to help.

If you expand the “Full Biography” section of my profile you'll find links to some articles I've written that may interest you.

Marty - Microsoft MVP 2009 to 2017
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2017
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
VBA

From novice to tech pro — start learning today.