Nested IF Statement multiple condtions

Excelwig

New Member
Joined
Oct 20, 2014
Messages
47
Hi can anyone help with this one

I working on a stats sheet and I have people with 2 different scores and a table for reference that gives them the ranking value. I'm not sure nested if are the way to go so any suggestions are welcome

A1 A2 A3 A4
Agent Name Score 1 Score 2 Rating
Agent 1 54% 112.50%
Agent 2 79% 105.50%
Agent 3 75% 130.50%

There reference table looks like

L1 L2 L3
Score 1 Score 2 Rating
85% 120% A
70% 110% B
60% 100% C
50% 90% D
40% 80% E


It needs to look at if there score 1 is 85% and score 2 is 120% then rating is A, else if score 1 is 70% and score 2 is 110% rating is B etc
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
well if score 1 = 85% and score 2 = 120% then (rating) cell A4 shows A, and if score 1 = 70% and score 2 = 110% then (rating) cell A4 shows B
 
Upvote 0
What I meant is Agent 1 has 54% and 112.50%. What is the output of that? What about the other two agents?
 
Upvote 0
What do you do if Score 1 is A and Score 2 is B?

Have you considered simplifying this (if possible, of course) by first calculating an Average of Score 1 and Score 2, and then assigning a Rating based on that Average?

For example:

Ratings table[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Average Score
[/TD]
[TD]Rating
[/TD]
[/TR]
[TR]
[TD]100
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]90
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]80
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]70
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]60
[/TD]
[TD]E
[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Agent Name
[/TD]
[TD]Score 1
[/TD]
[TD]Score 2
[/TD]
[TD]Average Score
[/TD]
[TD]Rating
[/TD]
[/TR]
[TR]
[TD]Agent 1
[/TD]
[TD]54%
[/TD]
[TD]112.50%
[/TD]
[TD]83.25%
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]Agent 2
[/TD]
[TD]79%
[/TD]
[TD]105.50%
[/TD]
[TD]92.25%
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]Agent 3
[/TD]
[TD]75%
[/TD]
[TD]130.50%
[/TD]
[TD]102.75%
[/TD]
[TD]A
[/TD]
[/TR]
</tbody>[/TABLE]

If this works for you, then you can use a vlookup to achieve the result. Will it work?
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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