Excel put data in one row

Gentlemen,
I have another stumble...
The data is from a text file it's spread across various columns...
Is there a formula to say, look from column B to column F & if you find something cut it & put in column A?

Thanks a lot in advance for your kind help!!!

A
LVL 11
AcklesAsked:
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.

Roy CoxGroup Finance ManagerCommented:
You cannot cut data using a formula, you might be able to concatenate the data using formulas. Possibly use Power Query, but can you attach an example workbook showing what you need to do
Saurabh Singh TeotiaCommented:
Ackles,

Can you post your sample file to look at..

Also a quick query..lets say if you have data in Column-B and Column-D ..Do you want to combine them when pasting at column-A??

Saurabh...
AcklesAuthor Commented:
No, I don't want data to be combined, I will have a range & out of them the data is to be picked.
Please see attached excel.

A
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

AcklesAuthor Commented:
Saurabh Singh TeotiaCommented:
You can do something like this..and do a paste special values once your values is their in the column..and then delete the data from rest of the columns manually...

Saurabh...
Book1.xlsx

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
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
You can use the formula suggested by Saurabh like below.....

In A2
=LOOKUP(2,1/($B2:$E2<>""),$B2:$E2)

Open in new window

and copy down.

What this formula does is, it will look in the range B2:E2 and copies the value found in this range into A2. Since you are supposed to have only one value in this range, so the formula will copy the correct value in A2. Otherwise this formula is built to copy the last value found in the range B2:E2, but I hope that's not the issue in your case.
AcklesAuthor Commented:
Awesome!
Rob HensonFinance AnalystCommented:
Alternative, when you open the txt file use the Text to columns wizard and it "should" ignore the blanks before the indented values, depending on which delimiter you use.

Thanks
Rob H
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.