Excel/blank cells


Hello -

I Am using the advanced filtering function in Excel 2010. I am pulling the criteria in from another spot in the workbook. However, not all the criteria are used every time, sometimes they will be left blank based on the input elsewhere in the workbook.  I have linked the Criteria input to the cells which determine how I want to filter the data.  BUT when the cells are blank I get a “0” in the criteria (and I don’t want my filter criteria to be “0”).  I tried using an IF statement.  Let’s pretend A4 is the cell I am linking my criteria input to IF(A4=””,””,A4).   However, it seems as if the advanced filter function sees the “” as an input b/c it filters accordingly/differently than it does when I delete the formula and leave that criteria blank.  Is their another way I can pull the correct data into that cell, but actually leave it blank if the referencing cell is also blank.



I don't use the filter much so haven't had much experience with any issues.
Suggestion--sometimes excel looks at blanks differently so "" isn't really a total blank cell.  Thats prolly the reason that it is still being filtered or filtering differently try a different formula that won't use the "" and see if that will work.  this may not be a very good answer because of my experience with it, so I suggest you reask the question of another allexperts person.

Sorry I coudn't be of mor help.

About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts


Richard Roberts


Can assist you in most areas of Excel, have been working with it for about 15 years in many types of applications, but primarily in financial and accounting applications. I am a CPA and many client or client problems have necessitated the use of excel. I am not an expert in charting, macros, or pivot tables.


Have been working with Excel for about 20 years primarily in accounting and financial areas.

BA, Certified Public Accountant

©2017 About.com. All rights reserved.

[an error occurred while processing this directive]