You can sync contacts to iCloud from any Apple device to access each contact anywhere you can sign in to your iCloud account.
To export your iPhone contacts to an Excel spreadsheet, you should first sync your contacts with iCloud. Here's what you need to know.