22
Mon Week 9 • Excel • Alice Project Options: – Project of the Stars • Submit by Wed 11:59 Week 9, also submit questions • RE-SUBMIT for regular deadline – Regular • Submit by Sunday 11:59 of START of week 10 (4/11) • Submit reflections one day later (shh…) • Week 10: Final Tech and Society (due Thursday 11:59) – Up now, let’s take a look

Mon Week 9 Excel Alice Project Options: – Project of the Stars Submit by Wed 11:59 Week 9, also submit questions RE-SUBMIT for regular deadline – Regular

Embed Size (px)

Citation preview

Mon Week 9

• Excel• Alice Project Options:– Project of the Stars

• Submit by Wed 11:59 Week 9, also submit questions• RE-SUBMIT for regular deadline

– Regular• Submit by Sunday 11:59 of START of week 10 (4/11)• Submit reflections one day later (shh…)

• Week 10: Final Tech and Society (due Thursday 11:59)– Up now, let’s take a look

What is a filter?

A. A means by which you can restrict the data shown in a table

B. A means by which you can sort the data stored in a table

C. A means by which you can remove (e.g. delete) the data in a table

D. A means by which you can graph the data in a table

When might you choose to lock a cell?

A. When you want to make sure the value is within a certain range

B. When you want to make sure the value is of a certain type (e.g. Number, Text, etc.)

C. When you want to make sure the cell cannot be edited by others

Starting with this, with sort below

In Excel, a relative reference (no $) (compared to an absolute reference (with $))…

A. Keeps the same row, column reference when you copy it into another cell

B. Changes the row, column reference when you copy it into another cell, based on the value in the original cell

C. Changes the row, column reference when you copy it into another cell, based on the location of the new cell compared to the old one

Absolute Addressing is useful for

A. When you want to always reference the same column, no matter where you copy it

B. When you want to always reference the same row, no matter where you copy it

C. When you always want to reference the same cell, no matter where you copy it

D. More than one of the above is true

Suppose I have two classes grades, in different sheets

• I find the average in the first class (Sheet1: B5)• Then I’ll copy that over to (Sheet2: B4) so I’ll have the

average grade for that class as well

A B1 PID Points2 55555 523 44444 484 33333 505 =AVERAGE(B2:B4)

A B1 PID Points2 99999 403 88888 384 5

What is in B4?

A. 39B. 50C. 78

A B1 PID Points2 55555 523 44444 484 33333 505 =AVERAGE(B2:B4)

A B1 PID Points2 99999 403 88888 384 5

D. Excel gives an errorE. None of the above

Which of the following would cause a circular reference if I entered it in B2 and dragged it across row 2?

A. =B1+B3B. =A2+C2C. Neither of thoseD. Both of those

A B C D12345

Assume this function is put into I1 and then copied down to I4, =IF(H1="OK",G1+$F$1,G1-F1)

• What is in Cell I3?

A. 2B. 5C. 9D. 15

Assume this function is put into I1 and then copied down to I4, =IF(H1="OK",G1+$F$1,G1-F1)

• What is in Cell I4?

A. 2B. 5C. 12D. 15

Assigning points with If commands

What is the correct formula to use

• For Question 1– D was worth 2 points– C was worth 1 point– Others worth 0 points

A. =IF(B3=“D”,2), IF(B3=“C”,1,0))B. =IF(B3=“D”,2,IF(B3=“C”,1,0))C. =IF(B3=“C”1,IF(B3=“D”,2,0))D. More than one of the aboveE. None of the above

Match your PID (from scantron) to name (from classlist)

• In one sheet, I have the midterm scanned data– I’ve used if statements to assign points per question

and summed them to get exam points• In another sheet I have the downloaded class

roster – (which usually has some people who didn’t take the

exam – not the same number of rows)– It has PID and Name on each row

• Goal: Add a column in midterm sheet with the matching name for each student

What commands would you use to fill A3?

A. An IF commandB. An IF command with nested IFsC. A VLOOKUP commandD. A VLOOKUP command with an IF nested in itE. A COUNTA function

To calculate A3= VLOOKUP(B3,classList!A$1:B$572,2,TRUE)

For all items_in_classList_ColA one at a time If item_in_classList_ColA == midterm!B3 midterm!A3’s value is classList!B(index) else Do Nothing

Chapter 2: Working with Large Worksheets and Tables

• A lot of this material is just “hands on” – How do I do that in Excel– You can do that in Excel?

• Figure it out now… you won’t remember it unless you use it regularly– Which you won’t– Google “How do I do XXX in Excel 2010”

• Critical:– If you didn’t have more data than fits on the screen,

you probably wouldn’t bother with Excel…

Things Alice prepared you to do

• “Debug” how to freeze rows/columns– Who can remember when you highlight say row 5 and

select freeze panes• Will it keep rows 1-4 always visible or 1-5?• Try one, observe, know what to try next if it doesn’t go as you

want it…

• Lock cells:– Boolean condition attached to cell: property – on or off

(Alice had properties too!)• Abstraction (breaking big problems into smaller ones)– Excel file -> worksheets

Find and Replace

• Question 32 was tricky. Anyone who got it wrong (0 points) should actually get 0.5 points

Not really!

Excel’s find and replace command involves use of which of the following computing concepts?

If statements Looping ParametersA XB X XC X X XD X XE X X

Which of the following Excel features involve conditional (if statement) actions?

A. Average ( =Average(A1:A30))B. Sorting Data (=Sort(A1:A30))C. AutoFilters (only show freshmen, female

flute players)D. More than one of the above