Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Spoony_13
 
Posts: n/a
Default words and numbers in an IF function

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?
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Spoony

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

Cheers
JulieD

"Spoony_13" wrote in message
...
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?



  #3   Report Post  
Kevin H. Stecyk
 
Posts: n/a
Default

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


  #4   Report Post  
tjtjjtjt
 
Posts: n/a
Default

Try:
=IF(logical_test,"You owe "&F50,"value_if_false)

tj

"Spoony_13" wrote:

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?

  #5   Report Post  
JulieD
 
Posts: n/a
Default

Hi

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

(stray ")

Cheers
JulieD


"tjtjjtjt" wrote in message
...
Try:
=IF(logical_test,"You owe "&F50,"value_if_false)

tj

"Spoony_13" wrote:

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?





  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

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



Spoony_13 wrote:

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?


--

Dave Peterson
  #7   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Thu, 16 Dec 2004 18:47:01 -0800, Spoony_13
wrote:

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
  #8   Report Post  
tjtjjtjt
 
Posts: n/a
Default

I'll never make a living as a typist. Thanks for the catch.

tj

"JulieD" wrote:

Hi

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

(stray ")

Cheers
JulieD


"tjtjjtjt" wrote in message
...
Try:
=IF(logical_test,"You owe "&F50,"value_if_false)

tj

"Spoony_13" wrote:

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?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"