=LET (Spend,SUMIF (T_Budget [Category],E2,T_Budget [Cost]),IFS (Spend>F2,"Over budget",Spend=F2,"Budget hit",Spend> (F2*0.9),"Near budget",TRUE,"Within budget")) Let's break the formula down to ...
Get faster reports with Copilot in Excel, from smart insights and visuals to Python in Excel Premium, plus prompts, review ...