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

Excel Assignment

The document contains examples of conditional formatting, data validation, Excel formulas, pivot tables, and charts. It includes sample data on student results, city information, monthly bills, employee data, order data, and revenue by flavor. Formulas are used to calculate totals, sums, counts, and percentages. Pivot tables and charts summarize order data by location, flavor, and metrics like revenue and containers.

Uploaded by

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

Excel Assignment

The document contains examples of conditional formatting, data validation, Excel formulas, pivot tables, and charts. It includes sample data on student results, city information, monthly bills, employee data, order data, and revenue by flavor. Formulas are used to calculate totals, sums, counts, and percentages. Pivot tables and charts summarize order data by location, flavor, and metrics like revenue and containers.

Uploaded by

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

Exercise 1: Conditional Formatting

Student Id Gender Age Result(in percentage)


2210101 F 14 87
2210102 M 15 86
2210103 F 15 73
2210104 M 16 56
2210105 M 14 90
2210106 M 15 68
2210107 F 15 80
2210108 F 16 79
2210109 F 15 91
2210110 M 15 70
Exercise 2: Conditional Formating with data validation (drop down list)

S.No. City Name Pincode


1 Hyderabad 500001
2 Gaya 823001
3 Siwan 841226
4 Kanpur 208001
5 Adyar 600020
6 Anna Nagar 600040
Exercise 3: Excel formulas

Month WATER BILL ELECTRIC BIL


January 17 200
February 18 250
March 32 300
April 45 100
May 67 150
June 89 120
July 23 140
August 33 210
September 27 190
October 78 300
November 67 130
December 45 110
TOTAL BILL
217
268
332
145
217 TOTAL BILL FORMULA: =D7+E7
209
163
243
217
378
197
155
2741
S.No. Name House Employee id Sales Region Region Code
1 Ned Stark Stark 1002 North 123
2 Cersei Lannister Lannister 1003 South 341
3 Daenerys Targaryen Targareyen 1005 West 341
4 Arya Stark Stark 1006 North 123
5 Joffrey Baratheon Baratheon 1007 South 341
6 Samwell Tarly Tarly 1005 South 140
7 Tyrion Lannister Lannister 1008 South 123
8 Sansa Stark Stark 1009 North 123
Total Sales

SUM FUNCTION: 148000


SUMIF FUNCTION: 49000
SUMIFS FUNCTION: 36000
COUNTIF FUNCTION: 4
COUNTIFS FUNCTION 1
Sales(in rs) New Customers Commision
20000 22 2000
15000 21 1500
12000 16 1200
10000 26 900
25000 15 2500
26000 20 2000
21000 20 2200
19000 27 2800
148000
Exercise 5: Pivot table dashboard - 1

Order Id Order Date Flavour Customer Location Containers


98227 1-Jan-22 Strawberry Atlanta 23
98228 1-Jan-22 Chocolate Houston 19
98229 1-Jan-22 Chocolate Atlanta 20
98230 1-Jan-22 Banana Houston 19
98231 1-Jan-22 Caramel Los Angeles 21
98232 1-Jan-22 Chocolate Atlanta 25
98233 1-Jan-22 Cherry Houston 25
98234 1-Jan-22 Strawberry New York 22
98235 1-Jan-22 Cherry Atlanta 24
98236 1-Jan-22 Strawberry Los Angeles 24
98237 1-Jan-22 Vanilla Atlanta 18
98238 1-Jan-22 Banana Houston 25
98239 1-Jan-22 Mango Atlanta 24
98240 1-Jan-22 Lemon Seattle 19
98241 1-Jan-22 Vanilla New York 18
98242 1-Jan-22 Chocolate Chicago 18
98243 1-Jan-22 Mango Seattle 20
98244 1-Jan-22 Caramel Houston 20
98245 1-Jan-22 Caramel Chicago 18
98246 1-Jan-22 Caramel Seattle 17
Total Revenue Total Cost
115 96
152 76
160 54
76 69
168 80
152 54
175 54
125 54
110 66
168 80
120 72
90 57
125 75
192 79
95 57
90 60
90 19
100 100
140 72
90 84
Data
Flavour Sum of Total Revenue Count of Containers
Banana 166 2
Caramel 498 4
Cherry 285 2
Chocolate 554 4
Lemon 192 1
Mango 215 2
Strawberry 408 3
Vanilla 215 2
(empty)
Total Result 2533 20

₹ 600.00

This shape represents a slicer. Slicers are ₹ 500.00


supported in Excel 2010 or later.
₹ 400.00
If the shape was modified in an earlier
version of Excel, or if the workbook was ₹ 300.00
saved in Excel 2003 or earlier, the slicer
cannot be used. ₹ 200.00

₹ 100.00

₹ 0.00
ou
r a el ry at
e on
an m er ol
av an ra Ch Le
m
Fl B Ca oc M
Ch
Data
Flavour Sum of Total Revenue Sum of Total Revenue2 Sum of Order Id
(empty)
Banana 166 6.55% 196468
Lemon 192 7.58% 98240
Mango 215 8.49% 196482
Vanilla 215 8.49% 196478
Cherry 285 11.25% 196468
Strawberry 408 16.11% 294697
Caramel 498 19.66% 392966
Chocolate 554 21.87% 392931
Total Result 2533 100.00% 1964730

₹ 600.00 4.5
4
₹ 500.00
3.5
₹ 400.00 3
2.5
₹ 300.00
2
₹ 200.00 1.5
1
₹ 100.00
0.5
₹ 0.00 0
ou
r a el ry at
e on go rry ill
a y)
an m er ol an be pt
av an ra Ch Le
m an m
Fl B Ca oc M
ra
w V (e
Ch St
Data
₹ 600.00
Flavour Sum of Total Revenue Count of Containers
Banana 166 2 ₹ 500.00
Caramel 498 4
Cherry 285 2 ₹ 400.00
Chocolate 554 4
Lemon 192 1 ₹ 300.00
Mango 215 2
Strawberry 408 3 ₹ 200.00
Vanilla 215 2
₹ 100.00
(empty)
Total Result 2533 20
₹ 0.00
ur na el ry te on
This shape represents a slicer. Slicers are vo na m her ola m
Fl
a a ra C c Le M
supported in Excel 2010 or later. B Ca Ch
o

If the shape was modified in an earlier


version of Excel, or if the workbook was
saved in Excel 2003 or earlier, the slicer
cannot be used.

Customer LocationFlavour Sum of Total Revenue


Atlanta 782 Total
Cherry 110 12
Chocolate 312
Mango 125 10
Strawberry 115 8
Vanilla 120
Chicago 230 6
Caramel 140 4
Chocolate 90
Houston 593 2
Banana 166 0
Caramel 100 a g o
to
n le
s rk
nt ica us ge Yo
Cherry 175 la
At Ch Ho
s An Ne
w
Chocolate 152 Lo
Los Angeles 336
Caramel 168
Strawberry 168
New York 220
Strawberry 125
Vanilla 95
Seattle 372
Caramel 90
Lemon 192
Mango 90
Total Result 2533
4.5
4
3.5
3
2.5
2
1.5
1
0.5
0
el ry te on go rry ill
a y)
m her ola m an be an pt
ra C c Le M w V m
Ca o ra (e
Ch St

Total

on s rk le t
st le Yo ul
ge att Re
s
An w Se l
s Ne ta
Lo To
Customer LocatioFlavour Sum of Total Revenue
Atlanta 782
Cherry 110
Chocolate 312
Mango 125
Strawberry 115
Vanilla 120
Chicago 230 Total
Caramel 140 12
Chocolate 90
10
Houston 593
Banana 166 8
Caramel 100
6
Cherry 175
Chocolate 152 4
Los Angeles 336
Caramel 168 2
Strawberry 168 0
New York 220 a o n s rk le
nt g to le Yo
la ica us ge att
Strawberry 125 A t Ch o An w Se l
H s Ne ta
Vanilla 95 Lo To

Seattle 372
Caramel 90
Lemon 192
Mango 90
Total Result 2533
s rk le t
le Yo ul
e att Re
s
ng w Se l
Ne ta
To
Scenario Summary
Current Values: 15 price 20 price 25 price 30 price
Changing Cells:
$C$6 ₹ 10.00 15 price 20 price 25 price 30 price
Result Cells:
$C$13 ₹ 982.00 #VALUE! #VALUE! #VALUE! #VALUE!
Notes: Current Values column represents values of changing cells at
time Scenario Summary Report was created. Changing cells for each
scenario are highlighted in gray.
35 price

35 price

#VALUE!
Scenario Summary
Current Values: 15 price 20 price 25 price 30 price
Changing Cells:
$C$6 ₹ 10.00 ₹ 15.00 ₹ 20.00 ₹ 25.00 ₹ 30.00
Result Cells:
$C$13 ₹ 982.00 ₹ 1,477.00 ₹ 1,972.00 ₹ 2,467.00 ₹ 2,962.00
Notes: Current Values column represents values of changing cells at
time Scenario Summary Report was created. Changing cells for each
scenario are highlighted in gray.
35 price

₹ 35.00

₹ 3,457.00
Scenario Summary
Current Values: 500 qty 200 qty 300 qty 400 qty
Changing Cells:
$C$11 100.00 500.00 200.00 300.00 400.00
Result Cells:
$C$13 ₹ 982.00 ₹ 4,982.00 ₹ 1,982.00 ₹ 2,982.00 ₹ 3,982.00
Notes: Current Values column represents values of changing cells at
time Scenario Summary Report was created. Changing cells for each
scenario are highlighted in gray.
600 qty

600.00

₹ 5,982.00
Ex 6: Scenario Analysis

Category Product
Manufacturing Cost ₹ 10.00
Transportation Cost ₹ 3.00
Other Cost ₹ 5.00
Total Cost ₹ 18.00
Selling Price ₹ 18.00
Units Sold 100.00
Total Revenue ₹ 1,000.00
Total Profit ₹ 982.00
Ex 7: Summary Statistics

Item Status Amount


Banana Delivered ₹ 70.00
Apple Cancelled ₹ 90.00
Banana In Transit ₹ 90.00
Cherry Delivered ₹ 100.00
Cherry In Transit ₹ 115.00
Apple Delivered ₹ 130.00
Banana Delivered ₹ 250.00

Mean ₹ 120.71 AVERAGE(D6:D12)


Median ₹ 100.00 MEDIAN(D6:D12)
Mode ₹ 90.00 Mode(D6:D12)
Standard Deviation 55.7051275 STDEV.P(D6:D12) {Based on Population}
60.1684144 STDEV.S(D6:D12) {Based on sample}
Variance 3103.06122 VAR.P(D6:D12)
3620.2381 VAR.S(D6:D12)
Exercise 8: Regression - I

Month Rainfall Umbrellas sold


Jan 82 15
Feb 92.5 25
Mar 83.2 17
Apr 97.7 28
May 131.9 41
Jun 141.3 47
July 165.4 50
Aug 140 46
Sept 126.7 37
Oct 97.8 22
Nov 86.2 20
Dec 99.6 30

SUMMARY OUTPUT

Regression Statistics
Multiple R 0.972694792385
R Square 0.946135159133
Adjusted R Square 0.940748675047
Standard Error 3.003724495553
Observations 12

ANOVA
df SS MS F
Regression 1 1584.77639154817 1584.776391548 175.64985692123
Residual 10 90.2236084518346 9.022360845183
Total 11 1675

Coefficients Standard Error t Stat P-value


Intercept -17.0392066447 3.76367139388182 -4.52728329906 0.0010959687419
X Variable 1 0.433289057306 0.03269292821709 13.25329607763 1.1418535175E-07

RESIDUAL OUTPUT

Observation Predicted Y Residuals


1 18.4904960544 -3.49049605439881
2 23.04003115611 1.95996884389219
3 19.01044292317 -2.01044292316556
4 25.2931342541 2.70686574590297
5 40.11162001395 0.88837998605082
6 44.18453715262 2.815462847378
7 54.62680343369 -4.6268034336874
8 43.62126137812 2.37873862187531
9 37.85851691596 -0.85851691595996
10 25.33646315983 -3.33646315982758
11 20.31031009508 -0.31031009508241
12 26.11638346298 3.88361653702231
Significance F
1.1418535175E-07

Lower 95% Upper 95% Lower 95.0% Upper 95.0%


-25.425189103479 -8.6532241858445 -25.42518910348 -8.653224
0.3604446737599 0.5061334408513 0.3604446737599 0.506133
Exercise 9: Paired Sample T-Test

Subject Test 1 Test 2


English 79.9 86.7
Maths 77.2 86.4
Physics 74.5 86.1
Geography 71.8 85.8
History 69.1 85.5
Social Science 66.4 85.2
Chemistry 63.7 84.9
Biology 77.5 84.6
Economics 58.3 84.3
Programming 55.6 84.9
Drawing 52.9 83.7
Civics 50.2 83.4

Method 1
Syntax TTEST(array1,array2,tails,type)
Formula TTEST(C6:C17,D6:D17,2,1)
OUTPUT 2.6272739325E-05

Method 2

t-Test: Paired Two Sample for Means

Variable 1 Variable 2
Mean 66.425 85.125
Variance 105.3075 1.0656818
Observations 12 12
Pearson Correlation 0.8466735665581
Hypothesized Mean Diff 0
df 11
t Stat -6.88844595825
P(T<=t) one-tail 1.3136369663E-05
t Critical one-tail 1.795884818704
P(T<=t) two-tail 2.6272739325E-05
t Critical two-tail 2.2009851600916
Exercise 10: Independent sample T-Test

Early Bird Night owl


23 26
28 10
27 20
33 19
26 26
30 18
22 12
25 25

Method 1:

Syntax TTEST(ARRAY1,ARRAY2,TAILS,TYPE)
Formula TTEST(B6:B13,C6:C13,2,2)
Output 0.012171641048

Method 2

t-Test: Two-Sample Assuming Equal Variances

Variable 1 Variable 2
Mean 26.75 19.5
Variance 13.07142857143 37.71429
Observations 8 8
Pooled Variance 25.39285714286
Hypothesized Mean 0
df 14
t Stat 2.87747936264
P(T<=t) one-tail 0.006085820524
t Critical one-tail 1.761310135775
P(T<=t) two-tail 0.012171641048
t Critical two-tail 2.144786687918
Exercise 11: One way Anova 1

Feed A Feed B Feed C


12.3 12.1 11.5
11.4 13.4 12.4
13.4 14 10.8
12.5 13.6 12.6
12 12.8 11.8
13.1 14.2 11.9

Anova: Single Factor

SUMMARY
Groups Count Sum Average Variance
Column 1 6 74.7 12.45 0.531
Column 2 6 80.1 13.35 0.615
Column 3 6 71 11.83333 0.418667

ANOVA
Source of Variation SS df MS F P-value F crit
Between Groups 6.98111111111 2 3.490556 6.692586 0.008366 3.68232
Within Groups 7.82333333333 15 0.521556

Total 14.8044444444 17
Exercise 12: Two Way Anova 1

Column1 Sunlight Exposure Column2 Column3 Column4


Watering Frequqncy None Low Medium High
Daily 4.8 5 6.4 6.3
4.4 5.2 6.2 6.4
3.2 5.6 4.7 5.6
3.9 4.3 5.5 4.8
4.4 4.8 5.8 5.8
Weekly 4.4 4.9 5.8 6
4.2 5.3 6.2 4.9
3.8 5.7 6.3 4.6
3.7 5.4 6.5 5.6
3.9 4.8 5.5 5.5

Anova: Two-Factor With Replication

SUMMARY None Low Medium High Total


Daily
Count 5 5 5 5 20
Sum 20.7 24.9 28.6 28.9 103.1
Average 4.14 4.98 5.72 5.78 5.155
Variance 0.378000000000011 0.232 0.447 0.412 0.775237

Weekly
Count 5 5 5 5 20
Sum 20 26.1 30.3 26.6 103
Average 4 5.22 6.06 5.32 5.15
Variance 0.085 0.137 0.163 0.317 0.722632

Total
Count 10 10 10 10
Sum 40.7 51 58.9 55.5
Average 4.07 5.1 5.89 5.55
Variance 0.21122222222223 0.18 0.30322222 0.38277778

ANOVA
Source of Variation SS df MS F P-value
Sample 0.000249999999994 1 0.00025 0.00092123 0.975975
Columns 18.76475 3 6.25491667 23.048979 3.898E-08
Interaction 1.01075000000001 3 0.33691667 1.24151697 0.310898
Within 8.684 32 0.271375

Total 28.45975 39
F crit
4.149097
2.90112
2.90112

You might also like