How do I shuffle up text in Excel?

Hi
I have text in two columns.
Some cells in column N are empty and I would like to shuffle up the text from column 0.
But if I have text in two column - I would like to keep it in two.
Can someone help?
Thanks.
Excel.png
juttaReimannAsked:
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.

Brian PringleSystems Analyst II, SCM, ERPCommented:
I am assuming that the rows start at #1.

Select N2 and then hold the CTRL key and select O1.  Press the "Delete" key on the keyboard and it will ask if you want to shift cells up or shift left.  Select "Shift Cells Up".
0
juttaReimannAuthor Commented:
Sorry, I did not explain myself well.
I have over 2000 cells that need shifting, I was looking for a way of doing it automatically.
Thanks
0
wittysloganCommented:
something like this might help:

find 2 adjacent columns after you data
in column S:
=IF(AND(ISTEXT(N2)=FALSE,ISNUMBER(N2)=FALSE),O2,N2)

in column T:
=IF(AND(ISTEXT(N2)=FALSE,ISNUMBER(N2)=FALSE),"",O2)

then copy and paste values into the relevant columns.

At the moment if column o is blank you may be left with a zero is this a problem?

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.

juttaReimannAuthor Commented:
Sorry to be a pain.
The ZERO is a problem, as I am going to export the data to a database.
Any more ideas?
0
wittysloganCommented:
try these:

S:
=IF(ISBLANK(N2)=TRUE,O2,N2)

T:
=IF(OR(ISBLANK(N2)=TRUE,ISBLANK(O2)=TRUE),"",O2)
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
juttaReimannAuthor Commented:
Thank you that works beautifully.
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.