情報基礎 B Lecture 5 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information.

Slides:



Advertisements
Similar presentations
Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
Advertisements

CS&E 1111 Exfunctions Using Functions in Excel Objectives: Using Excel functions l SUM, MIN, MAX, AVERAGE, COUNT, COUNTA l ROUND l COUNTIF, SUMIF, AVERAGEIF.
Excel Features That Would Help You Prepare Class Result.
Information literacy B Lecture 4 Database and Spreadsheet Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information.
E ngineering College of San Jose State University Engr.10 1 JKA & KY.
MS-Excel XP Lesson 5. Exponentiation 1.A1  2 A2  3 A3  =A1^A2 B1  =2^4 2.^ for exponentiation.
Relative, Absolute, & Mixed References. Relative Reference (Address) ABCD  In C3, =A1+B2 means Display sum of the content of cell which is.
MONTEGO BAY HIGH SCHOOL INFORMATION TECHNOLOGY THE EXCEL IF FUNCTION.
# 1# 1 CS 105 Functions, IF Functions What is a function? What is an IF function? A PMT function? What is a condition? What is nesting? CS 105 Spring.
What IF?.
Computer Science & Engineering 2111 IF and Boolean Functions 1 CSE 2111 Lecture-IF and Boolean Functions.
情報基礎 A Lecture 10 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information.
33 CHAPTER BASIC APPLICATION SOFTWARE. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 1-2 Announcement: QUIZ#02 In Lecture Session # 9 (5.
CS&E 1111 ExIFs IFs and Nested IFs in Excel Objectives: Using the If function in spreadsheets Nesting If functions.
Chap 4 Formulas and Functions Exploring Spreadsheet Software.
Tutorial 7: Using Advanced Functions and Conditional Formatting
Lecture Excel: Counting & Conditional Functions. Counting Cells Count: Number of non-blank, non-text cells CountA: Non-blank cells CountBlank: Counts.
1 Lecture 7:Control Structures I (Selection) Introduction to Computer Science Spring 2006.
Chapter 4 MATLAB Programming Logical Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Programming with MATLAB. Relational Operators The arithmetic operators has precedence over relational operators.
1 Excel Lesson 5 Using Functions Microsoft Office 2010 Introductory Pasewark & Pasewark.
Spreadsheets Objective 6.02
1CP102_module 3: spreadsheet2 More features in Excel Selection: a cell, a range, multiple ranges Name a range: to give name to a selected range or multiple.
2 Explain advanced spreadsheet concepts and functions Advanced Calculations 1 Sabbir Saleh_Lecture_17_Computer Application_BBA.
Chapter 6 Advanced Functions Copyright 2005 Radian Publishing Co.
Last Week: Excel 101 with Prof. Bliley: Workbooks, worksheets, rows, columns Cells: Text, Value, Formulas Formulas, Ranges OK? Survive Alive? Questions?
Data Analysis Formula and Functions. Formula and functions A function is a calculation in a spreadsheet that has or can be memorized. There are many different.
1 Spreadsheets SELECTION. 2 Aims  Understand the principles of selection in Excel  Examine the basic IF statement format  Look into Nested IF statements.
情報基礎 A Lecture 15 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information.
1. Common Functions 2.
Excel has a number of Count Functions that will total the number of cells in a selected range. We’re going to look at: COUNT COUNTA COUNTBLANK COUNTIF.
It’s not that I’m so smart, it’s just that I stay with problems longer. - Albert Einstein.
情報基礎 B Lecture 8 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information.
Lesson 5: Working with Formulas and Functions Logical and 3D Formulas.
CS&E 1111 ExLogic Microsoft Excel Logical Functions Objectives: Using Boolean Logic in Spreadsheets l Relational operators l Boolean operators –Functions.
Numeric and Functional. A cell is the intersection of a row and column Each cell in the spreadsheet has a name – The column-name followed by the row-name.
Unit 4, Lesson 4 Using Function Formulas. Objectives Understand function formulas. Understand function formulas. Use the Average and Sum functions. Use.
1 Improvement over the old : Dcount, DSum and DAverage Functions)
PROBLEM SOLVING & ALGORITHMS CHAPTER 5: CONTROL STRUCTURES - SELECTION.
Data Analysis: Spreadsheets ICT iGCSE. 14.1: Creating a data model.
PERFORMING CALCULATIONS Microsoft Excel. Excel Formulas A formula is a set of mathematical instructions that can be used in Excel to perform calculations.
1 Excel Lesson 3 Using Functions Microsoft Office 2010 Introductory Pasewark & Pasewark.
More Spreadsheets Range Formulas & Empty Cells Logical Functions Lookup Functions.
Customization, Calculations and Charts Myra Whittemore for Blackbaud, Inc. 09/16/2011.
Intermediate Excel 2013 Gareth Johns IT Skills Development Advisor.
情報基礎 A Lecture 9 Takeshi Tokuyama ・ Jinhee Chun Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis.
Microsoft Excel Prepared by the Academic Faculty Members of IT.
Chapter 2 Excel Fundamentals Logical IF (Decision) Statements Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CHAPTER 3 CONTROL STRUCTURES ( SELECTION ) I NTRODUCTION T O C OMPUTER P ROGRAMMING (CSC425)
XP Life Insurance Premium Flowchart 1 Add Life Ins = “Y” Salary * Premium Rate Yes 0 No.
情報基礎 A Lecture 12 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information.
Hoi Le. COUNTIF Countif(, ) Return number of elements that meet the criteria Always put criteria in quotation marks Example 1: count number of employees.
FUNCTIONS The parts of a function In order to work correctly, a function must be written a specific way, which is called the syntax. The basic syntax for.
Advanced spreadsheet tips & tricks
Computer Science & Engineering 2111
Using Advanced Functions and Conditional Formatting
Computer Information Technology Section 6-17
College of Engineering
Excel: Counting & Conditional Functions
Chapter 4 MATLAB Programming
SUB-ICT STD-10 Working with Data in Microsoft Excel
MS Excel Scaffolding START.
Making Logical Decisions (IF-THEN-ELSE)
Decision making If statement.
Microsoft Excel – Part I
Lesson 4: Introduction to Functions
Aniko Balogh CEU Computer & Statistics Center
情報基礎B   Lecture 7 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information.
情報基礎B   Lecture 6 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information.
in Excel Instructor: Zhe He Department of Computer Science
Presentation transcript:

情報基礎 B Lecture 5 Takeshi Tokuyama Tohoku University Graduate School of Information Sciences System Information Sciences Design and Analysis of Information Systems

SPREADSHEET 2

Copying Data Copy data by entering cell number (Numeric data, character data, formula) – G1=English – G2=G1 – H2=C1 – H3=E2

Comparing data Comparison – A15=10>3 – B15=10<3 – C15=(10*2)<3 – D15=C1>C2 – E16=C7>E2 Result is “TRUE” or “FALSE”

Simple Program Blanching by “TRUE” and ”FALSE” IF function – IF(criterion, action1, action2) Proceed action1 when the criterion is true, otherwise proceed action2 – =IF(logical_test, value_if_true, value_if_false) Logical test or cell number Characters with “” or numbers

Simple Program Operand used in logical test – A=BA is equal to B – A>BA is larger than B – A>=BA=B or A>B – A<>BA is not equal to B – A<BA is smaller than B – A<=BA=B or A<B

Simple Program value_if_true FALSE value_if_false =IF(logical_test, value_if_true, value_if_false) TRUE =IF(logical_test , “string”, “string”) B16 = IF (A15, “True”, “False” ) C16 = IF (C1>C2, “Correct”, “Wrong” ) =IF(logical_test , 1, 0) A16 = IF (A15, 1, 0 ) logical_test

Simple Program D16=IF(A1>=80, “Pass”, “Fail”) Pass FALSE TRUE Fail >=80

Exercise1 Simple Program : Grading Program a grading system on excel which outputs “Pass” or “Fail” – Pass: if an Score of Japanese, English, Math is more than 80 – Fail: otherwise – Add “Result” on G1 – Display “Pass” or “Fail” on G2 to G21

Branching A A TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE F F B B C C D D >=90 >=80 >=70 >=60

Branching Nesting “IF” =IF(B2>=90, “A”, ) IF(B2>=80, “B”, [others]) A A TRUE FALSE TRUE B B [others] FALSE >=90

Branching A A TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE F F B B C C D D >=90 >=80 >=70 >=60

Grading Grade – A100 > Score >= 90 – B 90 > Score >= 80 – C 80 > Score >= 70 – D 70 > Score >= 60 – F 60 > Score =IF(B2>=90, ”A”, IF(B2>=80, ”B”, IF(B2>=70, ”C”, IF(B2>=60, ”D”, “F”)))) =IF(B2>=90, ”A”, IF(B2>=80, ”B”, IF(B2>=70, ”C”, IF(B2>=60, ”D”, “F”))))

Exercise2 Simple Program : Grading 2 Program a grading system on excel which outputs “A”, “B”, “C”, “D” or “F” for each Subject ○ A100 > Score >= 90 ○ B 90 > Score >= 80 ○ C 80 > Score >= 70 ○ D 70 > Score >= 60 ○ F 60 > Score – Add “Japanese”, “English” and “Math” each on G1, H1 and I 1 – Display “A”, “B”, “C”, “D” or “F” on G2 to I 21

Count How many student got A on Japanese? =COUNTIF(range, criteria) =COUNTIF(G2:G21, “A”)

Exercise3 Simple Program : Counting Count numbers of student for each grade and subject JapaneseEnglishMath A645 B476 C342 D312 F445