0% found this document useful (0 votes)
54 views

Assignment 1

Here are the steps to solve this problem: 1. Calculate the average math score of male students: =AVERAGEIF(gender,"male",math score) This will return 64.5 2. Calculate the average reading score of female students who belongs to group D: =AVERAGEIFS(reading score,gender,"female",race/ethnicity,"group D") This will return 60.5 3. Fill grade column using IF condition based on total score: =IF(Total<60,"F";IF(Total<70,"D";IF(Total<80,"C";IF(Total<90,"B";"A")))) 4. Find the maximum total

Uploaded by

priyanka angre
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Assignment 1

Here are the steps to solve this problem: 1. Calculate the average math score of male students: =AVERAGEIF(gender,"male",math score) This will return 64.5 2. Calculate the average reading score of female students who belongs to group D: =AVERAGEIFS(reading score,gender,"female",race/ethnicity,"group D") This will return 60.5 3. Fill grade column using IF condition based on total score: =IF(Total<60,"F";IF(Total<70,"D";IF(Total<80,"C";IF(Total<90,"B";"A")))) 4. Find the maximum total

Uploaded by

priyanka angre
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Order date Region Customer_name Item

### East Parent Binder


### Central Kivell Binder
### Central Gill Pen
Monday, June 8, 2020 East Jones Binder
Tuesday, May 5, 2020 Central Jardine Pencil
### Central Morgan Pencil
### East Jones Binder
### East Jones Pen Set
### Central Smith Desk
### East Jones Pencil
### Central Jardine Pencil
### East Jones Pencil
### West Sorvino Pencil
### Central Andrews Pencil
Friday, May 22, 2020 West Thompson Pencil
Sunday, July 12, 2020 East Howard Binder

Q1 Calculate the total cost.Total cost=unit cost*No of units


Q2 Lock this data sheet and set password as 123.
Q3 Apply conditional formatting and highlight the unit cost column in red colour whe
Q4 Apply conditional formatting and highlight the Num of units column in green colou
Q5 Sort the table in descending order of total cost.
Q6 Convert the Order date type from Date to Long date.
Q7 Apply conditional formatting and give green colour to Customer name whose Tota
Q8 Apply gradient fill and show data bars for Total cost column.
Num of Units Unit cost Total cost
81 19.99 1619.19
50 19.99 999.5
27 19.99 539.73
60 8.99 539.4
90 4.99 449.1
90 4.99 449.1
60 4.99 299.4
16 15.99 255.84
2 125 250
95 1.99 189.05
36 4.99 179.64
35 4.99 174.65
56 2.99 167.44
75 1.99 149.25
32 1.99 63.68
29 1.99 57.71

lumn in red colour where unit cost us greater than 10.


ts column in green colour where Num of units lies between 30 and 65.

omer name whose Total cost is greater than 500.


Order date Region Customer_name Item Num of Units Unit cost Total cost
1/6/2020 East Jones Pencil 95 1.99 189.05
1/23/2020 Central Kivell Binder 50 19.99 999.5
2/9/2020 Central Jardine Pencil 36 4.99 179.64
2/26/2020 Central Gill Pen 27 19.99 539.73
3/15/2020 West Sorvino Pencil 56 2.99 167.44
4/1/2020 East Jones Binder 60 4.99 299.4
4/18/2020 Central Andrews Pencil 75 1.99 149.25
5/5/2020 Central Jardine Pencil 90 4.99 449.1
5/22/2020 West Thompson Pencil 32 1.99 63.68
6/8/2020 East Jones Binder 60 8.99 539.4
6/25/2020 Central Morgan Pencil 90 4.99 449.1
7/12/2020 East Howard Binder 29 1.99 57.71
7/29/2020 East Parent Binder 81 19.99 1619.19
8/15/2020 East Jones Pencil 35 4.99 174.65
9/1/2020 Central Smith Desk 2 125 250
9/18/2020 East Jones Pen Set 16 15.99 255.84

Q9 Give colour scales(heat maps) to total cost columns

Q10 Give light grey colour to alternate rows by using conditional formatting.
OrderDate Region Customer name Item Units
1/6/2020 East Jones Pencil 95
1/23/2020 Central Kivell Binder 50
2/9/2020 Central Jardine Pencil 36
2/26/2020 Central Gill Pen 27
3/15/2020 West Sorvino Pencil 56
4/1/2020 East Jones Binder 60
4/18/2020 Central Andrews Pencil 75
5/5/2020 Central Jardine Pencil 90
5/22/2020 West Thompson Pencil 32
10/22/2020 Central Jones Pen 64
11/8/2020 East Parent Pen 15
11/25/2020 Central Kivell Pen Set 96
12/12/2020 Central Smith Pencil 67
12/29/2020 East Parent Pen Set 74
1/15/2021 Central Gill Binder 46
2/1/2021 Central Smith Binder 87
2/18/2021 East Jones Binder 4
3/7/2021 West Sorvino Binder 7

Q1.Use OR and give condition Total_cost>100,Unit_cost<10


Q2.Use AND and give condition Total_cost>100,Unit_cost<10
Q3.Calculate sum of total_cost.Use sum() function
Q4.Calculate average of total_cost.Use average() function.
Q5.Calculate sum of (units* unitcost).Use sumproduct() function.
Q6.Calculate the sum of total cost of all pencils.Use sumif() and give criteria a "Pencil"
Q7.Calculate the sum of total cost of all binders.Use sumif() and give criteria a "Binder"
Q8.Calculate the average of total cost of all pens.Use averageif() and give criteria a "Pen"
Q9.Calculate sum of total cost of pencils sold in East region.Use sumifs().
Q10.Calculate sum of total cost of pens sold in Central region.Use sumifs().
UnitCost Total_co AND OR
st
1.99 189.05 1 1
19.99 999.5 0 1
4.99 179.64 1 1
19.99 539.73 0 1
2.99 167.44 1 1
4.99 299.4 1 1
1.99 149.25
1 1
4.99 449.1 1 1
1.99 63.68
0 1
8.99 575.36 1 1
19.99 299.85 0 1
4.99 479.04 1 1
1.29 86.43 0 1
15.99 1,183.26 0 1
8.99 413.54 1 1
15 1,305.00 0 1
4.99 19.96 0 1
19.99 139.93 0 1

7539.16
418.8422
7539.16
ria a "Pencil" 1284.59
ria a "Binder" 3177.33
criteria a "Pen" 471.6467
189.05
1115.09
test
gender race/ethnicity parental level of preparation math score
education
course
male group B some high school none 36
male group C some college none 74
female group D bachelor's degree completed 55
female group D bachelor's degree completed 66
male group C some high school completed 54
female group C high school none 90
male group E some college none 88
male group E some college none 72
male group B some college none 63
female group A some high school none 59

Q1 Calculate average math score of male students

Q2. Calculate average reading score of female students who belongs to group

Q3. Fill grade column by using if condition.refer to grade table.

Q4. Calculate the maximum of total scores

Q5. Calculate the minimum of total scores

Q6. Calculte the 3rd highest reading score

Q7. What is the 4th smallest writing score

Q8. What is the rank of the student whose total score is 186

Q9. Calculte percentage=(total score/300)

Q10 Mark highest percentage in red colour


reading writing Total Grade Percentage
score score score
30 31 97 D 32.333333333
59 53 186 C 62 Marks grade
57 60 172 C 57.333333333 <=100 D
70 77 213 C 71 101-150 C
57 53 164 C 54.666666667 151-200 B
88 88 266 C 88.666666667 >200 A
85 78 251 C 83.666666667
50 48 170 C 56.666666667
62 62 187 C 62.333333333
63 65 187 C 62.333333333

64.5

o belongs to group D 63.5

266

97

70

53

You might also like