Deleting columns

B

Barry Lennox

I have range say c150:x200. Row 150 contains names, and the lower rows, data.
How do I delete the columns in the range without data (deleting also the
name). The deletion is to apply to the range not the whole spreadsheet.
 
S

Shane Devenshire

Hi,

Depending on how your data is layed out this could be a real problem, but
lets assume that when all columns that are blank are blank in all the cells
in the column except the name at the top.

1. Select all the data 150x200
2. Press F5, Special, Blanks, OK
3. Press Ctrl+- (control minus) and choose Shift cells left.
 
B

Barry Lennox

Hi Shane

Thanks, but because of the information in row 150 the whole column is not
blank. I need the data in that row to relate to what is in the column below
it.
I could move it all to another sheet and delete the whole column, but I am
wondering if it can be done without this.
Barry
 
G

Gord Dibben

Sounds like creating a Data>List for C150:X200 may work.

You can delete rows and columns within a List without affecting rows and
columns outside the List.

You need 2003 or 2007 to create a List. Earlier versions don't have this
feature.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top