Import or export text (.txt or .csv) files - Microsoft Support
You can import data from a text file into an existing worksheet. Click the cell where you want to put the data from the text file. On the Data tab, in the Get & Transform Data group, click From Text/CSV. In the Import Data dialog box, locate and double-click the text file that you want to import, and click Import.
Applies To: Excel for Microsoft 365, Excel 2021, Excel 2019, Excel 2016