I have the following IF
condition in some cell:
=IF(A1>A2, "value is <C5>", "value is <D5>")
where <C5>
and <D5>
should be the values of cells C5
and D5
.
I know it is a simple question but searching was not successful. I don't really know how to phrase this.
=IF(A1>A2, C5, D5)
"value is %s, D5"
. don't know what the syntax is.