Same cell Text and Formula problem

The Grim Discovery

Board Regular
Joined
Jan 23, 2015
Messages
244
Office Version
  1. 365
Platform
  1. Windows
Hiya

Could anyone make any sense of this for me?

In cell A12 (which is formatted to return a percentage total with no decimals) I've got the formula:

=$F$12/$H$12

where F12=2 & H12 = 79

This returns a total of 3% - which is accurate enough for my purposes.

But when I preface that formula in A12 with the text I also want in the cell:

="Received by Deadline: "& $F$12/$H$12

It produces the following:
[TABLE="width: 117"]
<colgroup><col width="156" style="width: 117pt; mso-width-source: userset; mso-width-alt: 5705;"> <tbody>[TR]
[TD="class: xl63, width: 156, bgcolor: transparent"]Received by Deadline: 0.025974025974026[/TD]
[/TR]
</tbody>[/TABLE]

I cant find a way to change this to the simple percentage of 3% that it produces when there is no text in the cell. Where am I going wrong with this?

Thanks in advance.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi,

You have to explicitly cast the value as text:

="
Received by Deadline: "&text($F$12/$H$12;"0%")

Or if you want more decimals:
="Received by Deadline: "&text($F$12/$H$12;"0.00%")

Cheers!
 
Upvote 0

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top