If number is beween X and Y then ... on multiple conditions

TTUK

Board Regular
Joined
Apr 5, 2012
Messages
134
Hi All,

I really need some simple help on this one ...

............F .......G .................H .......I
1......RATE</SPAN>
PREF </SPAN>
SCORE</SPAN>
2......S</SPAN>
Excellent</SPAN>
86</SPAN>
100</SPAN>
3......A*</SPAN>
Very Good</SPAN>
71</SPAN>
85</SPAN>
4......A*</SPAN>
Good</SPAN>
56</SPAN>
70</SPAN>
5......B</SPAN>
Improvement </SPAN>
41</SPAN>
55</SPAN>
6......C</SPAN>
Unsatisfactory</SPAN>
26</SPAN>
40</SPAN>

<TBODY>
</TBODY>

Example
If in DB112 the number is 60 in CT112 i need it to show A*

If in DB112 the number is 99 in CT112 i need it to show S


Note, the numbers are split in to Columns H and I

Thank you,

TTUK
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,079
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Maybe you could be more explanatory.

Where or what are DB112 and CT112?
 

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
20,148
Office Version
  1. 2016
  2. 2013
  3. 2007
Platform
  1. Windows
one way
Code:
=IF(DB112<26,"",IF(DB112<41,F6,IF(DB112<55,F5,IF(DB112<70,F4,IF(DB112<85,F3,IF(DB112<101,F2,""))))))
 

TTUK

Board Regular
Joined
Apr 5, 2012
Messages
134
Hi Momentman,

DB112 is an automatically calculated user score.
CT112 is when I need it to say based upon the score in DB112, what is the RATE given for the score.

It's like when you are taking an exam at school, if the person scores between 41 and 55 in a Test (their score given in DB112) then from the table of Scoring (my table above), they receive the Rating of 'B' ... which will be shown in CT112.

Hope this helps,

TTUK
 

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
20,148
Office Version
  1. 2016
  2. 2013
  3. 2007
Platform
  1. Windows
Glad it worked...(y)
 

Watch MrExcel Video

Forum statistics

Threads
1,129,683
Messages
5,637,773
Members
416,982
Latest member
lisam77

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
Top