
Hi Anonymous,
Welcome to Microsoft Q&A.
You can use a formula in Excel to automatically categorize transactions based on the merchant name found in the Sub-description column. For example, if you want to change the Description from "pos purchase" to "Take Out" when the Sub-description contains "Tim Hortons", you can use the following formula:
=IF(ISNUMBER(SEARCH("Tim Hortons",D2)),"Take Out",C2)
This formula checks if "Tim Hortons" appears in cell D2 (Sub-description). If it does, it returns "Take Out". If not, it returns the original value from cell C2 (Description).
You should place this formula in a new column, such as Column A - cell A2, so that it does not overwrite your original descriptions.
If you want to expand this logic to handle multiple merchants, you can use the IFS
function like this:
This version allows you to assign different categories based on the merchant name. If none of the specified merchants are found, it will return the original Description value.
I hope this is what you're looking for. Let me know if you need help customizing this further.
Warm regards,
------------------------------------------------------------------------------------------------------------
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.