Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Concatenate, currency & sum formula

I am using the concatenate function to add an asterisk at the end of a currency formula in a cell but it is not recognizing the currency. My formula is below:

=concatenate("$",sum(d25,c26),"*")

My answer in the cell is $102387327.45

This does not have a "," and it would not have a $ if I would have not added it. Thanks!!!!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 829
Default Concatenate, currency & sum formula

"mcoker1" wrote:
I am using the concatenate function to add an asterisk at the end of a
currency formula in a cell but it is not recognizing the currency. My
formula is below:
=concatenate("$",sum(d25,c26),"*")

[....]
This does not have a "," and it would not have a $ if I would have not
added it. Thanks!!!!


One way:

=D25+C26

formatted as Custom $#,##0.00\* . That preserves the numeric type of the
cell, so you can still reference in other formulas.

Alternatively, if you want a text result:

=TEXT(D25+C26,"$#,##0.00\*")

perhaps formatted with Right Horizontal Alignment.

Use SUM(D25,C26) instead of D25+C26 only if D25 or C26 might contain
(non-numeric) text, and you want to avoid a #VALUE error in that case.

  #3   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by joeu2004[_2_] View Post
"mcoker1" wrote:
I am using the concatenate function to add an asterisk at the end of a
currency formula in a cell but it is not recognizing the currency. My
formula is below:
=concatenate("$",sum(d25,c26),"*")

[....]
This does not have a "," and it would not have a $ if I would have not
added it. Thanks!!!!


One way:

=D25+C26

formatted as Custom $#,##0.00\* . That preserves the numeric type of the
cell, so you can still reference in other formulas.

Alternatively, if you want a text result:

=TEXT(D25+C26,"$#,##0.00\*")

perhaps formatted with Right Horizontal Alignment.

Use SUM(D25,C26) instead of D25+C26 only if D25 or C26 might contain
(non-numeric) text, and you want to avoid a #VALUE error in that case.
GREAT!!! Thank you so much! I used the second option and it worked. I had tried difference formulas for over an hour. Such a relief!
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
Concatenate with currency w/2 decimal places Excel[_6_] Excel Programming 1 August 3rd 09 05:31 PM
Currency formula nishkrish Excel Worksheet Functions 7 February 19th 09 09:14 PM
lookup formula for currency Graham New Users to Excel 2 April 18th 08 07:19 PM
Currency Formula Ben Excel Discussion (Misc queries) 1 January 25th 08 01:58 AM
How do I concatenate two currency cells to show a price range? nevermore627 Excel Worksheet Functions 5 June 30th 06 05:03 PM


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