Excel Exercise 1

Zimmer
CSCI104
Excel Exercise 1 - Taxi Log
Build a worksheet in Excel on your own according to the directions below. Make sure to include
the Style Guide requirements.
Save the document as taxilog.xlsx
Upload & submit it to D2L dropbox: “Excel: Taxi Log”.
1. This week we will analyze data from a day spent driving a taxi in Erie
o Download the following file: http://zimmer.cs.edinboro.edu/csci104/taxistart.xlsx
 Save it to your excel folder as taxilog.xlsx
o The data used in this workbook are charges for a cab in Erie Yellow Cab which
came from their website
o The information in cells A3:B8 are charges for a cab in Erie Yellow Cab in 2014.
This information came also came from their website.
o
o
o
o
o
o
o
8/1/2017
Cell A3 is the title
Cell B4 contains the charge to enter the taxi
Cell B5 contains the charge per mile for riding in the taxi
Cell B6 contains the charge per minute for when the cab is not moving.
Cell B7 contains the charge for out of county trips, we will not use this.
Cell B8 contains the charge for fuel recovery. This charge is applied to all trips.
The information in cells B10:E22 is related to the trips a cab made in a single
evening. I made up this information. We can assume that this is the output from
the taximeter.
Page 1 of 8
Zimmer
CSCI104
Column B contains the trip number. It is incremented once each time the meter starts.
Column C contains the odometer reading when the trip starts.
Column D contains the odometer reading when the trip ends.
Column E contains the number of minutes spent waiting. If no minutes were spent
waiting, the entry is blank.
2. From Excel 2013, save the downloaded file as taxilog.xlsx
3. Format the charges area as follows
o Expand column A so that all of the text is visible
o Make the text bold
o Center the word Charges over the entire table,
o Make Charges bold
o Format the charges as currency
o Draw a green border around the entire section.
8/1/2017
Page 2 of 8
Zimmer
CSCI104
4. Add the following column titles to the output log
Cell
o
o
o
Title
E10
Waiting Time
F10
Pickup Charge
G10
Total Miles
H10
Mileage Charge
I10
Waiting Charge
J10
Total Charge
K10
Percent Change
L10
Running Total
All of these should be bold and centered over the column
Word wrap should be enabled for all of these fields.
A thick black line should be under all of these titles.
5. Format the miles columns with commas.
6. In column F, compute the pickup charge
o This will be the sum of the entry charge and the fuel recovery charge.
o This should be a single formula, developed in cell F11 and copied to cells F12:F22
8/1/2017
Page 3 of 8
Zimmer
CSCI104
7. In column G, compute the total miles for each trip.
o Subtract the starting miles (in column C) from the ending miles (Column D)
o This should be a positive number.
o Develop a single formula in cell G11 and copy this to the other cells.
8. Calculate the mileage charge for each trip in column H.
o This should be the total miles, from column G times the mileage charge in cell
B5.
o Develop a single formula in cell H11 and copy it to the rest of the table.
9. Calculate the waiting charge in column I.
o This is the waiting time in column E times the Each Minute Waiting charge in the
charges table.
o Develop a single formula in cell I11 and copy it to the rest of the table.
10. Calculate the total charge for each trip in column J
o This is the sum of the pickup charge, the mileage charge and the waiting charge.
o See the instructions above.
11. In column K, calculate the percent change from the previous tip.
o This is the percent change = (new value - old value)/old value
o This does not really make sense in this case, but I want you to practice doing this.
o This should be formatted as a percent.
12. In column L, compute the running total charge for all trips.
8/1/2017
Page 4 of 8
Zimmer
CSCI104
13. To make the table easier to read, make the background of every two rows alternate
between light blue and no background.
14. Apply conditional formatting to the total charge column
o Highest charges should be green.
o Lowest charges should be red.
15. Apply conditional formatting to the Percent Change column
o Use the four icon scheme, where lower cells have a red arrow pointing down
o And higher cells have a green arrow pointing up.
8/1/2017
Page 5 of 8
Zimmer
CSCI104
16. Add an arrow to the $30.93 charge in column J
o The text should be "Best fare of the day"
o
You may need to use rotate tool to accomplish this.
17. Create a summary area in cells I24:K28
o Add the following
Cell
o
o
o
Value
I24
Miles Driven
I25
Miles Charged
I26
Number of Trips
I27
Charged for Time
I28
Total Fees
For each cell, merge this with the cell in column J
Make the text bold
Left align the text.
18. Calculate Miles Driven.
o Ending miles in d22 minus the starting miles in c11
19. Calculate the Miles Charged
o This is the sum of column g in the table.
20. Calculate the Number of Trips.
o This is a count of the number of trips take, column B for example.
8/1/2017
Page 6 of 8
Zimmer
CSCI104
21. Calculate the number of trips that were charged for time.
o This is the number of trips with minutes recorded in column E.
22. Calculate the total fees
o This is the sum of column J.
23. Create a statistics table in cells D5 through G8
o Place Miles, Time and Fee in cells E5, F5 and G5
o Center these and make them bold
o Place a border under each
o Place Max, Min and Average in cells D6, D7 and D8
o Make these bold
o Place a border to the right of each.
o
Using the appropriate functions, fill in the values of this table.
24. Finally, merge cells D1 through L4 into a single cell
o Place "Fare Report by yourname" in this cell
o Use 24 point font.
o Make this text center and middle aligned.
8/1/2017
Page 7 of 8
Zimmer
CSCI104
The final image:
25. Make sure all data is well formatted and visible.
26. When you are finished submit this excel workbook to the drop box “Excel: Taxi Log”.
27. All students in the face-to-face class should print report worksheet “as displayed” and
“cell formulas” (2 printouts). Please use landscape orientation, resize columns before
printing, scaling should be set to “fit-to-one-page”. If you are an online student and can
drop off the same print out to my mailbox in ROSS 109 – that would be appreciated!
8/1/2017
Page 8 of 8