How to analyze your spending amid inflation