Usually, you can do following:
- Install Windows retail SKU, but do not activate it. You can borrow disk or download ISO for this. - Start installing upgrade version, then reformat partition, supplying upgrade key in the process.
At the end, you will have Windows upgrade installed and activated, fully functional.