MacOS uninstalled after installing bootcamp during windows partioning my mac's macos was uninstalled during setting up a new partition in windows, reason is windows reformatted the partitions to its format, is there a way for me to re-install macos without losing all data on windows, which by the way doesnt even have bootcamp drivers installed 
thanks!
This question if difficult to answer, because of the lack of information. The most likely answer is to boot to macOS Recovery over the internet and install macOS.

Other information that would have been helpful include the following.


The version of macOS that was installed.
The model/year of the Mac.
The version of Windows.
The Windows boot method (BIOS or EFI).
The current entries in partition tables (GUID and MBR).
The method use to install Widnows (DVD, flash drive, Boot Camp Assistant).