I have a single drive in my laptop and there were partitions on it. I accidentally formatted all partitions as I unable to install windows 10 on the actual old OS partition. After formatting there was single drive partition and installed OS on that and later realized that data in one of the partition has been lost due to partition. Can I recover it? Old data was on windows 8 and currently I have windows 10.
I'm afraid the data you've lost is gone for good if all previous volumes have been formatted, followed by being overwritten with a new volume and a Windows install.
Too late now, but keeping backups of important data on an external hard drive would have avoided the loss -- something to remember in future.