Email:      Pass:    Pass?
Close Window   
Free Ebook
Get Your Free Excel
Our Top 15 Excel Tutorials
Instant Access!

Subscribe for Free Excel tips & more!

Free Excel Forum

Blanks Vs ""

Forum Register
Search Excel Forum Posts, Tutorials, Macros, Tips, and More

I have a table and used an if function to return either a value or leave the cell blank ("").

Then, I want to format the blanks in that range. I select the whole column with the result, press Ctrl+G -> Go To Menu, press Special..., and select Blanks.

The result i s'there are no blanks in the range. I understand that the problem is that the cells are actually formated as "" to return empty cells, but how can I avoid that problem with the Go To Menu and select Blanks form the Special Tab.

Thank you in advance.

View Answers     

Similar Excel Tutorials

Ignore Blanks in a Data Validation List in Excel
I will show you 3 ways to remove the blanks from a Data Validation dropdown menu in Excel. All 3 methods are multi ...
Find the Next Blank Row with VBA Macros in Excel
Learn how to find the next empty cell in a range in Excel using VBA and Macros.  This method will skip any blanks ...

Helpful Excel Macros

Format Cells in The General (default) Format in Excel Number Formatting
- This free Excel macro formats a selected cell or range of cells to the General number format in Excel. This is the defa
Return the Max Number from a Range That is Within a Minimum and Maximum Target Value in Excel - UDF
- Return the highest number between two numbers that is in a range of cells with this UDF (user defined function) in Excel
Return the ISO Standards Start of the Year in Excel - First Monday of the Year - UDF
- Return the date of the first Monday of any year with this UDF ISO Year function in Excel. This is a really simple and e
Combine Multiple Workbooks into One
- This macro for Microsoft Excel allows you to combine multiple workbooks and worksheets into one new workbook and workshe
Vlookup Macro to Return All Matching Results from a Sheet in Excel
- This Excel Macro works like a better Vlookup function because it returns ALL of the matching results. Run the

Similar Topics

I have a column with formulas. some formulas return blank cells and some return data.
I copy this column and Paste Special it as Values then I select these values and press F5 and select Blanks from Special tab options (infact I want to remove blank cells) but it returns a msg that "No cells were found" despite having blanks in the range. what's wrong with this.

however when I press delete on any blank cell and then use Go To command to select blanks it then selects only that cells upon which I pressed Delete.

please explain why Excel do not recognise Pasted as values cells as blanks.

Okay, this one is driving me crazy. I have a macro that creates a pivot table, then copies it to another spreadsheet by doing a "Paste Special - Values", followed by a "Paste Special-Formats". My problem is that column A contains text values instead of numbers, and blanks which I want to fill in. When I select that column and use the routine Edit>Go To>Special>Blanks, then hit the " = "sign, then up arrow, then ctrl-shift-enter, the blanks fill in on only to the next text number, not all the way down the column. I know the problem there is that the numbers need to be numbers, but I don't know how to programmatically do that.

If I first select the column and multiply it by 1, the blanks are replaced with zeros, and again my routine won't work to fill in the blanks, 'cause they're no longer blank.

If I insert a column and use a formula such as Code:


and then copy that column and paste the values back into column B, it looks like everything is right, except I still need to fill in the blanks. However, going to Edit>GoTo>Special>Blanks tells me there are no blanks.

I've attached my spreadsheet so you can see what data I'm working with. I realize this must be simple, but it's simply beyond me right now. Thanks in advance for any help I can get on this.

Need some help!
I am using Windows 2000 and I am trying to fill in the blanks in a spreadsheet that i have created, i found the method of doing it
1. Select the range (A3:A14 in the example above)
2. Press Ctrl-G to get the Go To dialog box.
3. In the Go To dialog box, click Special.
4. Select the Blanks option.
5. Type = followed by the address of the first cell with an entry in the column (=A3
in the example above), and press Ctrl-Enter.
6. Reselect the range and choose Edit, Copy.
7. Then select Edit, Paste Special, choose the Values option, and click OK.

on this site but it is not working for me, does this work in Windows 2000 and if so can anyone tell me if I am missing a step. when i get to #4 I chose blanks but there is no option for me to type anything in.



Macro to Fill Blank Cell with Values above.


I am using the following procedure to fill in blank cells with the value above:

Select the column with the blanks.
Goto Edit>Goto...Special and select blanks.
Goto the formula bar, enter =A1 (or whatever the first cell with data is) and then press CTRL+ENTER.
Select the column, copy and paste special values

However this does not work with what I need to do now.

What I need to do is this:



This means I need to fill in the blank cells with the SERIES OF VALUES immediately above the blanks.

The reason I cant use the above procedure is that the size of the series varies.

For example i will have two values followed by two blanks then 5 values followed by five Blanks.

Any help is appreciated


I am trying to populate a spreadsheet that has many blanks in one column. I want to use the text in the cell above the blank until the next filled in cell is reached. Then I want to use the text from that cell. I have tried using these instructions, but what is returned is the cell location from above the first blank repeated in each blank cell. I'm trying to fill with text and get the text to change as the already-filled cells change:

1. Select column A.
2. Choose the Edit | Go To... | Special... menu
command, select "Blanks" and press [ OK ].
3. Type the formula, =A2, and press Control+Enter.
4. Select column A once again.
5. Choose the Edit | Copy followed by
Edit | Paste Special... Values.

For step 3, I've tried using the cell name, the up arrow to point to the cell, and moving my cursor to the cell. Nothing has worked. Attached is a snip of what I am getting (note that the rows start with 200, as the first digit has been truncated.)

I'd appreciate any suggestions.


My apologizes if this has already been answered. I looked all over and couldn't find it.

I am using Excel 2008 for a Mac. My goal is to select all blank cells in a section I've highlighted. I know that I can press Control+G, then Command+S to get to the Go To Special page, which provides the ability to select 'Comments', 'Constants', 'Formulas', 'Blanks', and so on. From this window, I don't know how to use my keyboard to move the selection from the default of 'Comments' down to 'Blanks'. I've tried the up and down arrows, pressing Tab, and a bunch of other possible solutions, but I can't find how to get to the 'Blanks' option without using my mouse.

Anyone know how to do this without using a mouse?


I am using the following procedure to fill in blank cells with the value above:

Select the column with the blanks.
Goto Edit>Goto...Special and select blanks.
Goto the formula bar, enter =A1 (or whatever the first cell with data is) and then press CTRL+ENTER.
Select the column, copy and paste special values

However this does not work with what I need to do now.

What I need to do is this:



This means I need to fill in the blank cells with the SERIES OF VALUES immediately above the blanks.

The reason I cant use the above procedure is that the size of the series varies.

Some of them are 5 cells, some are 1, 2, 8 etc.

I really need help with this.



I have a workbook in which formulas are used to either return a value or a blank depending on some condition. Now I wanted to remove all the blanks at one go and was recording a Macro like this:

1-Selected the range of cells in which the formulas exist so eg A1:W50
2-Press F5 and then choose Special and within that Blanks. Then when I say Ok it says 'No cells were found' I think this might be happening because the blank cells have a formula behind them which is spitting out the blank.

So is there an alternate way to do this?


Dear Experts,
In my workbook, when I do Auto filter on columns the terms such as
"Blanks", "Non-blanks" does not appear when i sort for auto filter.

My reqyuirement is i need to filter with blank entries in my worksheet. i am not able to perform this since those two options "blanks" and "non-blanks" is not highlighted in the Autofilter tab.
*** Tthere are so many blank cells inbetween , but even then problem.

Can anybody give a solution


Hello all

I am working on an SQL Query generator which will insert a list of values into an SQL Query within excel, for my to Copy to my SQL Server Management suite to insert the values into a table.

So, I have a list of values which are pasted into Column A. Column B contains a formula to create a query to insert Column A into SQL.
It is a simple formula,
=IF(LEN(A2)=7,"INSERT INTO #MyTable VALUES('"&A2&"')","")
Which works great and I can copy the formula result directly into SQL and everyone's happy. However;

I will have between 1 and 100,000+ records to do at once. So I have this formula in ALL of Column B. I would like to be able to Select Column B and Copy, then paste directly into SQL without blanks. As it is right now, I get a million blank rows. The query still runs just fine but I would prefer if the blanks didn't get copied. There are no blanks in the middle of the data, if I have 30 records, row 31 to row 1048576 are the blanks I am referring to

Is there any way to only select cells within a row that contain values?

I have tried Copy/Paste Special, then use End-Mode on row 1, hold shift and press down arrow, but it still selects and copies every cell.

I am open to VBA solutions.


excel 2010
I am familliar with using find&select, and then using "go to special", and selecting blanks
The problem is that the rows I need to delete are formatted where the blanks are the result of =IF([xxx], [xxx],"")
and so under the "go to special", these rows are not counted as blank. So how do I remove them in mass from my spreadsheet?
Any help appreciated.

I import a text file that some cells have blanks because there suppressed
repetative data.
Meaning if column a had


I want someway to fill blanks like

I know if I import into excel I could select data edit goto special blanks
enter = in active cell point to cell above and press CTRL + ENTER simultainiously.

The text file is too large for excel so I need that function in Access.
Thank you for your anticipated response.

I created a huge data analysis file that consists of 50 by 214 cells.
According to my formula's, it will only show data if a lot of demands are
met. In reality, this means, about 15 to 20 of them have data, and the others
are blank.

I now want to quickly remove all the blanks. However, Go To>Special>blanks,
doesn't work, because for some reason, Excel doesn't consider my blanks to be
blank, even after I copied the values to another worksheet, and am certain
that these cells are actually blank and empty.

Soooo, do any of you experts know a solution for this problem? Or another
way to quickly gather these appx. 20 cells that do have data in them in one
column? Without blanks? I'd hate to do that manually.

Thank you in advance. I'll be in bed really soon, cause it is terribly late
in Europe, but I'll be back first thing in the morning to check your ideas,
and provide feedback or add info I forgot to post right away...

Hello everyone.
I'm trying to select all blank cells (Excel 2010) in a column. I've run a macro that gathers data from a report, but when certain criteria are met the row is left blank (using =if(this, then, ""). I've then copy/paste special/values-d the 5 columns of gathered data to a new worksheet.

Now, I want to delete all rows that have a blank cell in column A. I highlighted column A, clicked Home>Find & Select>Go To Special and selected Blanks.

But it doesn't find anything.

I thought maybe there was just a space in those cells, but when I go to Find, and try to search for blanks (I tried searching for both " " and * *), and, in find options, selected 'match entire cell contents', it finds nothing.

If I select some of the blank cells and hit Delete, then the Go To Special / Blanks finds those cells.

Any ideas?


Hope somebody can advise me?

I am following instructions that someone has left me and am struggling to use this method to populate blank cells.

Can anyone suggest where my problem is?

The instructions I follow are....

to copy Interunit ID #s to cells below that have more than 1 line for add'l items, highlight the first cell that is blank to the end of rows for that cell column, use the GO TO on the Menu (Edit), Special, check off "blanks" and enter formula (+"previous cell") then press Control Enter at same time. This will copy cell in all blanks from previous cells. After this is done you should copy Interunit cell and Past Special, value (this is done so that cell info does not change due to formula)

I'm new to macros and working on a macro to facilitate a function that usually is the following steps-

(Sorry it's long! Short version at bottom of post!) Select row under last used row in excel sheet Shift+Ctrl+Down Arrow Edit > Go to (ctrl+g in '97) Special Blanks [OK] Edit > Delete "Delete Entire Row"
Can anyone give me some keywords, advice, or solutions to do the above in macro form?

Short Version- Select all rows under last used cell Excel UI "Go to" Blanks (whatever that does...) Delete selected rows

in the excel file i wanted to delete the blank rows which come in between data rows. i applied the following with negative result. select entire column. auto filter. filter for blanks. got all the blank rows selected . then i pressed delete key. nothing happened.

i tried the other way and got the result. select the entire col. press f5= special blanks. go to the ribbon. delete- drop down arrow and select entire sheet rows. done

anybody tell me why the first option didn't work.

in my worksheet there are unwanted entries "3 years ago" (row numbers-2,5,10,14,19,25,31,37,43,49,55,61,67)how to delete those entries?

my worksheet contains duplicate entries(Row numbers-3,8,12,16,22,28,34,40,46,52,58,64,70). kindly tell me how to avoid the duplicate entries.

Hi all,

I have a formula in A1:A10 that returns either a value or a "".

The result will be copied paaste special values in another cell, B1;B10.

Then I will copy B1 and paste specia, value and SKIP BLANKS in C1:C10

Problem is that excel pastes all the cells in C1:C10 i.e. it does not consider any cell as blank although there are soe with no value (as a result of the "" in the original formula).

Is there anyway for force excel to treat those as blank in such a way that it will work when I do paste special SKIP BLANKS?


Even after selecting skip blanks in the paste special menu in excel, it is
copying the blank cells

Hello everyone,

Here is my problem. I have a spreadsheet with four columns, which are variables nested within each other. What I am currently doing is going through a range, finding the blank cells, filling all the blanks with the value of the non-blank cell above it, and filling these blanks until I reach a non-blank cell. Simply put, all I am doing is clicking on the cell's handle and filling the blanks (it only fills the cells down until it finds a cell with a value).

I am tediously going through each range of cells, autofilling down, and working from right to left.

There must be an easier way where I can select the range of cells, run a macro, and it does the autofill for me.

Any suggestions?

Thanks in advance,



Please help this is driving me mad!

The problem is, I do go to blanks and loads of seemingly blank cells are not highlighted. The cells previously contained formulas which are no longer present (I copy/paste special'd)

In the blank cells which are not highlighted there are no spaces. If I say 'text-to-columns, format general' nothing happens, however if I double-click in each troublesome cell they get picked up as being blank.

I also tried copy/paste multiply to no avail.

Any ideas appreciated.



Combo Box 1x2x.125 1x2.75x.375
I have a range like above which is being used by a program called xcelsius to build a combo box. The program has a built in function to ignore blanks but only if they appear at the end of the right now when user clicks on combo box there is a space between first and second option. I basically have a function that says

=IF(G13="OK",A13,"") that is how I build my combo box hence the blanks between 1x2x.125 1x2.75x.375

How do I programatically(no VBA) go traverse a range like A1 to A10 and remove those blanks so the final result is something like
1x2x.125 1x2.75x.375

from what I understand a function that puts a "" is not really blank

OK I have a list like the first one below with blank rows between the data. I want to copy and past and have a list like the secpmd one below with all the blanks removed. I tried copy, and paste special with skip blanks checked but that didn't work - it just pasted like the original column with the blanks. Any help would be appreciated






Using Excel 2003, I'm having problems getting the "skip blanks" feature to
work. It works on one computer using 2003, but not on another. I updated,
but still have the problem.

In versions of Excel prior to 2007 (which we just upgraded to) the blanks in a pivot table could be filled in by doing the following.
CTRL+G (Go-to);
ALT+S (Special),
K (blanks),
Enter (executes and selects all blanks)

Up Arrow, CTRL+ENTER (fills in all the blank cells with the cells above the blanks)

Pivot tables in Excel 2007 are neatly formated to include what used to be column A & column B ... both ... into just column A. So, our nifty little trick (which I learned from other Mr. Excel posts) now doesn't work.

I have used this trick on many, many very large spreadsheets (which resulted in pretty large pivot table results) and it made working with these large spreadsheets much, much easier.

Any suggestions on how to make this work on Excel 2007 Pivot Tables?