I have some formulas in my worksheet that turn out NA errors. I would like to make the worksheet look clean so I don't want the errors to display.
In the past, I used an IFERROR function to handle this and to display blank ("") in case of error. This worked totally fine until I added sparklines to the worksheet. Now I really need the NA and not blanks because blanks are handeled as zero by the sparklines. I need the sparklines to show a gap in case of error.
I wanted to turn the font white in case of error so that the NA errors are not visible. My problem is that I have other conditional formattings in the same area that change the background color. Meaning that some of the errors would be displayed white on a blue background.
I could start writing more formulas to the conditional formatting:
1) if both condition 1 and 2 are true => turn font blue and background blue
2) if condition 1 is true and condition 2 is false => turn font white
3) if condition 2 is true and condition 1 is false => turn background blue
This would get even more complicated if I had more conditions. I feel like there must be a better way - like if condition 1 is true, then adapt to the remaining formatting (conditinal formatting included) of the cell. I tried looking in the conditional formatting dialog boxes for something like "make invisible by mimicking the background color" but I haven't found anything.
Any ideas?
Bookmarks