I am trying to create Conditional Formatting in some of the columns of my Excel file. What I'd like it do to is change the background color of the cell to red if the value entered in the cell is not numeric, UNLESS what is entered in the cell is just blank spaces. In that instance, I don't want the conditional formatting to apply.
I have been able to figure out how to do it if the value is not numeric (thanks for the help of some forum posts), but can't figure out how to tell it to not do it if the value in the cell is just blank spaces.
Here's what I have so far. This is affecting cells E8 through E57 on the worksheet.
I tried creating a User Defined Function to figure out if the cell should be changed to red, but that is not a good solution for me, because whenever that runs, using Undo is no longer possible, and the people that use my file need to be able to use Undo. So I need a solution that doesn't rely on VBA code.
Another question I have is, how can I make the rule apply to other cells on the same sheet that are not directly next to the other cells. For instance, I would like this same rule to apply to these ranges: E8:E57, G8:G57, K8:K57
Do I have to create a new rule for each range, or can I have the same rule apply to all of those ranges?
Thanks in advance for any help you can offer. I don't have much experience with Conditional Formatting, and not having an easy time figuring it all out.
I have been able to figure out how to do it if the value is not numeric (thanks for the help of some forum posts), but can't figure out how to tell it to not do it if the value in the cell is just blank spaces.
Here's what I have so far. This is affecting cells E8 through E57 on the worksheet.
I tried creating a User Defined Function to figure out if the cell should be changed to red, but that is not a good solution for me, because whenever that runs, using Undo is no longer possible, and the people that use my file need to be able to use Undo. So I need a solution that doesn't rely on VBA code.
Another question I have is, how can I make the rule apply to other cells on the same sheet that are not directly next to the other cells. For instance, I would like this same rule to apply to these ranges: E8:E57, G8:G57, K8:K57
Do I have to create a new rule for each range, or can I have the same rule apply to all of those ranges?
Thanks in advance for any help you can offer. I don't have much experience with Conditional Formatting, and not having an easy time figuring it all out.
Last edited: