Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
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  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default formula with text string

Sorry - I put this question in the wrong forum!
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default formula with text string

redb,
Seems appropriate to me.

=IF(A1=A2,"Nothing Owed",DOLLAR(A1-A2) & " needs to be paid.")

NickHK

"redb" wrote in message
...
Sorry - I put this question in the wrong forum!



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default formula with text string

Thanks! I knew there was a simple solution, but I just couldn't get the
formula to work out. This helps a lot!

"NickHK" wrote:

redb,
Seems appropriate to me.

=IF(A1=A2,"Nothing Owed",DOLLAR(A1-A2) & " needs to be paid.")

NickHK

"redb" wrote in message
...
Sorry - I put this question in the wrong forum!




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default formula with text string

see reply posted to question in excel.misc
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
Nested formula to search a text string and return specific text Barbie Excel Worksheet Functions 10 February 21st 09 07:40 AM
Text String Formula Q Seanie Excel Worksheet Functions 4 October 23rd 08 09:47 AM
Formula Text String: Formatting Text and Numbers? dj479794 Excel Discussion (Misc queries) 5 June 30th 07 12:19 AM
formula for text string Dinesh Excel Worksheet Functions 0 November 3rd 06 05:33 PM
formula with text string redb Excel Discussion (Misc queries) 1 September 29th 05 10:51 AM


All times are GMT +1. The time now is 02:17 PM.

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

About Us

"It's about Microsoft Excel"