PDF Print E-mail

Excel Basics

This is a basic tutorial of Excel. START HERE Specific examples may refer to Excel (but most items discussed should work in other spreadsheets).

 

IT is recommended that you have EXCEL running at the same time. You can try what you are reading. On an PC you can toggle back and forth between the Tutorial and Excel using the ALT-TAB. If you are using this on a Mac, switch back and forth with the finder. Using either machine, if you can tile the windows just a little you can switch back and forth by clicking on the window of the program you want to become active.

 

 


52 I P

Spreadsheet Tutorial

N

A spreadsheet is the computer equivalent of a paper ledger sheet. It consists of a grid made from columns and rows. It is an environment that can make number manipulation easy and somewhat painless.

paper ledger   computer   ledger

The math that goes on behind the scenes on the paper ledger can be overwhelming. If you change the loan amount, you will have to start the math all over again (from scratch). But let's take a closer look at the computer version.

2813

I P

Types of Data

N

In a spreadsheet there are three basic types of data that can be entered.

  • labels - (text with no numerical value)
  • constants - (just a number -- constant value)
  • formulas* - (a mathematical equation used to calculate)
data types examples descriptions
LABEL Name or Wage or Days anything that is just text
CONSTANT 5 or 3.75 or -7.4 any number
FORMULA =5+3 or = 8*5+3 math equation
 

*ALL formulas MUST begin with an equal sign (=).


   
I P

Labels in Excel

N
 

Labels are text entries. They do not have a value associated with them. We typically use labels to identify what we are talking about.

In our first example: the labels were

  • computer ledger
  • car loan
  • interest
  • # of payments
  • Monthly Pmt.

Again, we use labels to help identify what we are talking about. The labels are NOT for the computer but rather for US so we can clarify what we are doing.

 
I P

Constants in Excel

N

Constants are entries that have a specific fixed value. If someone asks you how old you are, you would answer with a specific answer. Sure, other people will have different answers, but it is a fixed value for each person.

In our first example: the constants were

  • $12,000
  • 9.6%
  • 60


 

As you can see from these examples there may be different types of numbers. Sometimes constants are referring to dollars, sometimes referring to percentages, and other times referring to a number of items (in this case 60 months).These are typed into the computer with just the numbers and are changed to display their type of number by formatting (we will talk about this later).
Again, we use constants to enter FIXED number data.

 
I P

Formulas in Excel

N
 

Formulas are entries that have an equation that calculates the value to display. We DO NOT type in the numbers we are looking for; we type in the equation. This equation will be updated upon the change or entry of any data that is referenced in the equation.

In our first example, the solution was $252.61
This was NOT typed into the keyboard. The formula that was typed into the spreadsheet was:
=PMT(C4/12,C5,-C3)

C4 (annual interest rate) was divided by 12 because there are 12 months in a year. Dividing by 12 will give us the interest rate for the payment period - in this case a payment period of one month.

It is also important to type in the reference to the constants instead of the constants. Had I entered =PMT(.096,60,-12000) my formula would only work for that particular set of data. I could change the months above and the payment would not change. Remember to enter the cell where the data is stored and NOT the data itself.

Formulas are mathematical equations. There is a list of the functions available within Excel under the menu INSERT down to Function.

Formulas OR Functions MUST BEGIN with an equal sign (=).

Again, we use formulas to CALCULATE a value to be displayed.

 
I P

Basic Formulas in Excel

N

hen we are entering formulas into a spreadsheet we want to make as many references as possible to existing data. If we can reference that information we don't have to type it in again. AND more importantly if that OTHER information changes, we DO-NOT have to change the equations.

If you work for 23 hours and make $5.36 an hour, how much do you make? We can set up this situation using

  • three labels
  • two constants
  • one equation

Let's look at this equation in B4:

  • = B1 * B2
  • = 23 * 5.36

Both of these equations will produce the same answers, but one is much more useful than the other.
DO YOU KNOW which is BEST and WHY?

It is BEST if we can Reference as much data as possible as opposed to typing data into equations.

 
I P

Change in Formulas

N
 

In our last example, things were pretty straightforward. We had number of hours worked multiplied by wage per hour and we got our total pay. Once you have a working spreadsheet you can save your work and use it at a later time. If we referenced the actual cells (instead of typing the data into the equation) we could update the entire spreadsheet by just typing in the NEW Hours worked. And -- you're done!

 

Let's look at the new spreadsheet:

  • hours have been changed to 34
  • wage is the same
  • total pay would now be = 34 * 5.36
  • but would still be = B1 * B2

If we had typed in ( = 23 * 5.36 ) the first time and just changed the hours worked, our equation in B4 would still be ( = 23 * 5.36 )

INSTEAD we typed in references to the data that we wanted to use in the equation.
We typed in ( = B1 * B2 ). These are the locations of the data that we want to use in our equation.

It is BEST if we can Reference as much data as possible as opposed to typing data into equations.

 
I P

Basic Math Functions

N
 

Spreadsheets have many Math functions built into them. Of the most basic operations are the standard multiply, divide, add and subtract. These operations follow the order of operations (just like algebra). Let's look at some examples.

For these following examples lets consider the following data:

  • A1 (column A, row 1) = 5
  • A2 (column A, row 2) = 7
  • A3 (column A, row 3) = 8
  • B1 (column B, row 1) = 3
  • B2 (column B, row 2) = 4
  • B3 (column B, row 3) = 6
  A B
1 5 3
2 7 4
3 8 6

 

 
Operation Symbol Constant
Data
Referenced
Data
Answer
Multiplication * = 5 * 6 = A1 * B3 30
Division / = 8 / 4 = A3 / B2 2
Addition + = 4 + 7 = B2 + A2 11
Subtraction - = 8 - 3 = A3 - B1 5
   
I P

Methods of Selecting Cells

N
 

Selecting cells is a very important concept of a spreadsheet. We need to know how to reference the data in other parts of the spreadsheet. When entering your selection you may use the keyboard or the mouse.
We can select several cells together if we can specify a starting cell and a stopping cell. This will select ALL the cells within this specified BLOCK of cells.


For this following examples lets consider the following data:

  • A1 (column A, row 1) = 5
  • A2 (column A, row 2) = 7
  • A3 (column A, row 3) = 8
  • B1 (column B, row 1) = 3
  • B2 (column B, row 2) = 4
  • B3 (column B, row 3) = 6
  A B
1 5 3
2 7 4
3 8 6

 

This is just a discussion of selection methods. If we wanted to add the cells in the (To Select) you would type in

=sum(Type In)
or
=sum(Click On)


To Select Type In Click On
A1 A1
  • click on A1
A1, A2, A3 A1:A3
  • click on A1
  • with button down
  • drag to A3
A1, B1 A1:B1
  • click on A1
  • with button down
  • drag to B1
A1, B3 A1, B3
  • click on A1
  • type in comma
  • click on B3
A1, A2, B1, B2 A1:B2
  • click on A1
  • with button down
  • drag to B2
               
I P

Sum Function

N
 

Probably the most popular function in any spreadsheet is the SUM function. The Sum function takes all of the values in each of the specified cells and totals their values. The syntax is:

  • =SUM(first value, second value, etc)

In the first and second spots you can enter any of the following (constant, cell, range of cells).

  • Blank cells will return a value of zero to be added to the total.
  • Text cells can not be added to a number and will produce an error.

Lets use the table here for the discussion that follows:

We will look at several different specific examples that show how the typical function can be used! Notice that in A4 there is a TEXT entry. This has NO numeric value and can not be included in a total.

  A
1 25
2 50
3 75
4 test
5  

 


Example Cells to ADD Answer
=sum (A1:A3)

A1, A2, A3

150
=sum (A1:A3, 100) A1, A2, A3 and 100 250
=sum (A1+A4) A1, A4 #VALUE!
=sum (A1:A2, A5) A1, A2, A5 75
     
     
171451 I P

Average Function

N
 

There are many functions built into many spreadsheets. One of the first ones that we are going to discuss is the Average function. The average function finds the average of the specified data. (Simplifies adding all of the indicated cells together and dividing by the total number of cells.) The syntax is as follows.

  • =Average (first value, second value, etc.)

Text fields and blank entries are not included in the calculations of the Average Function.


Lets use the table here for the discussion that follows:
We will look at several different specific examples that show how the average function can be used!
  A
1 25
2 50
3 75
4 100
5  

 


Example Cells to average Answer
=average (A1:A4) A1, A2, A3, A4 62.5
=average (A1:A4, 300) A1, A2, A3, A4 and 300 110
=average (A1:A5) A1, A2, A3, A4, A5 62.5
=average (A1:A2, A4) A1, A2, A4 58.33
 
I P

Max Function

N
 

The next function we will discuss is Max (which stand for Maximum). This will return the largest (max) value in the selected range of cells.

  • Blank entries are not included in the calculations of the Max Function.
  • Text entries are not included in the calculations of the Max Function.

Lets use the table here for the discussion that follows.
We will look at several different specific examples that show how the Max functions can be used!
  A
1 10
2 20
3 30
4 test
5  

 


Example of Max Cells to look at Ans. Max
=max (A1:A4) A1, A2, A3, A4 30
=max (A1:A4, 100) A1, A2, A3, A4 and 100 100
=max (A1, A3) A1, A3 30
=max (A1, A5) A1, A5 10
     
I P

Min Function

N

The next function we will discuss is Min (which stands for minimum). This will return the smallest (Min) value in the selected range of cells.

  • Blank entries are not included in the calculations of the Min Function.
  • Text entries are not included in the calculations of the Min Function.

Lets use the table here for the discussion that follows.
We will look at several different specific examples that show how the min functions can be used!
  A
1 10
2 20
3 30
4 test
5  

 


Example of min Cells to look at Ans. min
=min (A1:A4) A1, A2, A3, A4 10
=min (A2:A3, 100) A2, A3 and 100 20
=min (A1, A3) A1, A3 10
=min (A1, A5) A1, A5 (displays the smallest number) 10
           
I P

Count Function

N
 

The next function we will discuss is Count. This will return the number of entries (actually counts each cell that contains number data) in the selected range of cells.

  • Blank entries are not counted.
  • Text entries are NOT counted.

Lets use the table here for the discussion that follows.
We will look at several different specific examples that show how the Count functions can be used!
  A
1 10
2 20
3 30
4 test
5  

 


Example of Count Cells to look at Answer
=Count (A1:A3) A1, A2, A3 3
=Count (A1:A3, 100) A1, A2, A3 and 100 4
=Count (A1, A3) A1, A3 2
=Count (A1, A4)

A1, A4

1
=Count (A1, A5) A1, A5 1
 
I P

CountA Function

N

The next function we will discuss is CountA. This will return the number of entries (actually counts each cell that contains number data OR text data) in the selected range of cells.

  • Blank entries are not Counted.
  • Text entries ARE Counted.

Lets use the table here for the discussion that follows.
We will look at several different specific examples that show how the CountA functions can be used!
  A
1 10
2 20
3 30
4 test
5  

 


Example of CountA

Cells to


Comments (6)
  • Салима
    Character problem. empty comment
  • AleksandrSitnikov21  - комментарий
    Квалифицированный сантехник Киев, гарантия
  • Anonymous  - комментарий к этому посту
    веселые детские аттракционы прокат Киев на любой вкус
  • Anonymous  - комментарий к теме
    Дизайн, ремонт квартир киев офисов
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.
 
Copyright 2009 SQL Server.in, Powered by Joomla!; Joomla templates by SG web hosting