Script which can check if a debit has a corresponding credit
Solved/Closed
dennisvhansen
Posts
7
Registration date
Wednesday September 9, 2015
Status
Member
Last seen
September 24, 2015
-
Sep 9, 2015 at 07:44 AM
dennisvhansen Posts 7 Registration date Wednesday September 9, 2015 Status Member Last seen September 24, 2015 - Sep 24, 2015 at 02:30 AM
dennisvhansen Posts 7 Registration date Wednesday September 9, 2015 Status Member Last seen September 24, 2015 - Sep 24, 2015 at 02:30 AM
Related:
- How to match debit and credit in excel
- Credit summation meaning - Guide
- Pay netflix with debit card - Guide
- Number to words in excel - Guide
- How to take screenshot in excel - Guide
- Music match jukebox - Download - Audio playback
3 responses
Using the file you posted.
I skipped the zero values, as these would all match each other.
You can change the ranges to suite.
I skipped the zero values, as these would all match each other.
You can change the ranges to suite.
Sub finddupes()
dim found as Boolean
For Each mycell In Worksheets("Ark1").Range("B2:L34")
myvalue = Abs(mycell.Value)
If myvalue <> 0 Then
found = False
For Each chkcell In Worksheets("Ark1").Range("B2:L34")
If mycell <> chkcell Then
If myvalue = Abs(chkcell.Value) Then
chkcell.Interior.ColorIndex = 4 ' Green
mycell.Interior.ColorIndex = 4
found = True
End If
End If
Next
If found = False Then mycell.Interior.ColorIndex = 3 'Red
End If
Next
End Sub
Sep 17, 2015 at 03:14 AM
Sep 17, 2015 at 03:16 AM