Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Using multiple IF statements to do the SCORING

$
0
0
I have to do the scoring of a list, giving the scores from "Minus Two -2" to the "Plus Two 2" based on the criteria given below -


Scoring Criteria -

If > 4 ------------------------------ 2
If > 2 and < 4 ---------------------- 1
If < 2 and > - 2 -------------------- 0
If < - 2 and > - 4 ------------------ -1
If < - 4 ---------------------------- -2

I do not want to do this through Vlookup method, instead I prefer using the nested IF statements. But somehow I am not being able to get it right. Could someone please suggest a solution to this.

Thanks

Viewing all articles
Browse latest Browse all 13329

Trending Articles