Excel Homework Exercises
Excel Homework Exercises
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
620 620
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
tion field
using data
eed to add
splay "NO
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
UNIQUE ID State Year Per Capita Income
Alabama2001 Alabama 2001 $24,477
Alaska2001 Alaska 2001 $31,027
Arizona2001 Arizona 2001 $25,878
Arkansas2001 Arkansas 2001 $22,750
California2001 California 2001 $32,655
Colorado2001 Colorado 2001 $33,455
D.C.2001 D.C. 2001 $32,166
Delaware2001 Delaware 2001 $40,539
Florida2001 Florida 2001 $29,048
Georgia2001 Georgia 2001 $28,523
Hawaii2001 Hawaii 2001 $29,034
Idaho2001 Idaho 2001 $24,506
Indiana2001 Indiana 2001 $27,522
Iowa2001 Iowa 2001 $27,225
Kansas2001 Kansas 2001 $28,432
Maryland2001 Maryland 2001 $35,279
Massachusetts2001 Massachusetts 2001 $38,864
Michigan2001 Michigan 2001 $29,629
Minnesota2001 Minnesota 2001 $33,059
Mississippi2001 Mississippi 2001 $21,653
Missouri2001 Missouri 2001 $28,221
Montana2001 Montana 2001 $24,044
Nebraska2001 Nebraska 2001 $28,861
Nevada2001 Nevada 2001 $30,128
New Hampshire2001 New Hampshire 2001 $33,969
New Jersey2001 New Jersey 2001 $38,625
New Mexico2001 New Mexico 2001 $23,081
New York2001 New York 2001 $35,878
North Carolina2001 North Carolina 2001 $27,308
North Dakota2001 North Dakota 2001 $25,798
Ohio2001 Ohio 2001 $28,699
Oklahoma2001 Oklahoma 2001 $24,945
Oregon2001 Oregon 2001 $28,222
Pennsylvania2001 Pennsylvania 2001 $30,752
Rhode Island2001 Rhode Island 2001 $30,256
South Carolina2001 South Carolina 2001 $24,840
South Dakota2001 South Dakota 2001 $26,566
Tennessee2001 Tennessee 2001 $26,808
Texas2001 Texas 2001 $28,472
Utah2001 Utah 2001 $24,033
Vermont2001 Vermont 2001 $28,756
Virginia2001 Virginia 2001 $32,338
Washington2001 Washington 2001 $31,976
West Virginia2001 West Virginia 2001 $22,862
Wisconsin2001 Wisconsin 2001 $29,196
Wyoming2001 Wyoming 2001 $29,587
Alabama2002 Alabama 2002 $25,128
Alaska2002 Alaska 2002 $32,151
Arizona2002 Arizona 2002 $26,183
Arkansas2002 Arkansas 2002 $23,512
California2002 California 2002 $32,996
Colorado2002 Colorado 2002 $33,276
Connecticut2002 Connecticut 2002 $42,706
Delaware2002 Delaware 2002 $42,120
Florida2002 Florida 2002 $29,596
Georgia2002 Georgia 2002 $28,821
Hawaii2002 Hawaii 2002 $30,001
Idaho2002 Idaho 2002 $25,057
Illinois2002 Illinois 2002 $33,404
Indiana2002 Indiana 2002 $28,240
Iowa2002 Iowa 2002 $28,280
Kansas2002 Kansas 2002 $29,141
Louisiana2002 Louisiana 2002 $25,446
Maine2002 Maine 2002 $27,744
Massachusetts2002 Massachusetts 2002 $39,244
Michigan2002 Michigan 2002 $30,296
Minnesota2002 Minnesota 2002 $34,071
Mississippi2002 Mississippi 2002 $22,372
Missouri2002 Missouri 2002 $28,936
Montana2002 Montana 2002 $25,020
Nebraska2002 Nebraska 2002 $29,771
Nevada2002 Nevada 2002 $30,180
New Hampshire2002 New Hampshire 2002 $34,334
New Jersey2002 New Jersey 2002 $39,453
New Mexico2002 New Mexico 2002 $23,941
New York2002 New York 2002 $36,043
North Carolina2002 North Carolina 2002 $27,711
North Dakota2002 North Dakota 2002 $26,982
Ohio2002 Ohio 2002 $29,405
Oklahoma2002 Oklahoma 2002 $25,575
Oregon2002 Oregon 2002 $28,731
Pennsylvania2002 Pennsylvania 2002 $31,727
Rhode Island2002 Rhode Island 2002 $31,319
South Carolina2002 South Carolina 2002 $25,400
South Dakota2002 South Dakota 2002 $26,894
Tennessee2002 Tennessee 2002 $27,671
Texas2002 Texas 2002 $28,551
Utah2002 Utah 2002 $24,306
Vermont2002 Vermont 2002 $29,567
Virginia2002 Virginia 2002 $32,922
Washington2002 Washington 2002 $32,677
West Virginia2002 West Virginia 2002 $23,688
Wisconsin2002 Wisconsin 2002 $29,923
Wyoming2002 Wyoming 2002 $30,578
Alabama2003 Alabama 2003 $26,338
Alaska2003 Alaska 2003 $33,568
Arizona2003 Arizona 2003 $26,838
Arkansas2003 Arkansas 2003 $24,289
California2003 California 2003 $33,749
Colorado2003 Colorado 2003 $34,283
Connecticut2003 Connecticut 2003 $43,173
Delaware2003 Delaware 2003 $48,342
Florida2003 Florida 2003 $30,446
Georgia2003 Georgia 2003 $29,442
Hawaii2003 Hawaii 2003 $30,913
Indiana2003 Indiana 2003 $28,783
Iowa2003 Iowa 2003 $29,043
Kansas2003 Kansas 2003 $29,935
Kentucky2003 Kentucky 2003 $26,252
Louisiana2003 Louisiana 2003 $26,100
Maine2003 Maine 2003 $28,831
Maryland2003 Maryland 2003 $37,331
Massachusetts2003 Massachusetts 2003 $39,815
Michigan2003 Michigan 2003 $30,439
Minnesota2003 Minnesota 2003 $34,443
Mississippi2003 Mississippi 2003 $23,448
Missouri2003 Missouri 2003 $29,252
Montana2003 Montana 2003 $25,920
Nebraska2003 Nebraska 2003 $30,758
Nevada2003 Nevada 2003 $31,266
New Hampshire2003 New Hampshire 2003 $34,702
New Jersey2003 New Jersey 2003 $40,427
New Mexico2003 New Mexico 2003 $25,541
New York2003 New York 2003 $36,574
North Carolina2003 North Carolina 2003 $28,235
North Dakota2003 North Dakota 2003 $29,204
Ohio2003 Ohio 2003 $29,944
Oklahoma2003 Oklahoma 2003 $26,656
Oregon2003 Oregon 2003 $29,340
Pennsylvania2003 Pennsylvania 2003 $31,998
Rhode Island2003 Rhode Island 2003 $31,916
South Carolina2003 South Carolina 2003 $26,132
South Dakota2003 South Dakota 2003 $29,234
Tennessee2003 Tennessee 2003 $28,455
Texas2003 Texas 2003 $29,372
Utah2003 Utah 2003 $24,977
Vermont2003 Vermont 2003 $30,740
Virginia2003 Virginia 2003 $33,671
Washington2003 Washington 2003 $33,332
West Virginia2003 West Virginia 2003 $24,379
Wisconsin2003 Wisconsin 2003 $30,898
Wyoming2003 Wyoming 2003 $32,808
Alabama2004 Alabama 2004 $29,136
Alaska2004 Alaska 2004 $35,612
Arizona2004 Arizona 2004 $30,267
Arkansas2004 Arkansas 2004 $26,874
California2004 California 2004 $37,036
Colorado2004 Colorado 2004 $37,946
Connecticut2004 Connecticut 2004 $47,819
D.C.2004 D.C. 2004 $37,065
Delaware2004 Delaware 2004 $54,985
Florida2004 Florida 2004 $33,219
Georgia2004 Georgia 2004 $31,121
Hawaii2004 Hawaii 2004 $34,539
Idaho2004 Idaho 2004 $28,158
Illinois2004 Illinois 2004 $36,120
Indiana2004 Indiana 2004 $31,276
Iowa2004 Iowa 2004 $32,315
Kansas2004 Kansas 2004 $32,836
Kentucky2004 Kentucky 2004 $28,513
Louisiana2004 Louisiana 2004 $24,820
Maine2004 Maine 2004 $31,252
Maryland2004 Maryland 2004 $41,760
Massachusetts2004 Massachusetts 2004 $44,289
Michigan2004 Michigan 2004 $33,116
Minnesota2004 Minnesota 2004 $37,373
Mississippi2004 Mississippi 2004 $25,318
Missouri2004 Missouri 2004 $31,899
Montana2004 Montana 2004 $29,387
Nebraska2004 Nebraska 2004 $33,616
New Hampshire2004 New Hampshire 2004 $38,408
New Mexico2004 New Mexico 2004 $27,644
North Carolina2004 North Carolina 2004 $30,553
North Dakota2004 North Dakota 2004 $31,395
Ohio2004 Ohio 2004 $32,478
Oklahoma2004 Oklahoma 2004 $29,330
Oregon2004 Oregon 2004 $32,103
Pennsylvania2004 Pennsylvania 2004 $34,897
Rhode Island2004 Rhode Island 2004 $36,153
South Carolina2004 South Carolina 2004 $28,352
South Dakota2004 South Dakota 2004 $31,614
Tennessee2004 Tennessee 2004 $31,107
Texas2004 Texas 2004 $32,462
Vermont2004 Vermont 2004 $33,327
Virginia2004 Virginia 2004 $38,390
Washington2004 Washington 2004 $35,409
West Virginia2004 West Virginia 2004 $27,215
Wisconsin2004 Wisconsin 2004 $33,565
Wyoming2004 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 all metrics (i.e. Transactions, Impressions, Clicks) in
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 INDEX/MATCH combo to return the same values
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 H2, use an array formula with MAX and IF to calculate the maximum 2016 Sales (column E) in the New York office
2) In cell H4, use an array formula to calculate the maximum 2016 Sales (column E) in the New York office, for the Electronics depart
3) In cell H6, use an array formula to return the total number of rows where 2016 Sales (column E) are greater than 2015 Sales (colu
use a double unary operator)
4) In cell H8, use an array formula to calculate the SUM of 2015 and 2016 sales for the Boston office
in the New York office