calculate the number of occurrences of a "Letter" based on a percentage

scottmcclean

New Member
Joined
Jul 2, 2014
Messages
33
Office Version
  1. 365
Platform
  1. Windows
Hi there,
I hope you can point me in the right direction. I am trying to create a RAG status report and have a 4 cells that contain a letter based on a score. I would like to total that range of cells using a weighted percentage so that it returns a letter value based on that percentage weighting. E.g if there are three letter "G's" (75%) in the range then I would like the total to display a "G". If there was one "G", two "A's" and an "R" (25%) I would like it to display "R" in the total.

Team Rating
Team1 R
Team1 G
Team1 A
Team1 R

Overall XXX

IF "G" is >75% then insert "G"
IF "A" is >50% then insert "A"
IF "R" is >=25% then insert "R"

I am struggling to figure out how I could do this as a formula, so would appreciate any pointers. I would like to have the % within the fomula so that I can change if necessary

Many thanks
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
=COUNTIF()/COUNTA() will get you your percentage of a certain letter. Then, just use your IF logic to get the right value.
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,499
Members
449,089
Latest member
Raviguru

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