If you decide to format, when it asks for the product key during the Windows 10 install, just enter your Windows 7 key. Because you've upgraded that computer to Windows 10 before, it won't have any problems activating again.
Despite the free upgrade ending July 29, 2016 computers will still upgrade and activate without an issue even on computers that haven't been upgraded to Windows 10 before from Windows 7 or 8.x.