MechaMacster
New Member
- Joined
- Sep 16, 2022
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Context:
I'm using excel as my budgeting tool. Right now I'm exporting all transactions from my bank and dropping them into a sheet, then I have a series of vlookups looking for specific bills to see if they've been paid. These vlookups use a wildcard search since the name on the transaction usually contains number strings. In addition, I have it making sure the associated date of the transaction is relatively close to the due date I have marked. This is my formula: =IFNA(IF(AND((VLOOKUP("*"&C2&"*",'[Bank Transactions Database.xlsx]Sheet1'!$A:$B,2,FALSE)>=D2-10),(VLOOKUP("*"&C2&"*",'[Bank Transactions Database.xlsx]Sheet1'!$A:$B,2,FALSE)<=D2+10)),"Y",""),"")
This works great, until a new month comes along and old transactions lose their flag showing they were paid. I know vlookup will only find the first match (I'm sorted newest to oldest on that transaction list), but I can't for the life of me figure out how I can use the combination of the bill name with the due date to check for payment on older bills. I've tried XLookup with multiple criteria, but it only uses an exact match. Any tries of with making the date a range results in #Spill! errors or the likes. Any advice?
Sheet where I would like this flagging formula:
Sheet where the transactions are:
Any ideas on how to accomplish this? And is this enough info? Thanks in advance for saving me further heartache as my next steps if this hail mary doesn't work includes throwing my keyboard.
EDIT:
oh, more context: here's the closest I've gotten with XLookup:
=XLOOKUP(("*"&C3&"*")&(D3-1),('[Bank Transactions Database.xlsx]Sheet1'!$A:$A)&('[Bank Transactions Database.xlsx]Sheet1'!$B:$B),'[Bank Transactions Database.xlsx]Sheet1'!$B:$B,"Not Working",2)
It is close to what I'm looking for, but still requires an exact match of sorts of the date (column D). If I ALWAYS paid the bill the day before it was due, then the above would work great, but that's not how life usually works.
I'm using excel as my budgeting tool. Right now I'm exporting all transactions from my bank and dropping them into a sheet, then I have a series of vlookups looking for specific bills to see if they've been paid. These vlookups use a wildcard search since the name on the transaction usually contains number strings. In addition, I have it making sure the associated date of the transaction is relatively close to the due date I have marked. This is my formula: =IFNA(IF(AND((VLOOKUP("*"&C2&"*",'[Bank Transactions Database.xlsx]Sheet1'!$A:$B,2,FALSE)>=D2-10),(VLOOKUP("*"&C2&"*",'[Bank Transactions Database.xlsx]Sheet1'!$A:$B,2,FALSE)<=D2+10)),"Y",""),"")
This works great, until a new month comes along and old transactions lose their flag showing they were paid. I know vlookup will only find the first match (I'm sorted newest to oldest on that transaction list), but I can't for the life of me figure out how I can use the combination of the bill name with the due date to check for payment on older bills. I've tried XLookup with multiple criteria, but it only uses an exact match. Any tries of with making the date a range results in #Spill! errors or the likes. Any advice?
Sheet where I would like this flagging formula:
Description | Entry Appearance | Due Date | Amount | Confirmed? |
Bill Name | word that is unique and appears in transaction | approximate due date | not always accurate | This is where I want the flag |
Sheet where the transactions are:
Description | Date | Amount |
Transaction name usually with a specific word along with a bunch of other values | date the payment went through | should be apparent |
Any ideas on how to accomplish this? And is this enough info? Thanks in advance for saving me further heartache as my next steps if this hail mary doesn't work includes throwing my keyboard.
EDIT:
oh, more context: here's the closest I've gotten with XLookup:
=XLOOKUP(("*"&C3&"*")&(D3-1),('[Bank Transactions Database.xlsx]Sheet1'!$A:$A)&('[Bank Transactions Database.xlsx]Sheet1'!$B:$B),'[Bank Transactions Database.xlsx]Sheet1'!$B:$B,"Not Working",2)
It is close to what I'm looking for, but still requires an exact match of sorts of the date (column D). If I ALWAYS paid the bill the day before it was due, then the above would work great, but that's not how life usually works.
Last edited by a moderator: