Test Index

Computerised Accounting Get it on Google PlayDownload on the App Store CBSE Board Videos

© examsnet.com
Question : 32 of 105
Marks: +1, -0
State the steps to import data from a text file.
[CBSE 2025 67/7/1]
Solution:  
Steps to import data from a text file into MS Excel:
1. Create the data file in Notepad. Each line of the text file becomes a row of the spreadsheet, and each entry separated by a comma becomes a column of that row.
2. In the first line type the column names (headings); from the next line onwards type the data, separated by commas in the same order as the headings.
3. Entries need not be of the same length, but every entry must be separated by a comma as per the column names. Save the file (e.g. as .txt or .csv).
4. Open a new Excel worksheet (Office Button/File → New).
5. Select the Data tab on the Ribbon.
6. In the Get External Data group, click From Text.
7. Select the saved Notepad file and click Import. In the Text Import Wizard choose Delimited, tick Comma as the delimiter, choose the column data format and click Finish.
8. Choose the cell where the data is to be placed and click OK. The data is copied into the respective rows and columns and can be saved as an Excel file.
Types of data in the imported cells:
Labels: descriptive (text) data such as headings.
Values: raw numbers, i.e. whole numbers or values with decimals.
Dates: date entries, stored by Excel as serial numbers.
Formulas: instructions to perform calculations on the data.
© examsnet.com
Advertisements
Go to Question: