Experiment 2 and 3
Experiment 2 and 3
Aim:
Importing data
Data Entry and Manipulation
Sorting and Filtering
Solution:
Importing data:
On the data tab, you can import the data from different resources.
Example: from Microsoft Access Database, Web Page, Textfile etc…..
Data Entry and Manipulation:
Data should be entered in each cell(manually). By default it will
consider data in general format. We can change the format of the
data.
Example1: Convert the data from 10/12/2023 to 2023/Dec/10
Step1: Enter the data in any format
Step 2: Right click on the cell and hit “format cell” option.
Step 3: Now select “date” from the list and select “yyyy/mm/dd”, hit
enter.
Sorting and filtering:
Task 1: for the below data sort, the data based on descending order
of marks.
Task2: For the data sort based on name and marks obtained in
ascending order.
Task 3: Filter the data below who scores more than 50 marks.
Experiment 3:working with data
AIM:
Data Validation
Pivot Tables
Pivot Charts
Solution:
Data Validation:
1. Select the cell(s) you want to create a rule for.
2. Select data>data Validation.
3. On the setting tab, under allow, select a choice:
Whole number- to restrict the cell to accept only whole number
Decimal- to restrict the cell to accept only decimal numbers
List- To pick data from the dropdown List.
Data- To restrict the cell to accept only data.
Time-To restrict the cell to accept only time
Text Length-To restrict the length of the text.
Custom- For custom formula
4. Under data, Select a condition
5. Set the other required values based on what you choose for
allow and data
6. Select the input message tab and Customize a message users
will see when entering data
7. Select the show input message when cell is selected check box
to display the message when the selects or havers over the
selected cell(s)
8. Select the error alert tab to customize the error message and
choose a style
9. Select ok
Now if the user tries to enter a value that is not valid, an error alert
appears with your customized message.
PIVOT TABLES:.
A pivot table is a powerful tool to calculate, summarize and analyze
data that lets you see comparisons, pattern and trends in your data.
Pivot tables work a little bit differently depending on what platform
you are using to run excel.
1. Select the cells you want to create a pivot table from
NOTE: Your data should be organized in columns with a single
header row. See the data format tips and tricks section for more
details.
2. Select Insert>PIVOT TABLE
3. This creates a pivot table based on an existing table or range.
NOTE: Selecting add this data to the data model adds the table
or range being used for this pivot table into the workbook data
model.
4. Choose where you want the pivot table report to be placed.
Select new worksheet to place the pivot table in a new
worksheet or existing worksheet and select where you want the
new pivot table to appear.
5. Select ok.
PIVOT CHART:
Sometimes its hard to see the big picture when your raw data has not
been summarized. Pivot Charts are a fantastic way to add data
visualization to your data.
CREATE A PIVOT CHART:
1. Select a cell from your table
2. Select insert> PIVOTCHART
3. Select where you want the PIVOTCHART to appear
4. Select OK
5. Select the fields to display in the menu
CREATE A CHART FROM A PIVOT TABLE:
1. Select a cell from your table
2. Select PIVOT TABLE toll > Analyze>PIVOT CHART
3. Select a Chart
4. Select OK