words and numbers in an IF function

S

Spoony_13

I am using an IF function and I want my TRUE value to say "YOU OWE X" with
the "X" being the numerical value cell F50. The way I am setting it up, it
keeps reading "YOU OWE F50." How can I get the cell to read the number in
F50 instead of just F50?
 
J

JulieD

Hi Spoony

=IF(test_bit,"You owe " & F50,false_bit)
or
=IF(test_bit, "You owe " & TEXT(F50,"$#,###.00"),false_bit)

Cheers
JulieD
 
K

Kevin H. Stecyk

Spoony_13wrote...
I am using an IF function and I want my TRUE value to say "YOU OWE X" with
the "X" being the numerical value cell F50. The way I am setting it up,
it
keeps reading "YOU OWE F50." How can I get the cell to read the number in
F50 instead of just F50?

Hi,

Try,

="You owe " & TEXT(F50,"$0.00")

That is one way.

Best regards,
Kevin
 
J

JulieD

Hi

i think you mean
=IF(logical_test,"You owe "&F50,value_if_false)

(stray ")

Cheers
JulieD
 
D

Dave Peterson

=if(a1="something","You owe "&F50,"")
or maybe
=if(a1="something","You owe "&text(F50,$0.00"),"")

Same kind of thing for time/date:

"Pay by: " & text(now(),"mm/dd/yyyy hh:mm:ss")
 
R

Ron Rosenfeld

I am using an IF function and I want my TRUE value to say "YOU OWE X" with
the "X" being the numerical value cell F50. The way I am setting it up, it
keeps reading "YOU OWE F50." How can I get the cell to read the number in
F50 instead of just F50?

If(logical_test, "YOU OWE " & F50, value_if_false)


--ron
 
Top