gmmark1125
New Member
- Joined
- Oct 24, 2017
- Messages
- 5
Hello,
I have a workbook that we are using at work to track material allocations to work orders. What it does is show the customer order, the material it is short on, the job that exists that could satisfy the shortage, the quantity remaining of that job to fulfill the shortage, and the next available job to fulfill the quantity. What I need is for the record that has a value less than zero in the "Shortage Fulfillment Job Remaining Quantity" to update the value in the "Shortage Fulfillment Job" column with the job displayed in the "Next Available Fulfillment" column. The "Next Available Fulfillment" column
I have tried doing this with just formulas but it creates a circular reference problem. I figured VBA was the way to go with this but I am no where near skilled enough with VBA to do so. Any help is greatly appreciated!
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]Order#[/TD]
[TD]Material Short[/TD]
[TD]Shortage Fulfillment Job[/TD]
[TD]Shortage Fulfillment Job Remaining Qty[/TD]
[TD]Next Available Fulfillment[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]2[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]1[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]0[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]-1[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I have a workbook that we are using at work to track material allocations to work orders. What it does is show the customer order, the material it is short on, the job that exists that could satisfy the shortage, the quantity remaining of that job to fulfill the shortage, and the next available job to fulfill the quantity. What I need is for the record that has a value less than zero in the "Shortage Fulfillment Job Remaining Quantity" to update the value in the "Shortage Fulfillment Job" column with the job displayed in the "Next Available Fulfillment" column. The "Next Available Fulfillment" column
I have tried doing this with just formulas but it creates a circular reference problem. I figured VBA was the way to go with this but I am no where near skilled enough with VBA to do so. Any help is greatly appreciated!
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD]Order#[/TD]
[TD]Material Short[/TD]
[TD]Shortage Fulfillment Job[/TD]
[TD]Shortage Fulfillment Job Remaining Qty[/TD]
[TD]Next Available Fulfillment[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]2[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]1[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]0[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Mtl1[/TD]
[TD]Job A[/TD]
[TD]-1[/TD]
[TD]Job B[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]