Compare Actual Year To Date with Previous Year for same period by Category

GIve this a try: Transaction Comparison - Google Sheets