Loading...
Loading...
Auto-categorize uncategorized transactions using vendor pattern matching.
npx skill4agent add openaccountant/skills smart-categorizecategorizetransaction_searchtransaction_searchcategorycategorizePatternCategory| Pattern | Category |
|---|---|
| AMAZON | Shopping |
| WHOLE FOODS | Groceries |
| SHELL | Transportation |
| NETFLIX | Entertainment |
| STARBUCKS | Dining |
=IFERROR(INDEX(Rules!B:B,MATCH("*"&"AMAZON"&"*",Rules!A:A,0)),"Uncategorized")=SUMPRODUCT=IFERROR(VLOOKUP("*"&A2&"*",Rules!A:B,2,FALSE),"Uncategorized")=IF(REGEXMATCH(A2,"(?i)amazon"),"Shopping",
IF(REGEXMATCH(A2,"(?i)whole foods|trader joe"),"Groceries",
IF(REGEXMATCH(A2,"(?i)shell|chevron|exxon"),"Transportation",
"Uncategorized")))| Vendor Pattern | Suggested Category |
|---|---|
| AMAZON, TARGET, WALMART | Shopping |
| WHOLE FOODS, TRADER JOE, KROGER, SAFEWAY | Groceries |
| UBER EATS, DOORDASH, GRUBHUB | Dining |
| NETFLIX, SPOTIFY, HULU, DISNEY+ | Entertainment |
| SHELL, CHEVRON, BP, EXXON | Transportation |
| AT&T, VERIZON, T-MOBILE, COMCAST | Utilities |
| CVS, WALGREENS, PHARMACY | Healthcare |
| VENMO, ZELLE, PAYPAL (person-to-person) | Transfers |
categorization_rules