Solved

Conditional Formatting in Excel 2007

Posted on 2012-04-06
2
324 Views
Last Modified: 2012-08-13
Good day!

I am using a spreadsheet to track parts. I have successfully used the conditional formatting Dialog to highlight a row if the formula evaluates to a 'less than'.  But I don't want the rows to format if the target row is blank.

ie

Dialog Formula is   G1<F1  with turning row A1:K1 Yellow.  But I can'tfigure out how to prevent the formatting if G1 is blank!

I have tried to use an    if(F1="","",G1<F1) in the dialog formula box, but it doesn't work.

Any help appreciated.

Ray
0
Comment
Question by:RayLBailey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 total points
ID: 37815786
Hello,

not quite sure I understand the setup, because there is some conflicting information

>> prevent the formatting if G1 is blank

>>  if(F1="","",G1<F1)

F1 or G1 ? Which one will be tested for blank?

In any case, see the attached file for an example. The conditional format applies to $A$1:$K$10 and the formula is

=AND(NOT(ISBLANK($F1)),$F1>$G1)

cheers, teylyn
27665093.xlsx
0
 

Author Closing Comment

by:RayLBailey
ID: 37815858
Cool Beans!  Works like a charm!

Thank you!

I know this question isn't necessarily worth 500 points, but my Browser wwon'tlet me select a lower amount when I posted the question --  so enjoy!

Ray
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question