Conditional Formatting on cell with Indirect Formula

Kate1

New Member
Joined
Feb 1, 2016
Messages
29
Using this formula in a cell ($D8): =IFERROR(INDIRECT("'"&A32&"'!$F$16"),"") to return a value and this works well. My issue is in relation to formatting/highlighting the cell if a value is not returned. To explain, if the cell ($D8) returns a value which is > the value of another cell ($H$5) then I want to format/highlight that cell. If the cell ($D8) does not return a value, then I don’t want that cell to be formatted/highlighted.
In Conditional Formatting I am using Format only cells that contain, Cell Value, Greater Than, the cell $H$5, then the format highlights a colour even though the INDIRECT does not return a value. I have tried many different things, including Use a formula to determine which cells to format, the AND function, etc. and now need some further assistance. Can anyone help?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
D8 value is deemed by Excel to exceed value in H5
- likely cause is an invisible text string

Try this

Select cell D8 \ click on Conditional Formatting \ Manage Rules \ Edit rule \ Use Formula...

Paste formula below into Format values where this formula is true
=AND(D8>H5,D8<>"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,186
Members
449,071
Latest member
cdnMech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top