0% found this document useful (0 votes)
264 views20 pages

Lab Report Exel

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
264 views20 pages

Lab Report Exel

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 20

Lab 1:Student Information

?.Create a worksheet on student information: Sheet should contain Student


Name,USN,Marks obtained in different subjects,Total
Marks,Average,MAX,MIN,Total Count of students.Use appropriate formulas to
calculate the above scenario.
Steps:

1. Creating a New Spreadsheet

1. Open Excel:
o Launch Microsoft Excel from your Start menu or desktop shortcut.
2. Create a New Workbook:
o Click on File in the top left corner.
o Select New.
o Choose Blank Workbook or any template you prefer.

2. Inserting Rows and Columns

1. Insert a New Row:


o Select the row below where you want the new row to appear by clicking the row
number on the left side of the sheet.
o Right-click on the selected row number.
o Choose Insert from the context menu. This will insert a new row above the selected
row.

2. Insert a New Column:


o Select the column to the right of where you want the new column to appear by clicking
the column letter at the top of the sheet.
o Right-click on the selected column letter.
o Choose Insert from the context menu. This will insert a new column to the left of the
selected column.

3. Dragging and Filling Data

1. Enter Initial Data:


o Click on a cell and type the initial value (e.g., 1).

2. Use the Fill Handle:


o Hover over the small square (fill handle) in the bottom-right corner of the cell with the
data.
o Click and drag the fill handle down (for rows) or to the right (for columns) to copy the
data or fill a series (e.g., numbers or dates).

3. AutoFill Options:
o After dragging, you can click on the small AutoFill Options icon that appears to select
different fill options (e.g., fill series, fill without formatting).

4. Using Aggregate Functions

1. Sum:
o Click on the cell where you want the total sum to appear.
o Type =SUM( and then select the range of cells you want to sum up. For example,
=SUM(B2:B10).
o Press Enter.

2. Average:
o Click on the cell where you want the average to appear.
o Type =AVERAGE( and then select the range of cells. For example, =AVERAGE(C2:C10).
o Press Enter.

3. Max:
o Click on the cell where you want the maximum value to appear.
o Type =MAX( and then select the range of cells. For example, =MAX(D2:D10).
o Press Enter.

4. Min:
o Click on the cell where you want the minimum value to appear.
o Type =MIN( and then select the range of cells. For example, =MIN(E2:E10).
o Press Enter.

5. Count:
o Click on the cell where you want the count to appear.
o Type =COUNT( and then select the range of cells with numeric data. For example,
=COUNT(F2:F10).
o Press Enter.

6. COUNTA (Counts non-empty cells):


o Click on the cell where you want the count to appear.
o Type =COUNTA( and then select the range of cells. For example, =COUNTA(A2:A10).
o Press Enter.
OUTPUT:
Lab 2: Employee data

?.Create a worksheet on Employee data,sheet should conatain Name of the


Employee,Employee ID,Basic Salary,TA,DA,Net Pay and Date Of Joining.Perform
Sort&Filter functions on this.
Step 1: Create the Worksheet

1. Open Excel or Google Sheets:


o Start a new spreadsheet.

2. Set Up Your Table:


o In the first row, create headers for each column:
 A1: Name of Employee
 B1: Employee ID
 C1: Basic Salary
 D1: TA (Travel Allowance)
 E1: DA (Dearness Allowance)
 F1: Net Pay
 G1: Date of Joining

3. Enter Sample Data:


o Fill in the rows below the headers with sample employee data, as shown in the previous
response. Make sure to leave the "Net Pay" column initially empty; we’ll calculate that
with a formula.

Step 2: Calculate Net Pay

1. Enter the Formula for Net Pay:


o In cell F2 (the first row under Net Pay), enter the formula to calculate net pay:

excel
Copy code
=C2+D2+E2

o This formula adds the Basic Salary, TA, and DA for the employee.

2. Copy the Formula Down:


o Click on the bottom right corner of cell F2 (you’ll see a small square, known as the fill
handle) and drag it down to fill the formula in the rest of the cells in the Net Pay column
(F3, F4, etc.).
Step 3: Format the Worksheet

1. Format Currency:
o Select the Basic Salary, TA, DA, and Net Pay columns.
o Right-click and choose "Format Cells" (Excel) or "Format" > "Number" > "Currency"
(Google Sheets) to display these as currency.

2. Format Dates:
o Select the Date of Joining column (G).
o Right-click and choose "Format Cells" and select "Date" format to ensure the dates are
displayed correctly.

Step 4: Apply Filter

1. Select the Data:


o Click and drag to highlight all the data in the table, including the header row (A1 to G6 in
this case).

2. Add Filter:
o In Excel: Go to the "Data" tab in the toolbar and click on "Filter." Little drop-down
arrows will appear next to each header.
o In Google Sheets: Click on "Data" in the top menu, then select "Create a filter." The
same drop-down arrows will appear.

Step 5: Sort Data

1. Choose a Column to Sort:


o Click the drop-down arrow in the header of the column you want to sort (e.g., "Net Pay"
or "Date of Joining").

2. Sort Options:
o Sort A to Z: This will sort the data in ascending order (e.g., from lowest to highest for
numbers, or earliest to latest for dates).
o Sort Z to A: This will sort the data in descending order (highest to lowest or latest to
earliest).

Step 6: Filter Data

1. Click the Drop-Down Arrow:


o Click on the drop-down arrow next to a column header (e.g., "Date of Joining").

2. Select Filter Criteria:


o You can check or uncheck specific values to show only the rows that meet your criteria
(e.g., show only employees who joined after a certain date).

3. Apply Multiple Filters:


o You can repeat this process for other columns, allowing you to narrow down your data
based on various criteria (e.g., showing only employees with a Net Pay above a certain
amount).

.
OUTPUT:
LAB 3:Working with data
Working with data:Data validation,Pivot table,Pivot chart .
1. Data Validation

Purpose: Ensure that the data entered into a cell meets specific criteria.

Steps:

1. Select the Cell(s): Click on the cell or range of cells where you want to apply data
validation.
2. Open Data Validation:
o Go to the Data tab on the ribbon.
o Click on Data Validation in the Data Tools group.

3. Set Validation Criteria:


o In the Data Validation dialog box, under the Settings tab, choose the type of validation
you want (e.g., whole number, decimal, date, list, etc.).
o For a list, select List and enter the allowed values (e.g., Yes, No).

4. Click OK: Save your settings.

2. Creating a Pivot Table

Purpose: Summarize large datasets and analyze data efficiently.

Steps:

1. Select Your Data:


o Click anywhere in your data range (ensure it has headers).

2. Insert Pivot Table:


o Go to the Insert tab on the ribbon.
o Click on PivotTable.

3. Create Pivot Table:


o In the Create PivotTable dialog, select where you want the PivotTable report to be
placed (New Worksheet or Existing Worksheet).
o Click OK.

4. Design Your Pivot Table:


o On the right side, you'll see the PivotTable Field List.
o Drag fields to the Rows, Columns, Values, and Filters areas to organize your data.
3. Creating a Pivot Chart

Purpose: Visually represent data summarized in a Pivot Table.

Steps:

1. Select Your Pivot Table:


o Click anywhere in your Pivot Table.

2. Insert Pivot Chart:


o Go to the Insert tab.
o Click on PivotChart.

3. Choose Chart Type:


o In the Insert Chart dialog, select the type of chart you want (e.g., Column, Line, Pie).
o Click OK.

4. Customize Your Chart:


o Use the Chart Tools that appear in the ribbon to customize the design, layout, and
format of your chart.

5. Connect the Chart to the Pivot Table:


o Your Pivot Chart will automatically reflect changes made in the Pivot Table.

OUTPUT:
LAB 4: Data Analysis Process
1. Conditional Formatting

Purpose: Highlight data based on certain conditions to identify trends and patterns.

Steps:

1. Select the Data Range:


o Highlight the cells you want to apply conditional formatting to.

2. Open Conditional Formatting:


o Go to the Home tab on the ribbon.
o Click on Conditional Formatting.

3. Choose a Rule:
o Select from options like Highlight Cells Rules (greater than, less than, etc.) or
Top/Bottom Rules.
o For example, choose Highlight Cells Rules > Greater Than.

4. Set the Condition:


o Enter the value and choose a formatting style (e.g., fill color).
o Click OK to apply the formatting.

2. What-If Analysis

Purpose: Analyze how changes in input values affect outcomes.

Scenario Manager

1. Open Scenario Manager:


o Go to the Data tab.
o Click on What-If Analysis, then select Scenario Manager.

2. Create a New Scenario:


o Click Add.
o Name your scenario and select the cells that will change (input cells).
o Enter the values for each input cell for this scenario and click OK.

3. View Scenarios:
o Select a scenario from the list and click Show to view the results in your spreadsheet.

3. Data Table

1. Set Up Your Data Table:


o Create a small table with the variable you want to test (e.g., interest rates) along one
side, and the formula you want to analyze at the intersection.

2. Select the Table Range:


o Highlight the entire table including the formula.

3. Insert Data Table:


o Go to the Data tab.
o Click on What-If Analysis, then select Data Table.

4. Set Row and/or Column Input Cells:


o Specify the cell that contains the variable you’re changing.
o Click OK to generate the data table.

3. Creating Charts/Graphs

Purpose: Visually represent data for easier analysis.

Steps:

1. Select Your Data:


o Highlight the range of data you want to include in the chart (including headers).

2. Insert Chart:
o Go to the Insert tab.
o Choose the type of chart you want (e.g., Column, Line, Pie).

3. Customize Your Chart:


o Use Chart Tools that appear when you select the chart to customize:
 Design: Change chart styles and layouts.
 Format: Adjust colors, styles, and labels.

4. Move/Resize the Chart:


o Drag the chart to reposition it, or use the corners to resize

OUTPUT:
LAB 5: Cleaning data with TEXT function
Dealing data with text function.Use of UPPER,LOWER,TRIM,PROPER,CONCATENATE
functions

1. UPPER

 Function: Converts all letters in a text string to uppercase.


 Syntax: =UPPER(text)
 Example:

2. LOWER

 Function: Converts all letters in a text string to lowercase.


 Syntax: =LOWER(text)
 Example:

3. TRIM

 Function: Removes extra spaces from text, leaving only single spaces between words.
 Syntax: =TRIM(text)
 Example:
4. PROPER

 Function: Capitalizes the first letter of each word in a text string.


 Syntax: =PROPER(text)
 Example:

5. CONCATENATE

 Function: Joins two or more text strings into one string. (Note: In newer versions of Excel, you
can also use CONCAT or TEXTJOIN for more flexibility.)
 Syntax: =CONCATENATE(text1, text2, ...) or =CONCAT(text1, text2, ...)
 Example:
OUTPUT:
LAB 6: Cleaning data containing DATE and TIME VALUES
Cleaning Date Values
Step 1: Open Your Excel File

 Launch Excel and open your data file.

Step 2: Identify the Date Column

 Find the column that contains the date values you want to clean.

Step 3: Format the Column

1. Select the Date Column: Click on the column header.


2. Format Cells:
o Right-click and select Format Cells.
o Go to the Number tab and choose Date. Select the desired date format (e.g.,
MM/DD/YYYY).

Step 4: Convert Text to Date

 If your dates are stored as text:

1. In a new column, use the formula:

excel
Copy code
=DATEVALUE(A1)

(replace A1 with the cell containing the date).

2. Drag the fill handle to apply it to other rows.


3. Copy the new column and paste it as values back into the original column.

Cleaning Time Values


Step 1: Open Your Excel File

 Launch Excel and open your data file.

Step 2: Identify the Time Column

 Locate the column with time values.


Step 3: Format the Column

1. Select the Time Column: Click on the column header.


2. Format Cells:
o Right-click and select Format Cells.
o Go to the Number tab and choose Time. Select the desired time format (e.g.,
HH:MM:SS).

Step 4: Convert Text to Time

 If your times are stored as text:

1. In a new column, use the formula:

excel
Copy code
=TIMEVALUE(A1)

(replace A1 with the cell containing the time).

2. Drag down to apply to other cells.


3. Copy the new column and paste it as values back into the original column.

OUTPUT:
DATEVALUE:
TIMEVALUE:

You might also like