You are here:

Excel/Conditional Formula

Advertisement


Question
Hi - I want to apply a conditional formula to a range of values.
i understand the conditional formatting basics.

Simply I want to highlight cells that are less than 75, down to and including 0.

Using the 'between' function in conditional formula if I go for 'between -1 and 75' it highlights blanks cells as well, despite formatting all the cells as numbers.

I'd like to define a custom formula and use this so that blanks are excluded from CF. what would formula be ?

thanks in advance for any help.

Answer
Dave
The easiest way---
The trick is to make the cells not blank if they have nothing in them excel assumes that they are zero whether they are formatted as numbers or text.

The way to fool excel is put an apostrophe in the cells that are zero.  The apostrophe will not show but in your conditional formatting formula excel assumes that they are not zero and therefore does not include them in the conditional format.

Hope this works for you.

Richard
Florida
USA
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

Excel

All Answers


Answers by Expert:


Ask Experts

Volunteer


Richard Roberts

Expertise

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.

Experience

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

Education/Credentials
BA, Certified Public Accountant

©2016 About.com. All rights reserved.