Excel Functions Homework Exercises
Excel Functions Homework Exercises
1/1/2016 146 77 18
1/1/2016 169 72 15
1/1/2016 199 71 19
1/2/2016 281 66 10 1) Populate colum
corner of the cell t
1/2/2016 266 53 19
1/2/2016 277 84 15 2) Drag the formul
1/3/2016 145 73 15 which cells are bei
the same
1/3/2016 227 69 12
1/3/2016 180 79 16 3) Return to the fo
1/4/2016 0 0 0 calculation always
1/5/2016 242 75 10
1/5/2016 215 75 16
1/5/2016 244 82 16
1/5/2016 179 71 13
1/5/2016 276 72 14
1/6/2016 127 78 20
1/6/2016 283 78 18
1/6/2016 126 76 20
1/7/2016 262 81 19
1/7/2016 287 81 14
1/7/2016 269 82 14
1/8/2016 272 54 10
1/8/2016 204 69 11
1/8/2016 150 72 20
1/8/2016 261 90 19
INSTRUCTIONS:
1) Populate column E to calculate Leads per Call (column C divided by column B), and double click the lower-right
corner of the cell to apply the formula down to all rows
2) Drag the formula from cell E2 to F2. Is "Sales per Call" being calculated properly? Use the F2 shortcut to check
which cells are being references by the formula, and try using the Trace Precedents option in the Formula tab to do
the same
3) Return to the formula in column E and update your reference types (using the F4 shortcut) to make sure the
calculation always reads from column B, then drag the formula to column F and apply to all rows
ck the lower-right
shortcut to check
he Formula tab to do
Total Sales
INSTRUCTIONS:
1) Use SUMIF to populate cell H5, which calculates the Total Sales based on the product category in cell H2
2) Use SUMIFS formulas to populate Total Sales and Total Revenue in the table above, based on the store
location in column G and the product type in cell H2 (HINT: practice using reference types)
3) Use a COUNTIFS formula to calculate Number of Product IDs by store location and product type
Apparel & Accessories
Consumer Electronics
Health & Beauty
Food & Beverage
3) Change the errors in the Per Capita Income column to display "NO
INCOME DATA" rather than #N/A
State State Abbreviation
Alabama AL
Alaska AK
Arizona AZ
Arkansas AR
California CA
Colorado CO
Connecticut CT
D.C. DC
Delaware DE
Florida FL
Georgia GA
Hawaii HI
Idaho ID
Illinois IL
Indiana IN
Iowa IA
Kansas KS
Kentucky KY
Louisiana LA
Maine ME
Maryland MD
Massachusetts MA
Michigan MI
Minnesota MN
Mississippi MS
Missouri MO
Montana MT
Nebraska NE
Nevada NV
New Hampshire NH
New Jersey NJ
New Mexico NM
New York NY
North Carolina NC
North Dakota ND
Ohio OH
Oklahoma OK
Oregon OR
Pennsylvania PA
Rhode Island RI
South Carolina SC
South Dakota SD
Tennessee TN
Texas TX
Utah UT
Vermont VT
Virginia VA
Washington WA
West Virginia WV
Wisconsin WI
Wyoming WY
State Year Per Capita Income
Alabama 2001 $24,477
Alaska 2001 $31,027
Arizona 2001 $25,878
Arkansas 2001 $22,750
California 2001 $32,655
Colorado 2001 $33,455
D.C. 2001 $32,166
Delaware 2001 $40,539
Florida 2001 $29,048
Georgia 2001 $28,523
Hawaii 2001 $29,034
Idaho 2001 $24,506
Indiana 2001 $27,522
Iowa 2001 $27,225
Kansas 2001 $28,432
Maryland 2001 $35,279
Massachusetts 2001 $38,864
Michigan 2001 $29,629
Minnesota 2001 $33,059
Mississippi 2001 $21,653
Missouri 2001 $28,221
Montana 2001 $24,044
Nebraska 2001 $28,861
Nevada 2001 $30,128
New Hampshire 2001 $33,969
New Jersey 2001 $38,625
New Mexico 2001 $23,081
New York 2001 $35,878
North Carolina 2001 $27,308
North Dakota 2001 $25,798
Ohio 2001 $28,699
Oklahoma 2001 $24,945
Oregon 2001 $28,222
Pennsylvania 2001 $30,752
Rhode Island 2001 $30,256
South Carolina 2001 $24,840
South Dakota 2001 $26,566
Tennessee 2001 $26,808
Texas 2001 $28,472
Utah 2001 $24,033
Vermont 2001 $28,756
Virginia 2001 $32,338
Washington 2001 $31,976
West Virginia 2001 $22,862
Wisconsin 2001 $29,196
Wyoming 2001 $29,587
Alabama 2002 $25,128
Alaska 2002 $32,151
Arizona 2002 $26,183
Arkansas 2002 $23,512
California 2002 $32,996
Colorado 2002 $33,276
Connecticut 2002 $42,706
Delaware 2002 $42,120
Florida 2002 $29,596
Georgia 2002 $28,821
Hawaii 2002 $30,001
Idaho 2002 $25,057
Illinois 2002 $33,404
Indiana 2002 $28,240
Iowa 2002 $28,280
Kansas 2002 $29,141
Louisiana 2002 $25,446
Maine 2002 $27,744
Massachusetts 2002 $39,244
Michigan 2002 $30,296
Minnesota 2002 $34,071
Mississippi 2002 $22,372
Missouri 2002 $28,936
Montana 2002 $25,020
Nebraska 2002 $29,771
Nevada 2002 $30,180
New Hampshire 2002 $34,334
New Jersey 2002 $39,453
New Mexico 2002 $23,941
New York 2002 $36,043
North Carolina 2002 $27,711
North Dakota 2002 $26,982
Ohio 2002 $29,405
Oklahoma 2002 $25,575
Oregon 2002 $28,731
Pennsylvania 2002 $31,727
Rhode Island 2002 $31,319
South Carolina 2002 $25,400
South Dakota 2002 $26,894
Tennessee 2002 $27,671
Texas 2002 $28,551
Utah 2002 $24,306
Vermont 2002 $29,567
Virginia 2002 $32,922
Washington 2002 $32,677
West Virginia 2002 $23,688
Wisconsin 2002 $29,923
Wyoming 2002 $30,578
Alabama 2003 $26,338
Alaska 2003 $33,568
Arizona 2003 $26,838
Arkansas 2003 $24,289
California 2003 $33,749
Colorado 2003 $34,283
Connecticut 2003 $43,173
Delaware 2003 $48,342
Florida 2003 $30,446
Georgia 2003 $29,442
Hawaii 2003 $30,913
Indiana 2003 $28,783
Iowa 2003 $29,043
Kansas 2003 $29,935
Kentucky 2003 $26,252
Louisiana 2003 $26,100
Maine 2003 $28,831
Maryland 2003 $37,331
Massachusetts 2003 $39,815
Michigan 2003 $30,439
Minnesota 2003 $34,443
Mississippi 2003 $23,448
Missouri 2003 $29,252
Montana 2003 $25,920
Nebraska 2003 $30,758
Nevada 2003 $31,266
New Hampshire 2003 $34,702
New Jersey 2003 $40,427
New Mexico 2003 $25,541
New York 2003 $36,574
North Carolina 2003 $28,235
North Dakota 2003 $29,204
Ohio 2003 $29,944
Oklahoma 2003 $26,656
Oregon 2003 $29,340
Pennsylvania 2003 $31,998
Rhode Island 2003 $31,916
South Carolina 2003 $26,132
South Dakota 2003 $29,234
Tennessee 2003 $28,455
Texas 2003 $29,372
Utah 2003 $24,977
Vermont 2003 $30,740
Virginia 2003 $33,671
Washington 2003 $33,332
West Virginia 2003 $24,379
Wisconsin 2003 $30,898
Wyoming 2003 $32,808
Alabama 2004 $29,136
Alaska 2004 $35,612
Arizona 2004 $30,267
Arkansas 2004 $26,874
California 2004 $37,036
Colorado 2004 $37,946
Connecticut 2004 $47,819
D.C. 2004 $37,065
Delaware 2004 $54,985
Florida 2004 $33,219
Georgia 2004 $31,121
Hawaii 2004 $34,539
Idaho 2004 $28,158
Illinois 2004 $36,120
Indiana 2004 $31,276
Iowa 2004 $32,315
Kansas 2004 $32,836
Kentucky 2004 $28,513
Louisiana 2004 $24,820
Maine 2004 $31,252
Maryland 2004 $41,760
Massachusetts 2004 $44,289
Michigan 2004 $33,116
Minnesota 2004 $37,373
Mississippi 2004 $25,318
Missouri 2004 $31,899
Montana 2004 $29,387
Nebraska 2004 $33,616
New Hampshire 2004 $38,408
New Mexico 2004 $27,644
North Carolina 2004 $30,553
North Dakota 2004 $31,395
Ohio 2004 $32,478
Oklahoma 2004 $29,330
Oregon 2004 $32,103
Pennsylvania 2004 $34,897
Rhode Island 2004 $36,153
South Carolina 2004 $28,352
South Dakota 2004 $31,614
Tennessee 2004 $31,107
Texas 2004 $32,462
Vermont 2004 $33,327
Virginia 2004 $38,390
Washington 2004 $35,409
West Virginia 2004 $27,215
Wisconsin 2004 $33,565
Wyoming 2004 $36,778
Year Impressions Clicks Transactions
2000 36,487 7,079 38 Year:
2001 35,832 9,023 42 Metric:
2002 31,170 7,100 40
2003 27,782 8,586 46 TOTAL:
2004 32,952 7,726 46
2005 26,275 9,759 25
2006 29,767 9,325 30 INSTRUCTIONS:
2007 32,118 9,154 38 1) Use data validation to create a drop-down list o
2008 33,634 8,377 41 and all metrics (i.e. Transactions, Impressions, Clic
2009 31,634 8,069 40
2) Use a formula combining INDEX and MATCH in
2010 39,392 7,266 30 correct value from the data in columns A-D, based
2011 30,892 8,895 27 selected
2012 31,450 9,986 32
BONUS: Update the VLOOKUP formula in the "Loo
2013 32,382 8,232 33 an INDEX/MATCH combo to return the same value
2014 31,536 9,653 32
2015 26,286 8,467 48
2016 25,347 7,541 25
INSTRUCTIONS:
1) Use the COUNTA function in cell D2 to return the number of dates in column A (tip: don't
count the header!)
2) Use the OFFSET function in cell D4 to return the latest date in column A by starting at cell A1,
shifting down 20 rows, and returning the value of a single cell (height = 1, width = 1)
3) Update the OFFSET function in cell D4 to replace the number 20 with a COUNTA function that
automatically identifies the last populated row in the column. Try adding more dates to see if the
formula updates properly
4) Starting with the same OFFSET function, adjust the "cols" index to return the last value from
column B
5) Combine SUM and OFFSET functions in cell D8 to return the sum of all values in column B
(even though you can just use SUM)
6) Starting with your formula from cell D8, tweak it in cell D10 to return the sum of all values in
column B through the previous day (in other words, all values except for the last one)
Product Key Product ID (v1) Product ID (v2) Product Category
133462-AA-BOS_SMALL
191768-AC-NYC_MEDIUM
157263-BB-BOS_XL
1734372-AA-CHI_SMALL
135351-BC-NYC_XL
14330305-AC-BOS_LARGE
177772-BB-NYC_MEDIUM
87192837-AB-CHI_XL
161266-BB-CHI_SMALL
122892-AA-NYC_MEDIUM
128919-AC-CHI_XL
191999-BB-BOS_LARGE
117091126-BC-NYC_LARGE
112283-AB-BOS_MEDIUM
Product Size (v1) Product Size (v2) New Key City
Use the LEFT function to populate the Product ID column, equal to the first six characters of
Product Key in column A
Turns out that some product IDs may be longer than 6 characters... In column C, update the
duct ID formula to combine LEFT and SEARCH functions, allowing you to return ALL
racters to the left of the first "-"
Populate the Product Category column in column D using MID and SEARCH, to return the two
racters immediately following the first "-" in the Product Key
Populate Product Size using IF, ISNUMBER, and SEARCH functions, based on the logic below:
nstead of using IF(ISNUMBER(SEARCH)), write a formula in column F to pull all characters from
right of the Product Key following the underscore ("_") (hint: use RIGHT, LEN, and SEARCH)
How can we extract the city name ("BOS", "NYC" or "CHI"), which follows the second dash in
Product Key? Start by creating a new version of the product key in column G which
stitutes a pipe ("|") in place of the second dash ("-"), then write a function in column H to
urn the 3 characters after the pipe
Start Date: 1/1/2015
TODAY:
NOW:
WEEKDAY:
WORKDAY:
NETWORKDAY:
Date
1/1/2015
INSTRUCTIONS:
7) Drag the date in cell B19 down to row 30, and test
filling the series by day, weekday, month, and year
Date Revenue Revenue Change Cost Profit
1/1/2014 1099 275 643 456
2/1/2014 1204 105 720 211
3/1/2014 1944 740 964 980
4/1/2014 1743 -201 830 913
5/1/2014 1609 -134 910 699
6/1/2014 1494 -115 909 585
7/1/2014 1959 465 830 1129
8/1/2014 1868 -91 906 962
9/1/2014 1162 -706 606 556
10/1/2014 1424 262 943 481
11/1/2014 1232 -192 801 431
12/1/2014 1738 506 786 952
1/1/2015 1435 -303 575 860
2/1/2015 1865 430 754 1111
3/1/2015 1234 -631 599 635
4/1/2015 1577 343 940 637
5/1/2015 1983 406 954 1029
6/1/2015 1356 -627 577 779
7/1/2015 1874 518 865 883
8/1/2015 1479 -395 588 891
9/1/2015 1943 464 785 712
10/1/2015 1444 -499 657 787
11/1/2015 1493 49 880 613
12/1/2015 1738 245 580 1158
Top Product Category Profit Margin
Apparel 0.415
INSTRUCTIONS:
Electronics 0.175
Kids 0.504 1) Format the Revenue column as currency, with no decimal places, and
Apparel 0.524 painter to apply the same formatting to columns C, D, and E
Electronics 0.434 2) Format the Profit Margin column as a percent, with 1 decimal place
Apparel 0.392
Electronics 0.576 3) Use conditional formatting to add a color scale to the Profit Margin
Apparel 0.515 red, high values = green)
Kids 0.478 4) Use conditional formatting to add directional arrow icons to the Rev
Kids 0.338 and edit to show an up arrow for values >200 and a down arrow for val
Electronics 0.350
5) Create a formula-based formatting rule to format the dates in colum
Apparel 0.548 red text and light red fill when the profit margin in column G is <40%
Electronics 0.599
Electronics 0.596 6) Add a formula-based formatting rule to highlight rows in columns A-
Apparel 0.515 the Top Product Category = "Kids"
Electronics 0.404
Apparel 0.519
Kids 0.574
Electronics 0.471
Apparel 0.602
Electronics 0.366
Apparel 0.545
Kids 0.411
Electronics 0.666
INSTRUCTIONS:
INSTRUCTIONS:
1) In cell G2, use a dynamic array formula to sort the Employees by Office (ascending) and by 2016 Sales (descend
2) In cell N2, use a dynamic array formula with MAX to return the Employee with the highest 2016 Sales
3) In cell M5, use dynamic array formulas to return a unique list of Departments sorted alphabetically
4) In cell N5, use SUMIFS to reference the spilled array in cell M5 and calculate the 2016 Sales by Department
5) In cell M11, use a dynamic array formula to return a filtered array with the Employees that had greater 2016 Sa
Office selected in cell N8
6) BONUS: In cell M18, use LET to write a single dynamic array formula that returns a unique list of Offices and the
sorted descending by Growth
Employee Office Department 2015 Sales 2016 Sales
RUCTIONS:
h the Employees that had greater 2016 Sales than 2015 Sales, based on the
hat returns a unique list of Offices and their Growth (2016 Sales - 2015 Sales),
Top Salesman (2016):
Office: BOS
Office Growth