Hi,
I wonder if anyone can help please I am pulling data from a dynamic source and need to find a way to round my figure to a value divisble by a value based on pallet qty.
let me explain, I have created a make table query which is pulling data from several tables in a legacy system such as shown below
TotQty NoOrd AvOrdQty TopUpQty PalletQty
3000 2 1500 =AvOrderQty*3 700
As you can see what I am doing is dividing TotQty by NoOrd to get the AvOrdQty then multiplying it by 3, my problem is that after this is done I need to make sure that the TopupQty is a exact multiple of the palletQty.
Therefore in this instance the topupQty would be 4500 therfore in this case I would need the topUpQty to be either rounded down 4200 or rounded up to 4900.
I have approx 500 rows of data all with different values based on what is extracted from the legacy tables.
Can anyone suggest a way in which I might accomplish this please
Regards
Paul
I wonder if anyone can help please I am pulling data from a dynamic source and need to find a way to round my figure to a value divisble by a value based on pallet qty.
let me explain, I have created a make table query which is pulling data from several tables in a legacy system such as shown below
TotQty NoOrd AvOrdQty TopUpQty PalletQty
3000 2 1500 =AvOrderQty*3 700
As you can see what I am doing is dividing TotQty by NoOrd to get the AvOrdQty then multiplying it by 3, my problem is that after this is done I need to make sure that the TopupQty is a exact multiple of the palletQty.
Therefore in this instance the topupQty would be 4500 therfore in this case I would need the topUpQty to be either rounded down 4200 or rounded up to 4900.
I have approx 500 rows of data all with different values based on what is extracted from the legacy tables.
Can anyone suggest a way in which I might accomplish this please
Regards
Paul