To export contacts from Microsoft Outlook, you'll need to use Outlook's "Export to a file" feature, which is built-in.
To export your iPhone contacts to an Excel spreadsheet, you should first sync your contacts with iCloud. Here's what you need to know.