I'm using Google Sheets for tracking a currency and I thought this would be a simple thing to do but I can't seem to get it right.
In column E I have a formula D2-C2. In column E I have conditional formatting. If the number is positive then colour the cell green, if it's negative colour the cell red. Simple so far. But then I wanted to add into the mix that if the cell D7 for example is empty then the cell E7 should stay white. For the life of me I just can't seem to work out how to apply this 3rd condition. Would it be using conditional formatting, formulas or a mix of both? Example of table below.
In column E I have a formula D2-C2. In column E I have conditional formatting. If the number is positive then colour the cell green, if it's negative colour the cell red. Simple so far. But then I wanted to add into the mix that if the cell D7 for example is empty then the cell E7 should stay white. For the life of me I just can't seem to work out how to apply this 3rd condition. Would it be using conditional formatting, formulas or a mix of both? Example of table below.