I'm working to create an allocation model to quickly determine whether or not an order can be supported when compared to the available inventory. For example, I have 3 customers, each in their own tier (1,2,3). Tier 1 customers will have priority and first dibs at the available inventory, then Tier 2 so on. With the example below, I'd like some way to highlight/signal that we will not have enough allocation to support Customer 3 and Customer 2.
[TABLE="width: 192"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Customer[/TD]
[TD]Tier[/TD]
[/TR]
[TR]
[TD]Customer 1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Customer 2[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Customer 3[/TD]
[TD="align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 483"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD]Item[/TD]
[TD]Account[/TD]
[TD]Orders[/TD]
[TD]Inventory[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Inventory[/TD]
[TD][/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Customer 1[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Customer 2[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Customer 3[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
Thank you!
[TABLE="width: 192"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Customer[/TD]
[TD]Tier[/TD]
[/TR]
[TR]
[TD]Customer 1[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Customer 2[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Customer 3[/TD]
[TD="align: right"]2[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 483"]
<colgroup><col><col span="3"></colgroup><tbody>[TR]
[TD]Item[/TD]
[TD]Account[/TD]
[TD]Orders[/TD]
[TD]Inventory[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Inventory[/TD]
[TD][/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Customer 1[/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Customer 2[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Customer 3[/TD]
[TD="align: right"]9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
Thank you!