Good Afternoon,
I am hoping the kind people of this forum can help me arrive to a solution. I have basic excel knowledge, but what I am trying to achieve is beyond the scope of my current understanding of excel formulas.
I need to do what I believe is referred to as a reverse lookup (to return header values), but the lookup needs to reference various criteria. The desired formula would be placed into Table 1 / column G (below) and use the corresponding row values to assign a Productivity Rating (1,2,3) from Table 2. The formula would need to reference and match the Year, Month, Business, and Segment values (especially important for Business and Segments).
Thanks in advance for any assistance that you can offer.
Table 1: Results Table ('Closed per Day' = Productivity)
[TABLE="class: grid, width: 510"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Year[/TD]
[TD]Month[/TD]
[TD]Business[/TD]
[TD]Segment[/TD]
[TD]Closed per Day[/TD]
[TD]Productivity Rating[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]1.5[/TD]
[TD]Desired result = 1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]3[/TD]
[TD]Desired result = 2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]2.5[/TD]
[TD]Desired result = 2[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]3[/TD]
[TD]Desired result = 3[/TD]
[/TR]
</tbody>[/TABLE]
Table 2: Ratings & Scales Table
- the ratings (1,2,3) are listed in the headers, and the 'Closed per Day' ranges are listed in the cells
[TABLE="class: grid, width: 510"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Year[/TD]
[TD]Month[/TD]
[TD]Business[/TD]
[TD]Segment[/TD]
[TD]Metric[/TD]
[TD]Category[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]Business Results[/TD]
[TD]Productivity[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]Business Results[/TD]
[TD]Other[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]Business Results[/TD]
[TD]Productivity[/TD]
[TD]1.5[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]Business Results[/TD]
[TD]Other[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
-JJG
I am hoping the kind people of this forum can help me arrive to a solution. I have basic excel knowledge, but what I am trying to achieve is beyond the scope of my current understanding of excel formulas.
I need to do what I believe is referred to as a reverse lookup (to return header values), but the lookup needs to reference various criteria. The desired formula would be placed into Table 1 / column G (below) and use the corresponding row values to assign a Productivity Rating (1,2,3) from Table 2. The formula would need to reference and match the Year, Month, Business, and Segment values (especially important for Business and Segments).
Thanks in advance for any assistance that you can offer.
Table 1: Results Table ('Closed per Day' = Productivity)
[TABLE="class: grid, width: 510"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Year[/TD]
[TD]Month[/TD]
[TD]Business[/TD]
[TD]Segment[/TD]
[TD]Closed per Day[/TD]
[TD]Productivity Rating[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]1.5[/TD]
[TD]Desired result = 1[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]3[/TD]
[TD]Desired result = 2[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]2.5[/TD]
[TD]Desired result = 2[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]3[/TD]
[TD]Desired result = 3[/TD]
[/TR]
</tbody>[/TABLE]
Table 2: Ratings & Scales Table
- the ratings (1,2,3) are listed in the headers, and the 'Closed per Day' ranges are listed in the cells
[TABLE="class: grid, width: 510"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Year[/TD]
[TD]Month[/TD]
[TD]Business[/TD]
[TD]Segment[/TD]
[TD]Metric[/TD]
[TD]Category[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]Business Results[/TD]
[TD]Productivity[/TD]
[TD]2[/TD]
[TD]3[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S1[/TD]
[TD]Business Results[/TD]
[TD]Other[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]Business Results[/TD]
[TD]Productivity[/TD]
[TD]1.5[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2019[/TD]
[TD]January[/TD]
[TD]A[/TD]
[TD]S2[/TD]
[TD]Business Results[/TD]
[TD]Other[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
-JJG