To read data in Excel, you can use the following methods: Import data from a file: select the data source type, browse and select the file, and select the import method. Link data from other worksheets or workbooks: Select the target cell, select the target worksheet or workbook, and click [Connect].
Read data in Excel
Method:
1. Import data from a file
- Click the [Data] tab> [Get external data]
- Select the data source type (file, folder , SQL Server, etc.)
- Browse to the data file and select it
- Click [Import] and select the data import method (create a new table, append to an existing table, etc.)
2. Link data from other worksheets or workbooks
- Click the cell you want to link to
- Click the [Insert] tab> ; [Connect to worksheet] or [Connect to other workbooks]
- Select the target worksheet or workbook
- Click [Link]
Steps:
-
Open the data file: If the data is in an external file, open the file.
-
Prepare the worksheet: Make sure the worksheet you want to import or link data to is ready.
-
Select the import or link method: Select the above method according to the data source.
-
Specify the data range: Select the data range to import or link.
-
Select the data import method: If you import data, you can choose to create a new table, replace the existing table, or append to the existing table.
-
Click [OK]: Complete the import or link process.
Other methods:
-
Power Query:Connect to a variety of data sources using powerful data acquisition and transformation tools .
-
Formulas: Use the INDIRECT function or other formulas to reference external cells or data.
The above is the detailed content of How to read data in excel. For more information, please follow other related articles on the PHP Chinese website!