words and numbers in an IF function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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 Spoony

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

Cheers
JulieD
 
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
 
Hi

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

(stray ")

Cheers
JulieD
 
=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")
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IF statements 3
nested sumif 5
Data Validation formula problem 1
simplyfy and help on errors 2
If,Then Statement 1
Formulas - Ugh! 5
Show data depending on value 2
Vlookup with part match 5

Back
Top