Removing Blank Cells - Not Working!

J_MAW

New Member
Joined
Sep 9, 2015
Messages
37
Hi,

I am trying to remove blank cells from an excel sheet. I have followed the steps, select data range, Go to Special, Select Blanks and I keep getting the message "No cells found".

The sheet in question has been copied from a sheet with formula's and pasted as values. Could this be why the function won't work?

Any help or alternative suggestions would be greatly appreciated.

Document Sample Data

Many thanks,

:)
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
The sheet in question has been copied from a sheet with formula's and pasted as values. Could this be why the function won't work?
Yep, that is precisely the reason! Formulas with return empty strings are not the same as "blanks" and won't get picked up.

One way would be to just loop through the range and check for a value of "".
 
Upvote 0
Yep, that is precisely the reason! Formulas with return empty strings are not the same as "blanks" and won't get picked up.

One way would be to just loop through the range and check for a value of "".
Thanks for your reply.

I have done and find and replace of bank cells to "empty", then done a further find and replace of "empty" to blank.

Then I done "Go to Special", Delete, Shift Up.

And it worked!

Thanks again.
 
Upvote 0
Yep, that is another way you could do it!
Glad you found a workable solution!
 
Upvote 0

Forum statistics

Threads
1,223,787
Messages
6,174,559
Members
452,573
Latest member
Cpiet

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top