The usual wifi signal with an exclamation mark through it means your computer is connected to a network but cannot reach the Internet. That usually means something like:
- There is an issue with your wifi router, your modem (of course the router and modem might be the same device) or your ISPs Internet service;
- An issue with the Wifi card (although that is extremely unlikely - a hardware issue that allows you to connect to a network but not otherwise be useable is hard to imagine);
- There is other software on the computer interfering with connectivity. VPN is a half-connected state are a common cause of that).
Have you tried rebooting the computer to see if this fixes it (and/or rebooting in Safe Mode to prevent third party programs from automatically loading)?
Are other computers on the same Wifi able to connect (often people don't realize this is an issue if other devices are connected because they fail to remember those are on Ethernet or can fall back to cellular)?