I need a formula to check for duplicate values across a 10 day period

Lyryx

New Member
Joined
Aug 18, 2015
Messages
45
I have a workbook that analyzes 3-5 years worth of bank information, I need to identify when money is being transferred from one account to another.

IE. I move $10.00 out of account A and put it into account B.

Currently I have a formula that will Identify duplicates that occur on the same day, but sometimes bank delays occur and that same transfer will happen anywhere from 2 to 10 days after.


Here is a sample of the applicable categories in my workbook
Account #DateDebitsCreditsRunning TotalTransaction DescriptionTransfer?
A2020-01-0110.00010.00Cash DepositCheck for Transfer
B2020-01-01010.000.00Cash WithdrawalCheck for Transfer
C2020-01-0515.000100.00Withdrawal
D2020-01-10015.0050.00Payment Thank you

My current formula in use is a combination of two hidden cells. The first creates a unique ID by adding the absolute value of the Debits and Credits Column to the Date to create a unique ID
The second formula then scans all of the Unique ID's for any matches. Which would likely be a transfer (not always the case). If it finds a matching ID in it's respective column then it will return a "check for Transfer" in it's cell.

So the formula would catch the transfer from account A to account B but would miss the transfer from account C to account D

I'd love to have some formula or method to identify both potential transfers that are occurring.

Thanks in advance
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

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