Hello, I'm working on a spreadsheet that is really doing some simple things. But I am writing it for some folks who are not necessarily the most savvy. So I am setting up some cells to do evaluation for them. These cells will tell them whether all of four column totals match the total of a single other column. Then I have a cell next to the preceding cell that will say "Missing" or "Good".
Now, right now, one of my cells is working perfect. It does the math AND applies a STYLE to it. But the other cell, which is dependant on the value of said cell, isn't working so hot. Here is the formula that I have in the cell that
works:
Code: Select all
=IF(F49+G49+H49+I49<>D50; D50-(F49+G49+H49+I49); 0)+STYLE(IF(CURRENT()<>0; "ORANGE"; "GREEN"))
Here is the code of the cell which
ISN'T working, but dependant on the value of the other cell:
Code: Select all
=IF(I50<>0; """"missing""""; """"good"""")+STYLE(IF(I50<>0; "ORANGE"; "GREEN"))
Now, if I separate the evaluation formula and put it in a single other cell, that cell behaves correctly and says "Missing" or "Good". And, if I put the STYLE equation in yet another cell again, that works just fine. It has to do I think with combining the two processes. But why doesn't the other cell freak out when combining the two equations???!!!!!
If I need to make a screenshot then let me know if that would help. I guess we can upload screenshots can't we??
Anyway, thanks for your help in advance and have a great day!!
SOLVED::: acknak was correct in that I could do what I needed by using Conditional Formatting. I don't have the text in there but they at least change colors which is a visual key !!! Thank you acknak!