+ All Categories
Home > Documents > csci104 taxi log - Edinboro University of...

csci104 taxi log - Edinboro University of...

Date post: 24-Aug-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
8
Zimmer CSCI104 Page 1 of 8 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 Assignment dropbox: “Excel: Taxi Log”. 1. 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 Cell A3 is the title o Cell B4 contains the charge to enter the taxi o Cell B5 contains the charge per mile for riding in the taxi o Cell B6 contains the charge per minute for when the cab is not moving. o Cell B7 contains the charge for out of county trips, we will not use this. o Cell B8 contains the charge for fuel recovery. This charge is applied to all trips. o 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.
Transcript
Page 1: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 1 of 8

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 Assignment dropbox: “Excel: Taxi Log”.

1. 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 Cell A3 is the title o Cell B4 contains the charge to enter the taxi o Cell B5 contains the charge per mile for riding in the taxi o Cell B6 contains the charge per minute for when the cab is not moving. o Cell B7 contains the charge for out of county trips, we will not use this. o Cell B8 contains the charge for fuel recovery. This charge is applied to all trips. o 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 2: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 2 of 8

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.

Page 3: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 3 of 8

4. Add the following column titles to the output log

Cell 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

o All of these should be bold and centered over the column o Word wrap should be enabled for all of these fields. o 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 o If the calculation in F11 does not properly copy to F12:F22 then you have used the

relative addressing when you need the absolute addressing. When you use a cell that contains a constant value to be used in the rest of the calculation – you must use absolute addressing so it does not adjust when you copy it.

Page 4: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 4 of 8

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 trip. 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.

Page 5: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 5 of 8

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.

Page 6: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 6 of 8

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 Value

I24 Miles Driven

I25 Miles Charged

I26 Number of Trips

I27 Charged for Time

I28 Total Fees

o For each cell, merge this with the cell in column J o Make the text bold o 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. Use an Excel function for this calculation.

20. Calculate the Number of Trips. o This is a count of the number of trips taken, column B for example. Use an Excel

function for this calculation.

Page 7: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 7 of 8

21. Calculate the number of trips that were charged for time. o This is the number of trips with minutes recorded in column E. Use an Excel

function for this calculation. 22. Calculate the total fees

o This is the sum of column J. Use an Excel function for this calculation.

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, place a border under each o Place Max, Min and Average in cells D6, D7 and D8 o Make these bold and place a border to the right of each.

o Complete this summary area by using the appropriate Excel function for each of the calculations. For the Miles column, use Total Miles (column G), for the Time column use Waiting Time (column E), and for the Fee column use Total Charge (column J). The following shows the calculated values:

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.

Page 8: csci104 taxi log - Edinboro University of Pennsylvaniazimmer.cs.edinboro.edu/csci104/taxilog.pdfExcel Exercise 1 - Taxi Log Build a worksheet in Excel on your own according to the

Zimmer CSCI104

Page 8 of 8

The final image:

25. Make sure all data is well formatted and visible. 26. Using the Style Guidelines make sure you set your header and footer, use landscape

orientation, resize columns to fit contents, scaling should be set to “fit-to-one-page”. Make sure the print area includes all the data in your worksheet. Use “print preview” to check these settings are correct.

27. When you are finished, save this excel workbook and submit it to the Assignment dropbox “Excel: Taxi Log”.

28. All students in the face-to-face class should print the worksheet in two views: “as displayed” and “cell formulas” (2 printouts). Both printouts should include header and footer, landscape orientation, scaling should be set to “fit-to-one-page”. Cell-formulas should be printed with row/column headers and grid lines. Make sure to resize columns before printing. Staple the worksheets together with the cell-formulas, then the as-displayed last.


Recommended