Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

delete row if cell

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Delete row if a cell in a column is blank

Delete row if a cell in a column is blank

ResolvedVersion 2007

Tashi has attended:
No courses

Delete row if a cell in a column is blank

What is the macro to delete a row if a cell in a specific column is blank? Is there a way to do this without using macros or doing it manually?

RE: Delete row if a cell in a column is blank

Can you please clarify cell in a column is blank?

thanks
paul

RE: Delete row if a cell in a column is blank

By blank cell, I mean a cell with nothing entered into it. It does not have a value of 0

RE: Delete row if a cell in a column is blank

how many rows are using the column? ie, are there 20 rows and if 1 cell out of 20 is blank you want to delete the entire column?

RE: Delete row if a cell in a column is blank

There are 300 rows. If the cell in column C is blank ( i.e. no data entered) for that row I want to delete the entire row that includes the blank column C cell. It's a very simple table. There is a possibility that afterwards I will want to repeat the process but with a different column.

RE: Delete row if a cell in a column is blank

it really depends on how often you are going to run this delete operation. If its every now and then I would suggest you simply put a filter on the header, filter the non blanks and then delete them manually. You can create a macro for this but that gets a bit more complicated.

Does that help?

RE: Delete row if a cell in a column is blank

Yes, Thanks

Excel tip:

Using Alt in Save Dialog Box

When you are saving (or opening) a file, try these;
(Note the numbers are on the keyboard not the numeric keypad)
1. Go to previous folder Alt+1
2. Go up one folder level Alt+2
3. Search the Web Alt+3
4. Delete selected file Alt+4 or Delete
5. Create a new folder Alt+5
6. Cycle through all views Alt+6 repeatedly
7. Display the Tools menu Alt+7

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.