Budget Tracker Issues

Austin Lang

Board Regular
Joined
Sep 10, 2021
Messages
51
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Hi all,

I am currently doing an overhaul to my Budget/Bills Tracker. I have created a table that reads transactions and gives every transaction a category to be later totaled based on those categories. It used to work because the "table" of categories was not an actual table but was just listed on the page and I was able to specify the exact cell range to look to for the categories. I have now made the change so the information is in a table so more can be added easily and referencing a table is easier. The issue is if a transaction comes through that it doesn't recognize, it is showing "0". This means it is looking at the blank spaces in the table instead of "erroring out" like I want it to. How would I go about making it ignore the blank spaces in the table and "error out"? I attempted to add a simple IF statement to change "0" to "Unknown" but that creates a circular reference.

Old formula:
=IF(ISBLANK(M5),"",IFERROR(INDEX($V$50:$V$156,MATCH(TRUE,ISNUMBER(SEARCH($U$50:$U$156,$M5)),0)),"Unknown"))

New Formula:
=IF(ISBLANK($M5),"",IFERROR(INDEX(TransKW,MATCH(TRUE,ISNUMBER(SEARCH(TransKW[Keyword],$M5)),0),2)),"Unknown")
 
Ok.
Firstly I would suggest getting rid of the blank rows in the TransKW table, that is what is causing the problem & it defeats the whole point of having a table.
Secondly do you need to do a partial match, or just an exact match?
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Despite Fluff's suggestion, I will insist on my solution:
Excel Formula:
=IF(M5<>"",IFERROR(INDEX(TransKW[Category],MATCH($M5,TransKW[Keyword],0)),"Unknown"),"")
This formula worked! Thank you so much!
 
Upvote 0
Ok.
Firstly I would suggest getting rid of the blank rows in the TransKW table, that is what is causing the problem & it defeats the whole point of having a table.
Secondly do you need to do a partial match, or just an exact match?
I do know the blank cells are the issue. I am attempting to make this file easily usable for people who are not as excel-inclined. I wanted to the blank spaces so keywords can be easily added. They are partial matches, but FlashBond's formula worked for the issue. I appreciate the assistance!
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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