Proceed with the Windows 7 installation steps immediately after the format.
You cannot format the C: drive while Windows is running on it because the OS is using system files. You need to boot from external media. how to format c drive in windows 7
This is the most common way to wipe the drive, usually followed by a clean reinstall of the OS. Proceed with the Windows 7 installation steps immediately