goofy78270
Well-known Member
- Joined
- May 16, 2007
- Messages
- 555
I was wondering if it was possible to lookup a value within a given range. I am pretty sure that an example will explain this better than my words.
A B C D
Class A 0 60 F
Class A 60.01 70 D
Class A 70.01 80 C
Class A 80.01 90 B
Class A 90.01 125 A
Class B 0 70 F
Class B 70.01 76 D
Class B 76.01 81 C
Class B 81.01 92 B
Class B 92.01 125 A
If a grade (68.23) is given in class A, the result would be a D but in class B, the result would be an F. I am looking to match the values in column A with the desired worksheet or column heading and then evaluate if a given grade is greater than Column B but less than Column C and return the value for Column D.
A B C D
Class A 0 60 F
Class A 60.01 70 D
Class A 70.01 80 C
Class A 80.01 90 B
Class A 90.01 125 A
Class B 0 70 F
Class B 70.01 76 D
Class B 76.01 81 C
Class B 81.01 92 B
Class B 92.01 125 A
If a grade (68.23) is given in class A, the result would be a D but in class B, the result would be an F. I am looking to match the values in column A with the desired worksheet or column heading and then evaluate if a given grade is greater than Column B but less than Column C and return the value for Column D.