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
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
product type
Student State
State Year Total Population
Population 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 State Abbreviation Year
Alabama AL 2001 Alabama2001
Alaska AK 2001 Alaska2001
Arizona AZ 2001 Arizona2001
Arkansas AR 2001 Arkansas2001
California CA 2001 California2001
Colorado CO 2001 Colorado2001
D.C. DC 2001 D.C.2001
Delaware DE 2001 Delaware2001
Florida FL 2001 Florida2001
Georgia GA 2001 Georgia2001
Hawaii HI 2001 Hawaii2001
Idaho ID 2001 Idaho2001
Indiana IN 2001 Indiana2001
Iowa IA 2001 Iowa2001
Kansas KS 2001 Kansas2001
Maryland MD 2001 Maryland2001
Massachusetts MA 2001 Massachusetts2001
Michigan MI 2001 Michigan2001
Minnesota MN 2001 Minnesota2001
Mississippi MS 2001 Mississippi2001
Missouri MO 2001 Missouri2001
Montana MT 2001 Montana2001
Nebraska NE 2001 Nebraska2001
Nevada NV 2001 Nevada2001
New Hampshire NH 2001 New Hampshire2001
New Jersey NJ 2001 New Jersey2001
New Mexico NM 2001 New Mexico2001
New York NY 2001 New York2001
North Carolina NC 2001 North Carolina2001
North Dakota ND 2001 North Dakota2001
Ohio OH 2001 Ohio2001
Oklahoma OK 2001 Oklahoma2001
Oregon OR 2001 Oregon2001
Pennsylvania PA 2001 Pennsylvania2001
Rhode Island RI 2001 Rhode Island2001
South Carolina SC 2001 South Carolina2001
South Dakota SD 2001 South Dakota2001
Tennessee TN 2001 Tennessee2001
Texas TX 2001 Texas2001
Utah UT 2001 Utah2001
Vermont VT 2001 Vermont2001
Virginia VA 2001 Virginia2001
Washington WA 2001 Washington2001
West Virginia WV 2001 West Virginia2001
Wisconsin WI 2001 Wisconsin2001
Wyoming WY 2001 Wyoming2001
Alabama AL 2002 Alabama2002
Alaska AK 2002 Alaska2002
Arizona AZ 2002 Arizona2002
Arkansas AR 2002 Arkansas2002
California CA 2002 California2002
Colorado CO 2002 Colorado2002
Connecticut CT 2002 Connecticut2002
Delaware DE 2002 Delaware2002
Florida FL 2002 Florida2002
Georgia GA 2002 Georgia2002
Hawaii HI 2002 Hawaii2002
Idaho ID 2002 Idaho2002
Illinois IL 2002 Illinois2002
Indiana IN 2002 Indiana2002
Iowa IA 2002 Iowa2002
Kansas KS 2002 Kansas2002
Louisiana LA 2002 Louisiana2002
Maine ME 2002 Maine2002
Massachusetts MA 2002 Massachusetts2002
Michigan MI 2002 Michigan2002
Minnesota MN 2002 Minnesota2002
Mississippi MS 2002 Mississippi2002
Missouri MO 2002 Missouri2002
Montana MT 2002 Montana2002
Nebraska NE 2002 Nebraska2002
Nevada NV 2002 Nevada2002
New Hampshire NH 2002 New Hampshire2002
New Jersey NJ 2002 New Jersey2002
New Mexico NM 2002 New Mexico2002
New York NY 2002 New York2002
North Carolina NC 2002 North Carolina2002
North Dakota ND 2002 North Dakota2002
Ohio OH 2002 Ohio2002
Oklahoma OK 2002 Oklahoma2002
Oregon OR 2002 Oregon2002
Pennsylvania PA 2002 Pennsylvania2002
Rhode Island RI 2002 Rhode Island2002
South Carolina SC 2002 South Carolina2002
South Dakota SD 2002 South Dakota2002
Tennessee TN 2002 Tennessee2002
Texas TX 2002 Texas2002
Utah UT 2002 Utah2002
Vermont VT 2002 Vermont2002
Virginia VA 2002 Virginia2002
Washington WA 2002 Washington2002
West Virginia WV 2002 West Virginia2002
Wisconsin WI 2002 Wisconsin2002
Wyoming WY 2002 Wyoming2002
Alabama AL 2003 Alabama2003
Alaska AK 2003 Alaska2003
Arizona AZ 2003 Arizona2003
Arkansas AR 2003 Arkansas2003
California CA 2003 California2003
Colorado CO 2003 Colorado2003
Connecticut CT 2003 Connecticut2003
Delaware DE 2003 Delaware2003
Florida FL 2003 Florida2003
Georgia GA 2003 Georgia2003
Hawaii HI 2003 Hawaii2003
Indiana IN 2003 Indiana2003
Iowa IA 2003 Iowa2003
Kansas KS 2003 Kansas2003
Kentucky KY 2003 Kentucky2003
Louisiana LA 2003 Louisiana2003
Maine ME 2003 Maine2003
Maryland MD 2003 Maryland2003
Massachusetts MA 2003 Massachusetts2003
Michigan MI 2003 Michigan2003
Minnesota MN 2003 Minnesota2003
Mississippi MS 2003 Mississippi2003
Missouri MO 2003 Missouri2003
Montana MT 2003 Montana2003
Nebraska NE 2003 Nebraska2003
Nevada NV 2003 Nevada2003
New Hampshire NH 2003 New Hampshire2003
New Jersey NJ 2003 New Jersey2003
New Mexico NM 2003 New Mexico2003
New York NY 2003 New York2003
North Carolina NC 2003 North Carolina2003
North Dakota ND 2003 North Dakota2003
Ohio OH 2003 Ohio2003
Oklahoma OK 2003 Oklahoma2003
Oregon OR 2003 Oregon2003
Pennsylvania PA 2003 Pennsylvania2003
Rhode Island RI 2003 Rhode Island2003
South Carolina SC 2003 South Carolina2003
South Dakota SD 2003 South Dakota2003
Tennessee TN 2003 Tennessee2003
Texas TX 2003 Texas2003
Utah UT 2003 Utah2003
Vermont VT 2003 Vermont2003
Virginia VA 2003 Virginia2003
Washington WA 2003 Washington2003
West Virginia WV 2003 West Virginia2003
Wisconsin WI 2003 Wisconsin2003
Wyoming WY 2003 Wyoming2003
Alabama AL 2004 Alabama2004
Alaska AK 2004 Alaska2004
Arizona AZ 2004 Arizona2004
Arkansas AR 2004 Arkansas2004
California CA 2004 California2004
Colorado CO 2004 Colorado2004
Connecticut CT 2004 Connecticut2004
D.C. DC 2004 D.C.2004
Delaware DE 2004 Delaware2004
Florida FL 2004 Florida2004
Georgia GA 2004 Georgia2004
Hawaii HI 2004 Hawaii2004
Idaho ID 2004 Idaho2004
Illinois IL 2004 Illinois2004
Indiana IN 2004 Indiana2004
Iowa IA 2004 Iowa2004
Kansas KS 2004 Kansas2004
Kentucky KY 2004 Kentucky2004
Louisiana LA 2004 Louisiana2004
Maine ME 2004 Maine2004
Maryland MD 2004 Maryland2004
Massachusetts MA 2004 Massachusetts2004
Michigan MI 2004 Michigan2004
Minnesota MN 2004 Minnesota2004
Mississippi MS 2004 Mississippi2004
Missouri MO 2004 Missouri2004
Montana MT 2004 Montana2004
Nebraska NE 2004 Nebraska2004
New Hampshire NH 2004 New Hampshire2004
New Mexico NM 2004 New Mexico2004
North Carolina NC 2004 North Carolina2004
North Dakota ND 2004 North Dakota2004
Ohio OH 2004 Ohio2004
Oklahoma OK 2004 Oklahoma2004
Oregon OR 2004 Oregon2004
Pennsylvania PA 2004 Pennsylvania2004
Rhode Island RI 2004 Rhode Island2004
South Carolina SC 2004 South Carolina2004
South Dakota SD 2004 South Dakota2004
Tennessee TN 2004 Tennessee2004
Texas TX 2004 Texas2004
Vermont VT 2004 Vermont2004
Virginia VA 2004 Virginia2004
Washington WA 2004 Washington2004
West Virginia WV 2004 West Virginia2004
Wisconsin WI 2004 Wisconsin2004
Wyoming WY 2004 Wyoming2004
Per Capita Income
$24,477
$31,027
$25,878
$22,750
$32,655
$33,455
$32,166
$40,539
$29,048
$28,523
$29,034
$24,506
$27,522
$27,225
$28,432
$35,279
$38,864
$29,629
$33,059
$21,653
$28,221
$24,044
$28,861
$30,128
$33,969
$38,625
$23,081
$35,878
$27,308
$25,798
$28,699
$24,945
$28,222
$30,752
$30,256
$24,840
$26,566
$26,808
$28,472
$24,033
$28,756
$32,338
$31,976
$22,862
$29,196
$29,587
$25,128
$32,151
$26,183
$23,512
$32,996
$33,276
$42,706
$42,120
$29,596
$28,821
$30,001
$25,057
$33,404
$28,240
$28,280
$29,141
$25,446
$27,744
$39,244
$30,296
$34,071
$22,372
$28,936
$25,020
$29,771
$30,180
$34,334
$39,453
$23,941
$36,043
$27,711
$26,982
$29,405
$25,575
$28,731
$31,727
$31,319
$25,400
$26,894
$27,671
$28,551
$24,306
$29,567
$32,922
$32,677
$23,688
$29,923
$30,578
$26,338
$33,568
$26,838
$24,289
$33,749
$34,283
$43,173
$48,342
$30,446
$29,442
$30,913
$28,783
$29,043
$29,935
$26,252
$26,100
$28,831
$37,331
$39,815
$30,439
$34,443
$23,448
$29,252
$25,920
$30,758
$31,266
$34,702
$40,427
$25,541
$36,574
$28,235
$29,204
$29,944
$26,656
$29,340
$31,998
$31,916
$26,132
$29,234
$28,455
$29,372
$24,977
$30,740
$33,671
$33,332
$24,379
$30,898
$32,808
$29,136
$35,612
$30,267
$26,874
$37,036
$37,946
$47,819
$37,065
$54,985
$33,219
$31,121
$34,539
$28,158
$36,120
$31,276
$32,315
$32,836
$28,513
$24,820
$31,252
$41,760
$44,289
$33,116
$37,373
$25,318
$31,899
$29,387
$33,616
$38,408
$27,644
$30,553
$31,395
$32,478
$29,330
$32,103
$34,897
$36,153
$28,352
$31,614
$31,107
$32,462
$33,327
$38,390
$35,409
$27,215
$33,565
$36,778
Year Impressions Clicks Transactions
2000 36,487 7,079 38 Year: 2010
2001 35,832 9,023 42 Metric: Transactions
2002 31,170 7,100 40
2003 27,782 8,586 46 TOTAL: 30
2004 32,952 7,726 46
2005 26,275 9,759 25
INSTRUCTIONS:
2006 29,767 9,325 30
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
11
3
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 133462 133462 AA
191768-AC-NYC_MEDIUM 191768 191768 AC
157263-BB-BOS_XL 157263 157263 BB
1734372-AA-CHI_SMALL 173437 1734372 AA
135351-BC-NYC_XL 135351 135351 BC
14330305-AC-BOS_LARGE 143303 14330305 AC
177772-BB-NYC_MEDIUM 177772 177772 BB
87192837-AB-CHI_XL 871928 87192837 AB
161266-BB-CHI_SMALL 161266 161266 BB
122892-AA-NYC_MEDIUM 122892 122892 AA
128919-AC-CHI_XL 128919 128919 AC
191999-BB-BOS_LARGE 191999 191999 BB
117091126-BC-NYC_LARGE 117091 117091126 BC
112283-AB-BOS_MEDIUM 112283 112283 AB
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
painter to apply the same formatting to columns C, D, and E
Apparel 0.524
Electronics 0.434 2) Format the Profit Margin column as a percent, with 1 decimal place
Apparel 0.392
3) Use conditional formatting to add a color scale to the Profit Margin
Electronics 0.576 red, high values = green)
Apparel 0.515
Kids 0.478 4) Use conditional formatting to add directional arrow icons to the Rev
and edit to show an up arrow for values >200 and a down arrow for val
Kids 0.338
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 6) Add a formula-based formatting rule to highlight rows in columns A-
Electronics 0.596 the Top Product Category = "Kids"
Apparel 0.515
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