Bank Recon where date and amount is common & Bank provide single entry for bulk transaction & in books we record in each entry individually

Harmandeep

New Member
Joined
Dec 19, 2022
Messages
19
Office Version
  1. 365
Platform
  1. Windows
Dear Excel Experts,

I am also stuck on the same situation. I have to do bank recon, where bank gives combined payment entry for particular Date & in our books we records as individual entry.E.g on Date 12/12/2022 Bank Cr Amount 10,000 with single transaction & in our books we have recorded Dr Amount 10,000 with 10 transaction. I have to matched individually with diff promotion combination adding diff amount.

If anybody have any solution for this, Pls share. It would be great help.


Regards,
Harmandeep Singh
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Bank Recon where date and amount is common & Bank provide single entry for bulk transaction & in books we record in each entry individually
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Hi Peter

Pfb the link of other fourm where this question is posted.


Regards,
Harmandeep Singh
 
Upvote 0
I am also attaching Sample file with expected result.
 

Attachments

  • Bank Recon.PNG
    Bank Recon.PNG
    58.4 KB · Views: 12
Upvote 0
I cannot guarantee that it will work, I'm not responsible for any data loss.


ENABLE MICROSOFT SCRIPTING RUNTIME OR THIS WILL NOT WORK


Make sure all your dates are legit dates cuz from the screenshot it looks like some of them are text.



VBA Code:
Sub Recon()
        Dim v As Variant
        Dim dic As New Scripting.Dictionary
        Dim lr, lr2 As Long
        Dim k, j, P As Integer
        lr1 = Range("A" & Rows.Count).End(xlUp).Row
        lr2 = Range("J" & Rows.Count).End(xlUp).Row
        Dim store As Date
        Dim CreditValue As Double
        Dim InterStorage As Double
       
        For k = 2 To lr1    ' 2  is the row number where the data collection will be started,change it accordingly
                store = Range("A" & k)
                CreditValue = Range("D" & k)
                For j = 2 To lr2 ' 2  is the row number where the data collection will be started,change it accordingly
                        If Range("I" & j).Value = store Then
                            InterStorage = InterStorage + Range("J" & j)
                            dic.Add store & P, j
                            P = P + 1
                         End If
                Next j
                        If InterStorage = CreditValue Then
                        For Each v In dic.Items
                                    Range("K" & v) = "Matched"
                        Next v
                        Range("E" & k) = "Matched"
                        Else: Range("E" & k) = "Not Matched"
                        For Each v In dic.Items
                                  Range("K" & v) = "Not Matched"
                        Next v
                        End If
        InterStorage = 0
        dic.RemoveAll
        P = 0
        Next k
       
       
       

End Sub
 

Attachments

  • 1673002196602.png
    1673002196602.png
    39 KB · Views: 5
Upvote 0
Hi Shinigamilight,

Thanks for replying. It gives error on (Dim dic As New Scripting.Dictionary) if i remove this from code then its stuck on store = Range("A" & k).
 
Upvote 0
I tried with enabling Microsoft Script Runtime but its Shows me error at (store = Range("A" & k)).
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,722
Members
449,465
Latest member
TAKLAM

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