Change text based on other cell criteria?

K

Ken Hudson

Hi,
Not sure where you are going with this question, but...

Assume that D1=50 and C1=10.
In F1 enter: IF(D1-C1>30,"Change","")
The result will be the word "Change" in F1.
If D1-C1 is not > 30, then F1 will remain blank.
 
G

Gord Dibben

You cannot "push" a value to another cell using a formula.

Formulas can only "pull" to the cell in which they are written.

In F1 enter a formula.

=IF(D1-C1>30,"greater than 30","no change")

You could use VBA code to change the value in F1 based on the results of your
D1-C1 value.


Gord Dibben MS Excel MVP
 
Top