Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having some issues with using INDIRECT to apply conditional formatting.

I have column G which carries a percentage. I want to conditionally format column H based on the percentage being greater than 0 and less than 100.

I have attempted the following without success:


This will return the correct value in a cell (true) and fail with conditional formatting


This will return the correct value in a cell (true) and fail with conditional formatting


I saw this in another solution. The $ is supposed to force a reevaluation on each row. This did not work either.

Additionally, I've tried both 100% and 1 in the formulas without success.

Any suggestions?

share|improve this question
Are you sure that it is failing with conditional formatting, or just that there is no format set (you have to set that manually with conditional rules that you create) – soandos Nov 29 '11 at 22:03
I've set the format. I have it working using the above formulas for 100% and 0%. The issue only appears on a conditional formatting statement that uses multiple indirects. – Mervyn Nov 29 '11 at 22:15

You don't need the If in Conditional Formatting. Just use:


It took me a while to stop wanting to include If in my Conditional Formats, but the CF itself is testing for the condition you specify, so no If needed.

Also the "$" is for a fixed reference. It forces the formula to always refer to column G, which would be relevant if your CF was for multiple columns. The lack of a "$" in front of the 2 makes that part of the cell address relative, which means the CF will always check the row it's in. Relative referencing is important to understand, so if my explanation doesn't make sense, you might want to google it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.