ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Incorporating Numbers into a text string (https://www.excelbanter.com/excel-worksheet-functions/37048-incorporating-numbers-into-text-string.html)

Gary T

Incorporating Numbers into a text string
 
Hi,

I have a formula that produces a number in cell A1. This is currently
£5,085,030, but can range anywhere from £1 to £999 million.

How do I incorporate this into a cell that will read:

"Split of £5,085,030, based on Build Costs".

?


At the moment, I have

="Split of £"&round(A1,0)& ", based on Build Costs"

But this does not give me the comma separators betwwen the millions,
thousands and hundreds. how do I get them in?

Many Thanks,

Gary Thomson.

Bob Phillips

="Split of "&TEXT(A1,"£#,###,##0")&", based on Build Costs."

--
HTH

Bob Phillips

"Gary T" wrote in message
...
Hi,

I have a formula that produces a number in cell A1. This is currently
£5,085,030, but can range anywhere from £1 to £999 million.

How do I incorporate this into a cell that will read:

"Split of £5,085,030, based on Build Costs".

?


At the moment, I have

="Split of £"&round(A1,0)& ", based on Build Costs"

But this does not give me the comma separators betwwen the millions,
thousands and hundreds. how do I get them in?

Many Thanks,

Gary Thomson.




Gary T

Perfect.

Thanks Bob.




"Bob Phillips" wrote:

="Split of "&TEXT(A1,"£#,###,##0")&", based on Build Costs."

--
HTH

Bob Phillips

"Gary T" wrote in message
...
Hi,

I have a formula that produces a number in cell A1. This is currently
£5,085,030, but can range anywhere from £1 to £999 million.

How do I incorporate this into a cell that will read:

"Split of £5,085,030, based on Build Costs".

?


At the moment, I have

="Split of £"&round(A1,0)& ", based on Build Costs"

But this does not give me the comma separators betwwen the millions,
thousands and hundreds. how do I get them in?

Many Thanks,

Gary Thomson.






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

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