I have the following formula LOOKUP($A12,$A$3:$A$8,$D$3:$D$8) which is a portion of another formula to find the corresponding value from the prior week results by team to the current week results. The goal is to create a formula to calculate whether the current result is => than the prior result in columns D, E, and F; failing to do so adds a deduction to the "Deductions" and correspond to the "Less" column above.
Since the rankings (Weighted Score, column C) are sorted by highest to lowest and the order changes I figured the Lookup formula would do the job but keeps giving me 422 regardless of the lookup_value I point to in the A row.
[TABLE="width: 780"]
<colgroup><col span="3"><col><col><col><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD]Team[/TD]
[TD]Period Complete[/TD]
[TD]Weighted Score[/TD]
[TD]Manufacturer Sales (millions$)[/TD]
[TD]Net Income (millions$)[/TD]
[TD]Stock Price ($)[/TD]
[TD]Capacity Utilization[/TD]
[TD]Shelf Space[/TD]
[TD]Initial Score[/TD]
[TD]Less[/TD]
[TD]Team Score[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]3[/TD]
[TD]97.5[/TD]
[TD]508[/TD]
[TD]138[/TD]
[TD]65.12[/TD]
[TD]98.40[/TD]
[TD]1.79[/TD]
[TD]20[/TD]
[TD]0[/TD]
[TD]20[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]3[/TD]
[TD]85.8[/TD]
[TD]462[/TD]
[TD]107[/TD]
[TD]54.09[/TD]
[TD]100.10[/TD]
[TD]1.65[/TD]
[TD]19[/TD]
[TD]0[/TD]
[TD]19[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]3[/TD]
[TD]60.6[/TD]
[TD]422[/TD]
[TD]59[/TD]
[TD]39.45[/TD]
[TD]80.20[/TD]
[TD]1.94[/TD]
[TD]18[/TD]
[TD]0[/TD]
[TD]18[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]3[/TD]
[TD]58.3[/TD]
[TD]425[/TD]
[TD]57[/TD]
[TD]38.23[/TD]
[TD]105.70[/TD]
[TD]1.58[/TD]
[TD]17[/TD]
[TD]1[/TD]
[TD]16[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]3[/TD]
[TD]57[/TD]
[TD]407[/TD]
[TD]61[/TD]
[TD]37.07[/TD]
[TD]101.10[/TD]
[TD]1.43[/TD]
[TD]16[/TD]
[TD]1[/TD]
[TD]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Prior:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Team[/TD]
[TD]Period Complete[/TD]
[TD]Weighted Score[/TD]
[TD]Manufacturer Sales (millions$)[/TD]
[TD]Net Income (millions$)[/TD]
[TD]Stock Price ($)[/TD]
[TD]Capacity Utilization[/TD]
[TD]Shelf Space[/TD]
[TD]Deductions[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]94.6[/TD]
[TD]454[/TD]
[TD]96[/TD]
[TD]54.58[/TD]
[TD]105.00[/TD]
[TD]1.65[/TD]
[TD]0[/TD]
[TD="align: right"]422[/TD]
[TD="colspan: 2"]<-Should be 508[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2[/TD]
[TD]92.6[/TD]
[TD]434[/TD]
[TD]107[/TD]
[TD]52.43[/TD]
[TD]95.60[/TD]
[TD]1.48[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2[/TD]
[TD]75.3[/TD]
[TD]425[/TD]
[TD]70[/TD]
[TD]44.10[/TD]
[TD]104.90[/TD]
[TD]1.48[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD]61.9[/TD]
[TD]408[/TD]
[TD]52[/TD]
[TD]37.23[/TD]
[TD]105.70[/TD]
[TD]1.45[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD]52.5[/TD]
[TD]379[/TD]
[TD]34[/TD]
[TD]33.70[/TD]
[TD]120.00[/TD]
[TD]1.15[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be appreciated!
Since the rankings (Weighted Score, column C) are sorted by highest to lowest and the order changes I figured the Lookup formula would do the job but keeps giving me 422 regardless of the lookup_value I point to in the A row.
[TABLE="width: 780"]
<colgroup><col span="3"><col><col><col><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD]Team[/TD]
[TD]Period Complete[/TD]
[TD]Weighted Score[/TD]
[TD]Manufacturer Sales (millions$)[/TD]
[TD]Net Income (millions$)[/TD]
[TD]Stock Price ($)[/TD]
[TD]Capacity Utilization[/TD]
[TD]Shelf Space[/TD]
[TD]Initial Score[/TD]
[TD]Less[/TD]
[TD]Team Score[/TD]
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TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Prior:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Team[/TD]
[TD]Period Complete[/TD]
[TD]Weighted Score[/TD]
[TD]Manufacturer Sales (millions$)[/TD]
[TD]Net Income (millions$)[/TD]
[TD]Stock Price ($)[/TD]
[TD]Capacity Utilization[/TD]
[TD]Shelf Space[/TD]
[TD]Deductions[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]94.6[/TD]
[TD]454[/TD]
[TD]96[/TD]
[TD]54.58[/TD]
[TD]105.00[/TD]
[TD]1.65[/TD]
[TD]0[/TD]
[TD="align: right"]422[/TD]
[TD="colspan: 2"]<-Should be 508[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]2[/TD]
[TD]92.6[/TD]
[TD]434[/TD]
[TD]107[/TD]
[TD]52.43[/TD]
[TD]95.60[/TD]
[TD]1.48[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]2[/TD]
[TD]75.3[/TD]
[TD]425[/TD]
[TD]70[/TD]
[TD]44.10[/TD]
[TD]104.90[/TD]
[TD]1.48[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD]61.9[/TD]
[TD]408[/TD]
[TD]52[/TD]
[TD]37.23[/TD]
[TD]105.70[/TD]
[TD]1.45[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD]52.5[/TD]
[TD]379[/TD]
[TD]34[/TD]
[TD]33.70[/TD]
[TD]120.00[/TD]
[TD]1.15[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be appreciated!