Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Conditional Format Help

Posted on 2011-04-20
5
Medium Priority
?
228 Views
Last Modified: 2012-05-11
Hello,

I am having trouble with my conditional formatting. I currently have the following rule
=(G8>H8)*(LEN(G8)<>0)

It works as long as G8 is blank. However it won’t work because I have an index match formula in G8 which is

=IF(ISERROR(INDEX(‘example'!$A$5:$U$97,$A8,G$2))," ",INDEX('example'!$A$5:$U$97,$A8,G$2))

So even though G8 is blank the conditional formatting is still picking up the formula as a value, how do I work around this??
0
Comment
Question by:vegas86
  • 3
  • 2
5 Comments
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 35438323
Try this

=(G8>H8)*(G8<>0)

instead of

=(G8>H8)*(LEN(G8)<>0)

Sid
0
 

Author Comment

by:vegas86
ID: 35438393
Thanks for the suggestion Sid but it still isn't working, I am getting the same result.
0
 
LVL 30

Accepted Solution

by:
SiddharthRout earned 2000 total points
ID: 35438398
Try this

=(G8>H8)*(LEN(trim(G8))<>0)

Sid
0
 

Author Closing Comment

by:vegas86
ID: 35438419
PERFECT!!, thank you so much for your help Sid!
0
 
LVL 30

Expert Comment

by:SiddharthRout
ID: 35438422
You are welcome :)

Sid
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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

810 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