Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.

Slides:



Advertisements
Similar presentations
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
Advertisements

 Microsoft Excel is an electronic spreadsheet.  As with a paper spreadsheet, you can use Excel to organize your data into rows and columns and to perform.
Microsoft Office XP Microsoft Excel
Excel application for accounting principles. Expanding the Formula Bar Click on the Collapse Formula Bar. Drag the border of the Formula Bar to increase.
Introduction to Microsoft Excel 2010 Chapter Extension 3.
INTRODUCTORY MICROSOFT EXCEL Lesson 4 – Worksheet Formulas
Excel Using Formulas and Functions Microsoft Office 2010 Fundamentals 1.
Using Macros and Visual Basic for Applications (VBA) with Excel
Developing an Excel Application
Tutorial 8: Developing an Excel Application
Introduction to Microsoft Office Excel Office Button Quick Access Toolbar Ribbon Formula Bar Alphabetical Columns Numbered Rows Worksheet Tabs.
Excel Lesson 4 Entering Worksheet Formulas
Using the Visual Basic Editor Visual Basic for Applications 1.
Formula Auditing, Data Validation, and Complex Problem Solving
Introduction to Visual Basic Chulantha Kulasekere.
Macros in Excel Intro to lab 1. Macroinstructions Macro is recorded in VBA module sequence of Excel operations Macros can automate tasks in Excel Macro.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
10. Visual Basic Functions. Open Excel Click File -> Save As.
® Microsoft Access 2010 Tutorial 11 Using and Writing Visual Basic for Applications Code.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Microsoft Office Excel Copyright © 2008 Pearson Prentice Hall. All rights reserved
This is the first sheet of a spreadsheet workbook. The workbook begins initially with 3 work sheets. A spreadsheet is made of columns and rows. The intersection.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Ch.1. Spread Basics I. Goals: 1)Basic purpose of a spreadsheet program 2)Various components of the Excel screen 3)Navigating the worksheet 4)Built-in functions.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
1. Chapter 15 Creating Charts 3 Charting Data in Word A chart or graph presents data visually. A chart depicts numeric data in a graphical format. If.
LOGO Chapter II Entering Excel Formulas and Formatting Data Friday, November 20, 2015.
Creating Macros in Excel Adding Automated Functionality to Excel & Office Applications.
Spreadsheet Data Tables Data Table 1 allows you to change one input variable’s value at a time and record the impact that the input assumption has on several.
Chapter 2: Excel Basics and Formatting Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Introduction to Excel VBA UNC Charlotte CPE/PDH Series December 17, 2009.
Showing the Developer Tab. Windows vs Mac This is one of the places where the Mac and Windows procedures are different. We’ll look at the Windows method.
Making Multiplication Formulas on spreadsheets pg.1 1. We are adding money. So first we have to make the “D” column and the “I” column display our numbers.
Lesson 1: Exploring Excel Learning Objectives After studying this lesson, you will be able to:  Explain ways Excel can help your productivity.
Insert a voice comment in Word 2007 Before you can add a voice comment for the first time, you need to add the Insert Voice command to the Quick Access.
1 Excel Lesson 2 Organizing the Worksheet & Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
MODULE 9 Integrating Word, Excel, Access, and PowerPoint © Paradigm Publishing, Inc.1.
EXCEL GRAPHING *Basic Graphing Steps* by A.B. -NNHS.
1 Setting up document titles selection list in EHR 1.Click on Tools 2.Choose Options.
Microsoft Office 2007 Excel Chapter 9 Part 4: Comparing and merging Workbooks.
Copyright © 2005 by Nelson, a division of Thomson Canada Limited 14-0 EXCEL CHAPTER 14 PHILIP BEDIENT.
Microsoft PowerPoint Prepared by the Academic Faculty Members of IT.
Prepared by the Academic Faculty Members of IT. Tables Creating Tables. Merging Cells. Splitting Cells. Sorting Tables. Performing Calculations.
Microsoft Excel Prepared by the Academic Faculty Members of IT.
COMPREHENSIVE Access Tutorial 11 Using and Writing Visual Basic for Applications Code.
1 After completing this lesson, you will be able to: Build formulas. Copy formulas. Edit formulas. Use the SUM function and AutoSum. Use the Formula Palette.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Creating Tables Word Lesson 6. Creating Table Methods  There are a number of options to create tables. Each of these options can be accessed by clicking.
Working with Tables A table is a grid of cells arranged in rows and columns. Tables can be customized and are useful for various tasks such as presenting.
Setting up Solver Add-in for Excel
Excel Tutorial 8 Developing an Excel Application
NAV 2013 Customer statistics and export to Excel
Installing Analysis Tool Pak
International Computer Driving Licence Syllabus version 5.0
Microsoft Office Ribbon
Microsoft Excel.
Objectives Learn about Function procedures (functions), Sub procedures (subroutines), and modules Review and modify an existing subroutine in an event.
Creating Macros in Excel
Microsoft Office Ribbon
Installing Analysis Tool Pak
Excel 2010 Functions A function is a predefined formula that performs a calculation using specific values in a particular order. Functions save you time.
Chapter 3 Minitab Recipe Cards
Macro.
Microsoft Office Ribbon
Chapter 6 Lesson 5.
Tutorial 11 Using and Writing Visual Basic for Applications Code
Presentation transcript:

Excel Functions

Part 1. Introduction 2

An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the Excel spreadsheet. 3

For example, the sum of two variables can be evaluated in an Excel spreadsheet as follows: 4

zx + y x =5 y =3 z =z =8 5 Sum of two variables in an Excel spreadsheet

This same sum can be done in the environment of Visual Basic (VB) 6

You can define a function called "Sum", which receives the value of two inputs "x" and "y" and returns the value of the sum of them 7

How to build the function "Sum" 8

- Enter in Excel and in the main menu click in the Developer tab. 9

10 If this tab is not available, see Note 1 "Activate tab" at the end of the document.

Click on "view code" 11

The "Visual Basic" ambient is open 12

Function code 13

Function code 14 The codes are written in the VB "Modules"

Function code 15 The codes are written in the VB "Modules" To open a module

Function code 16 The codes are written in the VB "Modules" To open a module Click right button on the left side window

17

Function code 18 The codes are writen in the VB "Modules" To open a module Click right button on the left side window It opens a window

19 Select “Insert”

Click Module 20

The right window displays a flashing line 21

Sum Function Code 22

Sum Function Code 23 In the right window type the function name followed by the dependent variables in parentheses, separated by a comma.

Sum Function Code 24 In the right window type the function name followed by the dependent variables in parentheses, separated by a comma. Function Suma(x,y)

Sum Function Code 25 In the right window type the function name followed by the dependent variables in parentheses, separated by a comma. Function Suma(x,y) When you press "Enter", VB automatically puts the final line of the function.

Sum Function Code 26 In the right window type the function name followed by the dependent variables in parentheses, separated by a comma. Function Suma(x,y) End Function

The new code must be writen between these two commands. 27

The new code must be writen between these two commands. 28 In this case, the code consists of a single line

The new code must be writen between these two commands. 29 In this case, the code consists of a single line Suma = x + y

30 The complete function looks like

31 Application of the Sum function in the Excel spreadsheet Type the values of x and y, for example, in the cells C5 and C6. Type =SUM(C5,C&) in a cell and press enter.

32 Application of the Sum function in the Excel spreadsheet The result value appears in the cell

End of Part 1. Introduction 33

Activating the "Programmer" tab 34

Activating the “Developer" tab 35 Note 1 To activate the “Developer” tab 1.Click Options. 2.Click Customize Ribbon. 3. Choose commands from: All Tabs. 4. Select the Developer check box. 5. Click on Add 6. Activate, by clicking on Developer 7. OK