Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
redb
 
Posts: n/a
Default formula with text string

Okay, my problem is as follows:
A1=10
A2=5
In D1, the formula is:
=IF(A1=A2,"Nothing Owed",(A1-A2)&" needs to be paid.")

At the moment, D1 says "5 needs to be paid.", but I want it to say "$5.00
needs to be paid." How do I change the formula? (All cells are designed to
show as currency.)

Thanks so much, I just can't seem to make it work!

  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi

Try
=IF(A1=A2,"Nothing Owed","$"&text((A1-A2),"0.00"&" needs to be paid.")

Regards

Roger Govier


redb wrote:
Okay, my problem is as follows:
A1=10
A2=5
In D1, the formula is:
=IF(A1=A2,"Nothing Owed",(A1-A2)&" needs to be paid.")

At the moment, D1 says "5 needs to be paid.", but I want it to say "$5.00
needs to be paid." How do I change the formula? (All cells are designed to
show as currency.)

Thanks so much, I just can't seem to make it work!

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Being treated as Text BBB Excel Worksheet Functions 2 September 20th 05 05:38 PM
specify range name in formula with concatenated string Lori H Excel Worksheet Functions 2 July 19th 05 03:07 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Coverting Formula to Text Catch 22 Excel Discussion (Misc queries) 3 April 1st 05 01:13 AM
How to insert carriage return in the middle of a text formula to . Dave Excel Discussion (Misc queries) 2 March 17th 05 02:14 PM


All times are GMT +1. The time now is 03:05 PM.

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"