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

#### TTUK

##### Board Regular
Hi All,

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

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

<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
Maybe you could be more explanatory.

Where or what are DB112 and CT112?

#### Michael M

##### Well-known Member
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
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

#### TTUK

##### Board Regular
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,""))))))``

Hi Michael M,

This works wonderfully! Thank you very much!

TTUK

Replies
4
Views
3K
Replies
11
Views
793
Replies
3
Views
141
Replies
4
Views
410
Replies
6
Views
446

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.

### Which adblocker are you using?

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

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