Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Excel Chapters 9&10

Similar presentations


Presentation on theme: "Microsoft Excel Chapters 9&10"— Presentation transcript:

1 Microsoft Excel Chapters 9&10
Nagendra Vemulapalli

2 Points About Exam Exams will be conducted next week.
-Monday 10/1 for section 09(sections meeting at 12:30pm) -Wednesday 10/3 for section 07(sections meeting at 11:30am). Students must have Student ID or Driver License with them. No ID = no test and no makeup. Students should sign-in for attendance for recordkeeping purposes (no credit). 4/8/2019 Nagendra Vemulapalli

3 Exam Timings Students have 10 minutes to review exam before starting.
Exam must be completed with in 60 minutes. The time provided goes beyond the scheduled class period. Students should plan to arrive 15 minutes early and stay 15 minutes late on test days. 4/8/2019 Nagendra Vemulapalli

4 Exam Day Schedule Event 11:30am section
Students should enter class room. Checking of ID’s 11:15am Put away all books and materials. Students can review test, but may not begin it 11:20am Test begins. 11:30am Remainder about remaining time. 12:15pm Test period over. Students must close Office applications and submit projects 12:30pm 4/8/2019 Nagendra Vemulapalli

5 Exam Day Schedule Event 12:30pm section
Students should enter class room. Checking of ID’s 12:15pm Put away all books and materials. Students can review test, but may not begin it 12:20pm Test begins 12:30pm Remainder about remaining time 1:15pm Test period over. Students must close Office applications and submit projects 1:30pm 4/8/2019 Nagendra Vemulapalli

6 Student project files All student projects are to remain on the local
computer. – No USB drives. – Student cannot files to themselves Student Resources Study Guides (cs101.wvu.edu/studyguides) Any updates regarding exams will be ed to you. Keep checking your ’s 4/8/2019 Nagendra Vemulapalli

7 Conditional Functions
SUMIF - Similar to the SUM function except that it enables you to calculate a sum of values in a range that satisfies a specific condition you specify instead of calculating the sum of an entire range .It can add values of the specified parallel cells from same row Syntax SUMIF(Range,Criteria,Sum_Range) Range - Range of cells Evaluated by criteria Criteria- It can be expressed in form of text, expression or Numbers that define cells to be added Sum_Range= Actual cells to be added If corresponding cells in Range match Criteria 4/8/2019 Nagendra Vemulapalli

8 COUNTIF.. COUNTIF Returns the number of cells in a Specified range that match the specified criteria Syntax COUNTIF(Range,Criteria) Range - Range of cells to be counted Criteria- It can be expressed in form of text, expression or Numbers that define cells to be counted 4/8/2019 Nagendra Vemulapalli

9 Hands On Example.. Download example1 file from today’s Lecture Notes
This is an example of a billing calculation of small business to keep track whether a client has paid his bills or does still he owe money. We will also be calculating The Total dues and Total Money Collected SUMIF and COUNTIF will be the main two functions to accomplish these tasks. 4/8/2019 Nagendra Vemulapalli

10 Data validation Let’s first restrict the possible values in Column C to NO or YES using Data Validation. This prevents you from entering any other wrong values in a cell. 4/8/2019 Nagendra Vemulapalli

11 Drop Down list Creation..
List up the possible values: Scroll to the right to get column H In H1 type NO In H2 type YES Apply that list to specific cells (in this case, entire column C) Select the whole column C Data ribbon -> Data Tools group -> Data Validation Change the menu of Allow to List Click the “Source” selector and point H1:H2 OK 4/8/2019 Nagendra Vemulapalli

12 Enter Function In B1 type the following =COUNTIF(C8:C100,”NO”)
This will count the number of cells in the Range C8:C100 that contain “NO” In B4, type the following =COUNTIF(C8:C100,”YES”)  This will count the number of cells in the Range C8:C100 that contain “Yes” 4/8/2019 Nagendra Vemulapalli

13 Enter Data and Functions
C8  NO D8 Nagendra E8  100 C9  YES D9 Gluu E9  300 C10  NO D10  Pete E10  500 B2=SUMIF(C8:C100,”NO”,E8:E100) B5=SUMIF(C8:C100,”YES”,E8:E100) 4/8/2019 Nagendra Vemulapalli

14 Observe… Observe that 600 appears in B2 as SUMIF has seen the condition of “NO” met in C8 and C10. SUMIF added up the numbers that correspond to those two cells. Now click to change NO to YES and watch how the numbers in the top change. 4/8/2019 Nagendra Vemulapalli

15 Solving with Solver It is Good for advanced “What if” Scenarios
More Advanced than “Goal Seek” Function Determine if previously Installed Data ribbon -> Analysis Group->Solver 4/8/2019 Nagendra Vemulapalli

16 Installing Solver Click File Tab -> Excel Options -> Add-ins
Manage: “Excel Add-ins” -> Press “Go…” Check “Solver Add-in” OK 4/8/2019 Nagendra Vemulapalli

17 “Advertisement” Example
Advertisement type Number of ads Cost / ad # of audience/ad Magazine ? $10,000 1,000,000 Radio $5,000 250,000 Constraints: We want to reach a minimum of 10,000,000 audience in total. We have available Advertising Budget $130,000. We have to issue at least 4 Magazine Ads. We have to issue at least 10 Radio Ads. Cost/ad and # of audience we can reach/ad are given as the above table. Problem: How many Magazine Ads and Radio Ads should we run for minimum budget? 4/8/2019 Nagendra Vemulapalli

18 Mathematical Formulation
Advertisement type Number of ads Cost / ad # of audience/ad Magazine x (unknown) a1 (given) b1 (given) Radio y(unknown) a2 (given) b2 (given) What should be value of x and y so that minimizes (objective function) a1*x + a2*y (total ad cost) subject to (constraints) x >= 4 (min. # of Mag. Ad) y>= 10 (min. # of Radio Ad) a1*x + a2*y <= 130,000 (total budget) b1*x + b2*y >= 10,000,000 (total # of audience) 4/8/2019 Nagendra Vemulapalli

19 Minimization Example Download Example2 file from today’s lecture notes
Enter in E6 =B2*C2+B3*C3 Enter in E10 =B2*D2+B3*D3 Make E6 the active cell(This is what we have to minimize) Data ribbon -> Analysis group -> Solver 4/8/2019 Nagendra Vemulapalli

20 Minimization Example Select “Min” option
Set “By Changing Cells:” to B2:B3 Click “Add” to enter a constraint Click E6 (it should show up in “Cell Reference:”) Set the signs to be <= Click in “Constraint:” and click cell E7 This sets the constraint on maximum budget to spend: Total Cost of Advertising <= Advertising Budget Click “Add” 4/8/2019 Nagendra Vemulapalli

21 Minimization Example (cont’d)
Cell Reference: $E$10 Change the inequality to >= Constraint: =$E$11 This sets the constraints that at least Required Audience should be reached: Size of Audience Reached >= Required Audience Click “Add” 4/8/2019 Nagendra Vemulapalli

22 Minimization Example (cont’d)
Cell Reference: $B$2 >= Constraint: =$E$8 This means at least 4 Magazine Ads will be issued Click “Add” 4/8/2019 Nagendra Vemulapalli

23 Minimization Example (cont’d)
Cell Reference $B$3 >= Constraint: =$E$9 This means at least 10 Radio Ads will be issued) Click “OK” 4/8/2019 Nagendra Vemulapalli

24 Minimization Example (cont’d)
4/8/2019 Nagendra Vemulapalli

25 Minimization Example (cont’d)
Click “Solve” It should find the following 8 Magazine Ads 10 Radio Ads 4/8/2019 Nagendra Vemulapalli


Download ppt "Microsoft Excel Chapters 9&10"

Similar presentations


Ads by Google