Download as pdf or txt
Download as pdf or txt
You are on page 1of 68

PRACTICAL FILE

FOR

DATA ANALYSIS WITH SPREADSHEETS

SUBMITTED IN PARTIAL FULFILLMENT FOR THE AWARD OF THE


DEGREE OF BACHELOR OF COMMERCE 2021-24

UNDER THE GUIDANCE OF

MR. PRAVEEN KUMAR SINGH


ASSISTANT PROFESSOR, MAIMS

SUBMITTED BY:

SARTHAK MADHWANI

ENROLLMENT NO -01261188821

Batch No. BCOM (H) SEM 4th Section B

MAHARAJA AGRASEN INSTITUTE OF MANAGEMENT


STUDIES

Affiliated to Guru Gobind Singh Indraprastha university, Delhi PSP


Area, plot no.1 sector 22, Rohini Delhi 110086
Sarthak Madhwani
01261188821
ASSIGNMENT-1
Generate random number and date
Ques 1. Use Randbetween function for Order ID.
Solution:

Ques 2. Generate Random Dates and date column using Randbetween function.
Solution:

1
Sarthak Madhwani
01261188821

Ques 3. Generate Random price between 2.952 and 12.95.


Solution:

Ques 4. Generate random quantity for quantity column between [150,170]


Solution:

2
Sarthak Madhwani
01261188821

Ques 5. Remove extra white spaces from manager column.


Solution:

3
Sarthak Madhwani
01261188821

Ques 6. Increase the price for all products by 15%.

Solution:

4
Sarthak Madhwani
01261188821
ASSIGNMENT-2
Remove duplicates and transpose
Ques 1. Remove duplicate product, purchase type, payment method, manager,
and city.
Solution:

(Initial sheet)
1. Remove product duplicates:

5
Sarthak Madhwani
01261188821

2. Remove duplicate purchase type:

6
Sarthak Madhwani
01261188821

3. Remove duplicate payment method:

7
Sarthak Madhwani
01261188821

4. Remove duplicate manager:

5. Remove duplicate city:

8
Sarthak Madhwani
01261188821

Ques 2. Update the quantity column2 by multiplying price value.


Solution:

9
Sarthak Madhwani
01261188821
Ques 3. Transpose the existing data cell.
Solution:

10
Sarthak Madhwani
01261188821
ASSIGNMENT-3
Basic of Excel
Ques 1. Calculate Total Cost for Voice Calls and Text Messages using BODMAS.
Solution:

Ques 2.Calculate Cost for each Production Indian Rs.


Solution:

11
Sarthak Madhwani
01261188821

Ques 3. Display Product Name in Bold, Purchase Type in Italic, Underline Payment
Mode, Manager Name with Blue Font colour, City Name with Yellow Background,
Price 2 in Euro and Date column with Format (Day name, Date Month, Year).
Solution:

12
Sarthak Madhwani
01261188821
ASSIGNMENT-4
Name manager and basic formulas
Ques 1. Apply name range with name “NAME 2” to number column.
Solution:

13
Sarthak Madhwani
01261188821
Ques 2. Apply name range with text column with name.
Solution:

14
Sarthak Madhwani
01261188821

Ques 3. Sum the number column with name range.


Solution:

15
Sarthak Madhwani
01261188821

Ques 4.To find the maximum and minimum value.


Solution:

16
Sarthak Madhwani
01261188821

Ques 5.To find second smallest value for number column.


Solution:

17
Sarthak Madhwani
01261188821

Ques 6.Find the third largest number for number column using.
Solution:

18
Sarthak Madhwani
01261188821

Ques 7.Apply count function for number and text column.


Solution:

Ques 8.Apply count A function for number and text column both.
Solution:

19
Sarthak Madhwani
01261188821

ASSIGNMENT-5
Relative reference and Absolute reference
Ques 1. Calculate net revenue using relative reference.
Solution:

20
Sarthak Madhwani
01261188821

Ques 2. Calculate percentage using absolute reference for allstudents.


Solution:

Ques 3. Calculate multiplication for all rows and columns relatively.


Solution:

21
Sarthak Madhwani
01261188821

ASSIGNMENT-6
Text to Column
Ques 1. Apply text to column on the basis of space for manager name.
Solution:

22
Sarthak Madhwani
01261188821

Ques 2. Separate email id on the basis of “@” on different cells.


Solution:

Ques 3. Apply text to column using fixed width on email id column.


Solution:

23
Sarthak Madhwani
01261188821

Ques 4. Apply side by side window option with synchronousoption.


Solution:

24
Sarthak Madhwani
01261188821

ASSIGNMENT-7
Conditional Formatting
Ques 1.Highlight cells for price where price is more than 5.
Solution:

Ques 2. Highlight quantity column where the quantitycolumn is less than 300.
Solution:

25
Sarthak Madhwani
01261188821

Ques 3.Highlight total cost column where the value isbetween 1000 to 3000.
Solution:

Ques 4. Highlight quantity column where the value is equal to 611.


Solution:

26
Sarthak Madhwani
01261188821

Ques 5. Highlight payment mode column where thepayment mode is Gift card.
Solution:

Ques 6. Highlight duplicate city values in city column.


Solution:

27
Sarthak Madhwani
01261188821

Ques 7. Highlight the uniquecity values in city column.


Solution:

Ques 8. Highlight top 5 quantity in quantity column.


Solution:

28
Sarthak Madhwani
01261188821
Ques 9. Highlight bottom 2 price value from pricecolumn.
Solution:

29
Sarthak Madhwani
01261188821
ASSIGNMENT-8
Conditional formatting and data validation
Ques 1.Highlight item cells on the basis of users input.
Solution:

30
Sarthak Madhwani
01261188821
Ques 2.Highlight rows using conditional formatting onthe basis of users input.
Solution:

31
Sarthak Madhwani
01261188821
Ques 3. Highlight rows by using data validation itemselection.
Solution:

32
Sarthak Madhwani
01261188821
ASSIGNMENT-9
Conditional formatting and Sorting
Ques 1. Apply Conditional Formatting data bars on quantity column.
Solution:

Ques 2. Apply Conditional Formatting Colour Scales on Price column.


Solution:

33
Sarthak Madhwani
01261188821
Ques 3. Apply Conditional Formatting Icon Sets on Total Cost.
Solution:

Ques 4. Sort Total Cost column based on icon sets.


Solution:

34
Sarthak Madhwani
01261188821

Ques 5. Sort Price 1 column based on Colour.


Solution:

35
Sarthak Madhwani
01261188821

36
Sarthak Madhwani
01261188821
ASSIGNMENT-10
Logical Test and IF Function

Formulas:-

37
Sarthak Madhwani
01261188821
ASSIGNMENT-11
Logical Test
Ques 1. If student score less than 40 marks then he is fail, if he score b/w 40-60
then second position, if he score b/w 60-75 then first position, if he score above
75 then distinction.
Formula- =IF
(D4<40,"fail",IF(D4<60,"second",IF(D4<75,"first",IF(D4>75,"distinction"))))

Ques 2. Add a new column, “updated marks” & update the marks of the student
on given criteria if student score more than 50& less than 60,Increase the marks
by 10 & if student score less than 40 then there is no updation of marks & all
other marks will be same.
Formula =IF (AND(D4>50,D4<60),D4+10,D4)

38
Sarthak Madhwani
01261188821

ASSIGNMENT-12
VLOOKUP
Ques 1. Apply Vlookup function on product price.
Formula=VLOOKUP (C1, A5:D12,4,0)
Step1: We will first write the name of the any product from the product list in the
cell C1 and then we will apply the Vlookup formula.

39
Sarthak Madhwani
01261188821
Ques 2. Apply Vlookup Formula with data Validation for product price.
Step1: Select the cell C1 and then go to the Data tab and then go the data
validation.

Step2: Now Select the range and then click on ok.

40
Sarthak Madhwani
01261188821

Q3.Display price and final price as for the quantity selected using Vlookup& data
validation.
Step1: We will make a another table and write a product name with some
quantities.

41
Sarthak Madhwani
01261188821

Step2: Now we will apply the Vlookup formula in the price cell .

Step3: Now we will apply the multiplication formula in the Final price cell and
data validation in the mobile so that when we change the product name, the price
and Final price also change.

42
Sarthak Madhwani
01261188821

43
Sarthak Madhwani
01261188821

ASSIGNMENT-13
VLOOKUP & Trim Function
Q1.Apply V Lookup function for commission received on sales.
Step1: First, We’ll make another table where we write sales amt & then we’ll use
vlookup function to show how much commission we are getting on the
sales.Formula =VLOOKUP (A10,B2:D6,3,1)

Q2.Apply trims function for products and then use Vlookup function.
Step1: We will make another price column and will use Vlookup Trim function.
Formula-=VLOOKUP(TRIM(A5),$A$5:$D$12,4,0)

44
Sarthak Madhwani
01261188821
ASSIGNMENT-14
IF Function
Ques 1. In the score sheet of the students, add 10 marks to each subject of every
student which should not exceed the maximum marks (ie. 100). Make total marks
and percentage of every student.
Solution:
1. Total marks and percentage of original marks scored.

2. Add 10 marks to each subject using IF function


CODE: =IF((B2+10)<=100,B2+10,100)

45
Sarthak Madhwani
01261188821
1) Total marks and percentage of increased marks scored.

ASSIGNMENT-15
HLOOKUP
Ques 1. Apply HLOOKUP function to view Price with Data Validation.
Solution:=HLOOKUP(B12,B4:E7,4,0)

46
Sarthak Madhwani
01261188821

Ques 2. Apply HLOOKUP function to view Product Quantity.


Solution:=HLOOKUP(B11,B4:E7,3,0)

47
Sarthak Madhwani
01261188821

Ques 3. Apply HLOOKUP function to view Product Code.


Solution:=HLOOKUP(B10,B4:E7,2,0)

48
Sarthak Madhwani
01261188821
ASSIGNMENT-16
VLOOKUP with Data Validation
Ques 1. Apply VLOOKUP functions to view address and contact number with data
validation.
Formula-=VLOOKUP(D16,B1:H12,6,0)

Ques 2.Apply VLOOKUP function to view roll number, class, grade and date of
birth.
Formula- =VLOOKUP(D16,B1:H12,2,0)

49
Sarthak Madhwani
01261188821

ASSIGNMENT-17
Q1. Count the total amount of sales of each product in a particular region

50
Sarthak Madhwani
01261188821

Ques 2.Count the total number of units of sale for each product region wise

Ques 3. Count total sales region wise using pivot table

51
Sarthak Madhwani
01261188821

Ques 4.Count the number of times a person appeared in the worksheet

52
Sarthak Madhwani
01261188821

ASSIGNMENT-18
PIVOT TABLE
Ques 1. To Display each store with sum of sales according to group selection.
Step1: Make the table then go to Insert taband then select Pivot table.

Step2: Now select the table range and press OK.

53
Sarthak Madhwani
01261188821

Step3: Bring the Sales to columns and Store to rows.

54
Sarthak Madhwani
01261188821

Ques 2. Count the sales with same range.


‘Step1: Now bring the sales to the Rows and change it to count of sales.

Step2: Now go to Group selection and then change the starting and ending.

55
Sarthak Madhwani
01261188821

ASSIGNMENT-19
POWER PIVOT TABLE

56
Sarthak Madhwani
01261188821

ASSIGNMENT-20
Ques 1. Create six different sheets for Hindi, English, Maths, Physics, Chemistry
and final marks, And update Final marks sheet wish use of five different subject
sheet.

Hindi:-

English:-

57
Sarthak Madhwani
01261188821

Maths:-

Physics:-

58
Sarthak Madhwani
01261188821

Chemistry:-

Final Marks:-

59
Sarthak Madhwani
01261188821

ASSIGNMENT-21

60
Sarthak Madhwani
01261188821

ASSIGNMENT-22
Ques 1. Create Pie Chart for Given data table with data lables and pie chart slicing.

61
Sarthak Madhwani
01261188821

Ques 2. Delete Sales slice for quarter 2 from Pie Chart.

62
Sarthak Madhwani
01261188821

ASSIGNMENT-23
Ques 1. Apply column chart for given table and use your as a X-axis label and sales
as a Y-axis label.

63
Sarthak Madhwani
01261188821

64
Sarthak Madhwani
01261188821

ASSIGNMENT-24
Ques 1. Apply Pie Chart on cumulative marks table where you need to present
average score of every subject.

65
Sarthak Madhwani
01261188821
ASSIGNMENT-25
Ques 1. Analyze sales person performance during the year 2019 using Pivot Table
and charts.
1) Added data to Pivot Table

2) Converted Sales to Dollar

66
Sarthak Madhwani
01261188821
3) Make bar chart from Pivot Table.

2) Change the chart values to largest to smallest.

67

You might also like