Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Conditional Formatting in Excel 2007

Posted on 2012-04-06
2
Medium Priority
?
329 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

636 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