To start with, I am able to replicate the problem. The second formula works as a worksheet formula, but I do not know why it does not work as a conditional formatting rule.
I suggest you give us the fully complicated version. Because I would use this conditional formatting formula in B1:
or even just use the "Format only cells that contain" rule instead of a formula. Using that INDIRECT formula is very convoluted. And the second one adding an AND is pointless.
I think if you tell us what you are actually doing we can suggest a more comprehensive solution. However, in the meantime I will continue to see if I can find out what's going on with the formula you have presented.
Bookmarks