delete row if cell
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

resolvedResolved · High Priority · Version 2007

replyReply Wed 25 Jan 2012, 10:09Delegate Tashi said...

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?

For upcoming training course dates see: Pricing & availability

replyReply Wed 25 Jan 2012, 10:12Trainer Paul said...

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

Can you please clarify cell in a column is blank?

thanks
paul

replyReply Wed 25 Jan 2012, 12:36Delegate Tashi said...

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

replyReply Wed 25 Jan 2012, 12:47Trainer Paul said...

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?

replyReply Wed 25 Jan 2012, 12:51Delegate Tashi said...

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.

replyReply Wed 25 Jan 2012, 13:45Trainer Paul said...

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?

replyReply Wed 25 Jan 2012, 17:26Delegate Tashi said...

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

Yes, Thanks

 

Please browse our web site to find out more about
excel training companies london and other Microsoft training courses.

Excel tip:

Deleting cells, Rows & columns

place your cursor on a cell, row number or column letter and use CTRL + -.

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard