Generating 2 rows on a different spreadsheet based on a value

The_Pretender

New Member
Joined
Aug 20, 2019
Messages
1
Hi All

Our accounts software accepts bulk upload of journals from excel, the format is as below:

Batch DateBatch DescriptionBatch TypeMainLocationNatDept Amount DescriptionJournal Code
20/08/2019Bank Payments AugustN1645000000000000 678.26 MOTL61T10
20/08/2019Bank Payments AugustN5119000000091005- 678.26 MOTL61T10
20/08/2019Bank Payments AugustN1645000000000000 633.52 COML57T10
20/08/2019Bank Payments AugustN5119000000091005- 633.52 COML57T10
20/08/2019Bank Payments AugustN1645000000000000 186.50 WELD06T10
20/08/2019Bank Payments AugustN5119000000091005- 186.50 WELD06T10
20/08/2019Bank Payments AugustN1645000000000000 243.02 DUMP37T10
20/08/2019Bank Payments AugustN5119000000091005- 243.02 DUMP37T10

<colgroup><col><col><col><col><col><col span="2"><col><col><col></colgroup><tbody>
</tbody>


In the above, a positive amount is a debit and a negative is a credit. In the above, our leasing liability account is 164500 while the bank account is 511900.

What I'm looking to do is prepare a leasing payments schedule that can generate these entries automatically. An example of what I mean would be the below table being our "control" where payment date and amount are entered from our bank statement:

Payment DatePayment Amount
20/08/2019678.26
20/08/2019633.52
20/08/2019186.5
20/08/2019243.02

<colgroup><col span="2"></colgroup><tbody>
</tbody>

In another sheet in the workbook, I would then like the journal to pull the description from a separate workbook and generate the above journals, ready to be uploaded. The vast majority of our leases are different values, so 678.26 should easily pick up that it's MOTL61 as that is the only lease of that value. There are a few leases which are for the same values, but these are for related items and are always collected on the same day e.g. if we have for leases for 500 per month, all four will have different descriptions (MOTL1, MOTL2, MOTL3 & MOTL4) but all will be collected on the same day. Is there a way of including a third column above, so that if multiple payments of the same amount are collected then these will all pull across the correct references?

Payment DatePayment AmountIf multiple entries at same value, how many?
20/08/2019678.26
20/08/2019633.52
20/08/2019186.5
20/08/2019243.02
20/08/20195004

<colgroup><col span="2"><col></colgroup><tbody>
</tbody>

If any of the above could be implemented it would greatly speed up my monthly bookings, so any help with this would be much appreciated.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,216,110
Messages
6,128,895
Members
449,477
Latest member
panjongshing

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