ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Concatenating % (https://www.excelbanter.com/excel-discussion-misc-queries/110913-concatenating-%25.html)

confused

Concatenating %
 
I have two cells, showing a value of 5.25% and 6.75%.
I need it to show 5.25%/6.75%.
The problem is, the numbers will change.
If I use the concatenate function, it comes out as 0.528/0.0675.
I need to show as a percent.

[email protected]

Concatenating %
 
Confused wrote:
I have two cells, showing a value of 5.25% and 6.75%.
I need it to show 5.25%/6.75%.
The problem is, the numbers will change.
If I use the concatenate function, it comes out as 0.528/0.0675.
I need to show as a percent.


Does the following do it for you?

=text(5.25/100,"0.00%") & "/" & text(6.75/100,"0.00%")

Of course, 5.25/100 and 6.75/100 can be replaced by any numerical
expression.


Max

Concatenating %
 
One way ..

Assuming source data in A1:B1,
put in C1:
=TEXT(A1,"0.00%")&"/"&TEXT(B1,"0.00%")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Confused" wrote:
I have two cells, showing a value of 5.25% and 6.75%.
I need it to show 5.25%/6.75%.
The problem is, the numbers will change.
If I use the concatenate function, it comes out as 0.528/0.0675.
I need to show as a percent.



All times are GMT +1. The time now is 07:31 AM.

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