Lookup function

youngy_6948

New Member
Joined
Oct 24, 2015
Messages
6
this is going to be a dreadful explanation so i will apologise but i shall try my best basically i have 2 look up tables higher and lower 2 columns where date can be imputed higher and lower but i want my answer to be displayed in only 1 column ill try and demonstrate below
higherlowergrade

<tbody>
</tbody>

so i want the grade to be displayed irrespective of whether i put an answer in higher or lower the problem is higher has a different lookup table to lower as they have different grade boundaries can anyone help??? i have two look up tables one called higher and one called lower which has numbers from 0-100 with corresponding grades

thanks in advance
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
can you list your grade boundaries
A+ 100-90
A 89 - 89

etc
 
Upvote 0
higher would be;
0U
1U
2U
3U
4U
5U
6U
7U
8U
9U
10U
11U
12U
13U
14U
15U
16U
17U
18U
19U
20U
21U
22U
23U
24U
25U
26U
27U
28U
29U
30E
31E
32E
33E
34E
35E
36E
37E
38E
39E
40D
41D
42D
43D
44D
45D
46D
47D
48D
49D
50C
51C
52C
53C
54C
55C
56C
57C
58C
59C
60B
61B
62B
63B
64B
65B
66B
67B
68B
69B
70A
71A
72A
73A
74A
75A
76A
77A
78A
79A
80*A
81*A
82*A
83*A
84*A
85*A
86*A
87*A
88*A
89*A
90*A
91*A
92*A
93*A
94*A
95*A
96*A
97*A
98*A
99*A
100*A

<colgroup><col><col></colgroup><tbody>
</tbody>


lower would be;

0U
1U
2U
3U
4U
5U
6U
7U
8U
9U
10U
11U
12U
13U
14U
15U
16U
17U
18U
19U
20U
21U
22U
23U
24U
25U
26U
27U
28U
29U
30G
31G
32G
33G
34G
35G
36G
37G
38G
39G
40F
41F
42F
43F
44F
45F
46F
47F
48F
49F
50E
51E
52E
53E
54E
55E
56E
57E
58E
59E
60D
61D
62D
63D
64D
65D
66D
67D
68D
69D
70C
71C
72C
73C
74C
75C
76C
77C
78C
79C
80C
81C
82C
83C
84C
85C
86C
87C
88C
89C
90C
91C
92C
93C
94C
95C
96C
97C
98C
99C
100C

<colgroup><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
LIKE THIS

Excel Workbook
ABC
1HigherLower
2*A100-80
3A79-70
4B69-60
5C59-50100-70
6D49-4069-60
7E39-3059-50
8F49-40
9G39-30
10U29-029-0
Sheet1
 
Upvote 0
say your Higher lookup value is in B12 then

=LOOKUP(B12,{0,30,40,50,60,70,80},{"U","E","D","C","B","A","*A"}) returns that

An IF would allow you to check for High existing and if it didn't look in the Low for a range

which could become

=IF(B12<>"",LOOKUP(B12,{0,30,40,50,60,70,80},{"U","E","D","C","B","A","*A"}),LOOKUP(C12,{0,30,40,50,60,70},{"U","G","F","E","D","C"}))
 
Last edited:
Upvote 0
legendary thank you i knew there had to be a more dynamic way keep your eyes pinned making a hell of a spreadsheet for the wife so the enslaught will no doubt continue tomorrow

thank again
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,831
Members
449,471
Latest member
lachbee

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