This Google Sheets Advanced Tutorial explains IF, VLOOKUP, INDEX MATCH, and pivot tables, plus macros and Apps Script for ...
Use Power Query's M language to quickly fix names, remove hidden characters, extract numbers, and merge columns.
Do yourself a favor and upgrade from what works to what works best.