"Hacked" is very ambiguous. Just because an account was hacked in zero ways means your PC itself was hacked.
If you use the same password on facebook, dropbox, hotmail, walmart.com, tomshardware, and every other forum on the internet then all it takes is one of those sites to have its user database hacked, and now they have your password for all of those accounts. There is an actual black market and "street value" for hacked account passwords.
Dropbox's biggest "hack" was because an Admin used the same password for his admin level dropbox account as he did for everything else, so when they got his password from somewhere else, they then got full access to dropbox servers.
Formatting and reinstalling windows will flush out any infection currently on your PC and is likely a step that needs to be taken.
The other big thing you need to do though is use good password policies.
I use a layered approach start off with a decent base password (with say 8-10 numbers and letters) and the entire letter portion of the password should not be a dictionary word. Use this for sites like tomshardware. At level 2 (social media) have something 100% different, assume this password is compromised at all times. At level 3 (email, cloud storage, sites with your data on it) make the base password more complex with a variation for each different site. At level 4 (ecommerce sites like amazon) then add another variation, and finally level 5 (financial so banks, credit card accounts, etc) you should add another variation to the password.
This layered approach prevents spillage of a password from one layer being able to be used on a higher level. If you standardize what the variation is then it will not be that much harder for you to remember each password