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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
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,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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