Hey all,
I've recently created an Excel sheet with a bunch of conditional formatting to detect incorrect/suspicious entries, etc.
Unfortunately I ran into issues with Excel splitting the conditional formatting ranges when people inserted rows and copied data (http://stackoverflow.com/questions/1...ing-insert-row - Similar Problem).
Ultimately, my solution is to have a macro to delete all conditional formatting, and then re-insert it, this will fix my issues.
I'm having problems applying multiple rules to a single range.
I'm not a VisualBasic native (yet) - so it is probably something really basic.
This code basically detects for columns A and B, if there is a value in the next cell, and highlights the cell blue if it is empty. (i.e. If A1 is blank, but B1 is not, A1 should be blue as an error warning).
I run into issues with the two conditional formats on a single range. As you can see, I have two in there for the column B range, but only one of them will work at a time. Both formulas are valid, but Excel uses the first and ignores the second. (Note: The difference in the formulas is the "RC[-1]" and the "RC[1]" - which changes the cell it is 'watching' from left, to right)
I have multiple conditional formats on single ranges, so I need to know:
How can I set multiple conditional formats on a single range - without secondary format rules being ignored?
I really appreciate your help, it is great to be here and I look forward to learning more!
Thanks!
Bookmarks