Autofill intermediate tables

Mase5701

New Member
Joined
Dec 19, 2018
Messages
6
Is there a built-in way to auto fill an intermediate table with numeric values so it equals the sum of a value entered into a primary table?

My goal here is an order payments system that pays orders on a FIFO basis.

I want to fill tblPayments and have the PaymentAmt then automatically split up into the OrderPayments starting with the earliest OrderDate (I want to add manual controls in later


tblOrdersT ----- tblOrderPayments ----- tblPayments
OrderID PaymentID PaymentID
OrderAmt OrderID PaymentAmt
OrderDate amtApplied

I think I almost have it done but I have a mess of if then macros and action queries, and it seems like I'm going a very round and about way to do what is a simple built-in function.

Thanks.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi,
I don't believe there is any built in feature that would accomplish this.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top