percentage

lezawang

Well-known Member
Joined
Mar 27, 2016
Messages
1,805
Office Version
  1. 2016
Platform
  1. Windows
hi
I have table like the one below. I calculate grade using if() function, a for >80, b for >70 etc. The I used countif() to find out how many a,b,c, and f, I have.

a = 1
b = 10
c = 3
f = 4

My question, I want excel to give me the percentage % of a, b, c, and f. so I want to have something like this

a = 7%
b = 40%
c= 33%
f=20%

Is that possible? Thank you so much
[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]name[/TD]
[TD]mark[/TD]
[TD]grade[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD]100[/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD]70[/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD]40[/TD]
[TD]f[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Maybe just (column E formatted as percentage)...

Excel Workbook
CDE
1grade
2aa50.00%
3bb20.00%
4fc0.00%
5ad20.00%
6ae0.00%
7bf10.00%
8a
9d
10d
11a
Sheet2
 
Upvote 0

Forum statistics

Threads
1,225,757
Messages
6,186,850
Members
453,379
Latest member
gabriellegonzalez

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