If Format Painter is not working in Word, Excel, and PowerPoint, verify the keyboard shortcut, disable all add-ins, reset app ...
Usually, when the mouse right-click does not work on Windows, you can try fixes, like updating or reinstalling the mouse drivers, checking add-ins, running the hardware and Devices Troubleshooter, ...