Percent calculation

JohnJP

New Member
Joined
Apr 1, 2016
Messages
4
I know i can do this in multiple cells, but I would like it all to be in one cell.

e.g. - 236/329 (72%)

Just like shown above.

Thanks for your help.

John
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi John,

Do you mean you want to show the actual values of the division in the cell plus the result? Maybe a wee snippet of before and after might help ;-)

Thanks

Dave
 
Upvote 0
Dave,
Thanks, after I posted I realized it wasn't exactly clear. Yes, that is it, I want to show the values and the result. The values change weekly which I enter manually. I need to have the percent calc'd and displayed. I have been getting the percent manually, but I knew there had to be a way to provide a formula for it.

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][TABLE="width: 151"]
<tbody>[TR]
[TD="class: xl65, width: 151"]236/329 (72%)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 151"]
<tbody>[TR]
[TD="class: xl65, width: 151"]240/329 (73%)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Thanks!
John
 
Upvote 0
Hi John

Still a slight bit unsure exactly what you're trying to achieve. You can apply a format to the cell to return a percentage after dividing, or format as fraction but to do both and get all in the one cell as you have displayed you'd need to do the calculation twice in the same cell

Here are a few ideas, are we getting close?


Excel 2007
BCDEF
13Input 1Input 2Format %ageFormat FractionResult??
1423932673%239/326239/326 (73%)
Sheet1
Cell Formulas
RangeFormula
D14=B14/C14
E14=B14/C14
F14=TEXT(B14/C14, "???/???")&" ("&TEXT(B14/C14, "0%")&")"


Regards

Dave
 
Upvote 0
Hi,

Another way:


Excel 2010
ABCD
1236/329236/329 (72%)
2236329236/329 (72%)
Sheet1
Cell Formulas
RangeFormula
D1=A1&" ("&ROUND(236/329,2)*100&"%)"
D2=A2&"/"&B2&" ("&ROUND(A2/B2,2)*100&"%)"
 
Last edited:
Upvote 0
Dave,
Thanks for your help. That is what I am trying to do. Client want s to see it that way.

btw, my wife's grandmother was from Dumbartonshire, McNaughton.
 
Upvote 0
You're welcome, welcome to the forum, glad we can help.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
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