=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 ...
Select all the relevant cells, and in the Data tab, click the main part of the split "Data Validation" button. Then, click ...