Excel/Conditional Format

Advertisement


Question
"I am trying to do a conditional format on 1 cell if another cell is between 1 and 99. I think I need to insert a function but I am not sure. Not sure if there is a formula." Using Office 2007

Answer
Len,

   Its easy to do this with Excel 2007, as well as with 2003.

    Select the cells you want to format... ALL of them.  Then open the CF (Conditional Formatting) ribbon option.  Choose New Rule;  you'll see a list of methods; pick the Use A Formula To Determine Which Cells To Format, which is the bottom choice.

  In the dialog box, you MUST type a formula which equates to either TRUE or FALSE.  Since you want to create a 'between' formula, you'll need to use an AND statement, like so:

  =AND(other-cell>=1,other-cell<=99)

  The 'other-cell' is any cell address in the worksheet.  Be sure to REMOVE the $-signs if you use the click-on-cell method to choose the cell; I assume you want to format a column of cells, based on the values in another column.  By selecting all the cells you wanted to format, and using a formula without $-signs, each cell-to-be-formatted will refer to a different cell to do its 1-to-99 value comparison.

  >>> Bill
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

Volunteer


Bill Hermanson

Expertise

Please tell me WHICH EXCEL VERSION you are using!

DO NOT ASK ME me about Macros or VBA.

Please read my "instructions to questioners" in my full profile [use View Profile, at right], to help you write a question that I can understand, without having to ask you what you mean.

If your question contains any of the words THIS, IT, THAT, THOSE, or THEY, I likely won't understand IT. Please rewrite!

My Expertise: I am an expert at data manipulation, the use of incredibly complex logical statements, databases, combining tables and extracting data, all the LOGICAL, LOOKUP & REFERENCE functions, dynamic ranges, creating professional appearing spreadsheets, complex functions, integrated charts and visual displays, user interfaces.... I can make Excel do anything!

But PLEASE... NO MACRO or VBA QUESTIONS!

Experience

25 years development of complex spreadsheets for personal and professional use. I've developed hundreds (or thousands!) of spreadsheets in all fields, from complex engineering calculations to game scoring, financial analysis, scheduling, cost-of-doing-business, and analysis of home energy use. I even used Excel to assist in design of the flight computers presently on board the Hubble Space Telescope (1984-1991)

Education/Credentials
BSEE Electrical Engineering, CU Boulder CO USA
Use of spreadsheets since 1982
Boulder Valley School District, Life Long Learning, Instructor
Owner & Operator of Excel Expert, LLC

©2009 About.com, a part of The New York Times Company. All rights reserved.