Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Formating numbers &"Text" to appear as currency &"Text" in formula

Hi,
There was no prior question to this issue. So I thought this would be a
challenge...

Using Windows XP with Excel 2003. The content of the cell is:
=if(A1A2," You owe me "&(A2-A1),if(A1<A2,"I owe you "&(A1-A2),"No
outstandings"),"")

Sample of outcome is
You owe me 556677.123

Would like the outcome to be
You owe me $556,677.13

Already tried changing cell format to Currency but still appears as sample
outcome. Thank you for all responses.

PS: A hearty appreaciation if anyone sends me $556,677.13 :D
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Formating numbers &"Text" to appear as currency &"Text" in formula

" You owe me "&TEXT(A2-A1,"$#,##0.00")
etc.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"Robin K." wrote in message
...
Hi,
There was no prior question to this issue. So I thought this would be a
challenge...

Using Windows XP with Excel 2003. The content of the cell is:
=if(A1A2," You owe me "&(A2-A1),if(A1<A2,"I owe you "&(A1-A2),"No
outstandings"),"")

Sample of outcome is
You owe me 556677.123

Would like the outcome to be
You owe me $556,677.13

Already tried changing cell format to Currency but still appears as sample
outcome. Thank you for all responses.

PS: A hearty appreaciation if anyone sends me $556,677.13 :D



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Formating numbers &"Text" to appear as currency &"Text" in formula

I don't have that kind of money to give away, but I can give you my
solution to your problem - use the TEXT function, like so:

=if(A1A2," You owe me "&TEXT(A2-A1,"$0.00"),if(A1<A2,"I owe you
"&TEXT(A1-A2,"$0.00"),"No outstandings"))

Hope this helps.

Pete

On May 2, 3:46 pm, Robin K. wrote:
Hi,
There was no prior question to this issue. So I thought this would be a
challenge...

Using Windows XP with Excel 2003. The content of the cell is:
=if(A1A2," You owe me "&(A2-A1),if(A1<A2,"I owe you "&(A1-A2),"No
outstandings"),"")

Sample of outcome is
You owe me 556677.123

Would like the outcome to be
You owe me $556,677.13

Already tried changing cell format to Currency but still appears as sample
outcome. Thank you for all responses.

PS: A hearty appreaciation if anyone sends me $556,677.13 :D



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Formating numbers &"Text" to appear as currency &"Text" in formula

=if(A1A2," You owe me "&TEXT(A2-A1,"$#,##0.00"),if(A1<A2,"I owe you
"&TEXT(A1-A2,"$#,##0.00"),"No outstandings"),"")

If you want to do the rounding up of .123 to .13, then include
ROUNDUP(...,2)
--
David Biddulph

"Robin K." wrote in message
...
Hi,
There was no prior question to this issue. So I thought this would be a
challenge...

Using Windows XP with Excel 2003. The content of the cell is:
=if(A1A2," You owe me "&(A2-A1),if(A1<A2,"I owe you "&(A1-A2),"No
outstandings"),"")

Sample of outcome is
You owe me 556677.123

Would like the outcome to be
You owe me $556,677.13

Already tried changing cell format to Currency but still appears as sample
outcome. Thank you for all responses.

PS: A hearty appreaciation if anyone sends me $556,677.13 :D



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Formating numbers &"Text" to appear as currency &"Text" in formula

try this

=IF(A1A2," You owe me " &DOLLAR(A2-A1),IF(A1<A2,"I owe you
"&DOLLAR(A1-A2),"No outstandings"))

"Robin K." wrote:

Hi,
There was no prior question to this issue. So I thought this would be a
challenge...

Using Windows XP with Excel 2003. The content of the cell is:
=if(A1A2," You owe me "&(A2-A1),if(A1<A2,"I owe you "&(A1-A2),"No
outstandings"),"")

Sample of outcome is
You owe me 556677.123

Would like the outcome to be
You owe me $556,677.13

Already tried changing cell format to Currency but still appears as sample
outcome. Thank you for all responses.

PS: A hearty appreaciation if anyone sends me $556,677.13 :D



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formating numbers &"Text" to appear as currency &"Text" in formula

One mo

=IF(A1=A2,"No Outstandings",
IF(A1A2,"You owe me ","I owe you ")&TEXT(ABS(A1-A2),"$#,##0.00"))

(all one cell)

Robin K. wrote:

Hi,
There was no prior question to this issue. So I thought this would be a
challenge...

Using Windows XP with Excel 2003. The content of the cell is:
=if(A1A2," You owe me "&(A2-A1),if(A1<A2,"I owe you "&(A1-A2),"No
outstandings"),"")

Sample of outcome is
You owe me 556677.123

Would like the outcome to be
You owe me $556,677.13

Already tried changing cell format to Currency but still appears as sample
outcome. Thank you for all responses.

PS: A hearty appreaciation if anyone sends me $556,677.13 :D


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Formating numbers &"Text" to appear as currency &"Text" in formula

Thank you to Jon, Mike, Pete, David and Dave!

To reader,
If you find their replies helpful, please vote Yes! to them. Thank you.

"Robin K." wrote:

Hi,
There was no prior question to this issue. So I thought this would be a
challenge...

Using Windows XP with Excel 2003. The content of the cell is:
=if(A1A2," You owe me "&(A2-A1),if(A1<A2,"I owe you "&(A1-A2),"No
outstandings"),"")

Sample of outcome is
You owe me 556677.123

Would like the outcome to be
You owe me $556,677.13

Already tried changing cell format to Currency but still appears as sample
outcome. Thank you for all responses.

PS: A hearty appreaciation if anyone sends me $556,677.13 :D

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
Text "comparison" operator for "contains" used in an "IF" Function Pawaso Excel Worksheet Functions 4 April 4th 23 11:35 AM
Excel: Changing "numeric $" to "text $" in a different cell. Heather_CCF Excel Worksheet Functions 1 September 5th 06 06:06 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 01:08 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"