ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   putting two functions together (https://www.excelbanter.com/excel-discussion-misc-queries/215333-putting-two-functions-together.html)

Candace

putting two functions together
 
I am using a function called SpellNumber

=SpellNumber(J28)

.... to automatically enter a dollar amount in words, and it works just fine.
But I want to place two asterisks (**) before and after those words. So I
tried using the CONCATENATE formula

=CONCATENATE(**,=SpellNumber(J28),**)

.... but it am getting an error message saying that this formula is not
formatted correctly. What is wrong with my formatting? Please help.

Mike H

putting two functions together
 
Try,

="**" &SpellNumber(J28)&"**"

Mike

"Candace" wrote:

I am using a function called SpellNumber

=SpellNumber(J28)

... to automatically enter a dollar amount in words, and it works just fine.
But I want to place two asterisks (**) before and after those words. So I
tried using the CONCATENATE formula

=CONCATENATE(**,=SpellNumber(J28),**)

... but it am getting an error message saying that this formula is not
formatted correctly. What is wrong with my formatting? Please help.


joel

putting two functions together
 
You are missing the double quotes and don't need the 2nd equal sign.

=CONCATENATE("**",SpellNumber(J28),"**")


"Candace" wrote:

I am using a function called SpellNumber

=SpellNumber(J28)

... to automatically enter a dollar amount in words, and it works just fine.
But I want to place two asterisks (**) before and after those words. So I
tried using the CONCATENATE formula

=CONCATENATE(**,=SpellNumber(J28),**)

... but it am getting an error message saying that this formula is not
formatted correctly. What is wrong with my formatting? Please help.



All times are GMT +1. The time now is 10:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com