ETHERNET CABLE

Ethernet cable, a CAT5 or Category 5 is a description of network cabling that consists of four twisted pairs of copper wire terminated by an RJ-45 connector. Cat5 has a maximum length of 100m, exceeding this length without the aid of bridge or other network device could cause network issues. The picture shows an example of what a CAT5 cable may look like with the connector, as well as the other end of the cable with each of the wires it contains.

NETWORK

A network is a collection of computers, servers, mainframes, network devices, peripherals, or other devices connected to one another to allow the sharing of data. A excellent example of a network is the Internet, which connects millions of people all over the world. Below is an example image of a home network with multiple computers and other network devices all connected to each other and the Internet.

MICROSOFT OFFICE

Office or Microsoft Office is a collection or package of software programs developed and published by Microsoft. Office is used in the business and educational environments, for creating word processing documents, spreadsheets, and presentations. Although this collection is referred to as Office, it is more appropriate to include the version of Office, like Office 2003 or Office 2010.

DUAL BOOT

Dual-boot is a term used to describe a computer that utilizes two operating systems. For example, with a dual-boot you could have Windows 8 and Mac OS X on the same machine. The concept of installing more than two operating systems is referred to as a multi-boot. Some examples of software that assist with a dual-boot include Acronis Disk Director for Windows, Apple boot camp for Mac, and GRUB for Linux users. These programs allow users to pick which operating system they want to load as the computer is starting up

UBUNTU(linux) and WINDOW

Just like Windows XP, Windows 7, Windows 8, and Mac OS X, Linux is an operating system. An operating system is software that manages all of the hardware resources associated with your desktop or laptop. To put it simply – the operating system manages the communication between your software and your hardware. Without the operating system (often referred to as the “OS”), the software wouldn’t function.

Wednesday 12 April 2017

Computer - How to Buy?

Computer - How to Buy?


This chapter gives the following information:
  • In this guide, we'll help you to buy a desktop on component by component basis.

  • As desktops are highly customizable, so it is better to learn about main parts and then go to manufacturer or retailer shop or site instead of looking at some specific model directly.

  • Popular desktop brands are Dell, Lenovo, HP and Apple.

  • Compare the desktops based on their specifications and base price.
Desktop

Monitor

  • Size - It is the diagonal size of the LCD screen. Larger the area, bigger the picture screen. A bigger picture is preferable for movie watching and gaming. It will increase productivity as well.

  • Resolution - This is the number of pixels on the screen. For example, 24-inch display is 1920x1200 (width by length) and 22-inch display which is 1680x1050. High resolution provides better picture quality and a nice gaming experience.

  • Inputs - Now-a-days monitors can accept inputs from cable as well apart from computer. They also can have USB ports.

  • Stand - Some monitors come with adjustable stands while some may not.

  • Recommended - 24 Inch LCD.
Flat Monitor

Operating System

  • Operating System is the main software of the computer as everything will run on it in one form or other.
  • There are primarily three choices : Windows, Linux, Apple OS X.
  • Linux is free but people generally do not use it for home purpose.

  • Apple OS X works only on Apple Desktops.

  • Windows 7 is very popular among desktop users.
  • Most of the computers come pre-equipped with Windows 7 Starter edition.
  • Windows 8 is recently introduced and is available in market.

  • Windows 7 and Windows 8 come in multiple versions from starter, home basic, home premium, professional, ultimate and enterprise editions.
  • As edition version increases, their features list and price increases.
  • Recommended - Windows 7 Home Premium.

Optical Drive (CD / DVD / Blu-ray)

  • Optical drive is the drive on a computer which is responsible for using CD, DVD and Blu-ray discs.

  • Now-a-days, DVD burners are industry standards.

  • DVD Burner can burn CD, DVD and play them.

  • DVD Burner is cheaper than Blu-ray drives.

  • Blu-ray drives can play HD movies but are costlier component.

  • Recommended - DVD Burner.
DVD Drive

Memory

  • RAM is considered as Computer Memory as performance of a computer is directly proportional to its memory and processor.
  • Today's software and operating system require high memory.
  • Today commonly used RAM is DDR3 which operates at 1066Mhz
  • As per Windows 7, 1 GB is the minimum RAM required to function properly.
  • Recommended - 4 GB.
Primary Memory

Hard Drive

  • Hard disk is used for storage purpose. Higher the capacity, more data you can save in it.
  • Now-a-days computers are equipped with 500GB hard drive which can be extended to 2TB.
  • Most hard drives in desktop operate at the standard performance speed of 7200RPM.
  • Recommended - 500GB.
Secondary Memory

CPU

  • Frequency (GHz) - This determines speed of the processor. More the speed, better the CPU.

  • Cores - Now-a-days CPUs come with more than one core, which is like having more than one CPU in the computer. Programs which can take advantage of multi-core environment will run faster on such machines.

  • Brand - Intel or AMD. Both are equivalent. Intel is in lead.

  • Cache - Higher the L1, L2 cache, better the CPU performance

  • Recommended - Intel Core i3 i3-3225 3.30 GHz Processor.
CPU

Computer - Motherboard

Computer - Motherboard


The motherboard serves as a single platform to connect all of the parts of a computer together. A motherboard connects CPU, memory, hard drives, optical drives, video card, sound card, and other ports and expansion cards directly or via cables. It can be considered as the backbone of a computer.
Mother Board

Features of Motherboard

A motherboard comes with following features:
  • Motherboard varies greatly in supporting various types of components.

  • Normally a motherboard supports a single type of CPU and few types of memories.
  • Video Cards, Hard disks, Sound Cards have to be compatible with motherboard to function properly

  • Motherboards, cases and power supplies must be compatible to work properly together.

Popular Manufacturers

  • Intel

  • ASUS

  • AOpen

  • ABIT

  • Biostar

  • Gigabyte

  • MSI

Description of Motherboard

The motherboard is mounted inside the case and is securely attached via small screws through pre-drilled holes. Motherboard contains ports to connect all of the internal components. It provides a single socket for CPU whereas for memory, normally one or more slots are available. Motherboards provide ports to attach floppy drive, hard drive, and optical drives via ribbon cables. Motherboard carries fans and a special port designed for power supply.
There is a peripheral card slot in front of the motherboard using which video cards, sound cards and other expansion cards can be connected to motherboard.
On the left side, motherboards carry a number of ports to connect monitor, printer, mouse, keyboard, speaker, and network cables. Motherboards also provide USB ports which allow compatible devices to be connected in plug-in/plug-out fashion for example, pen drive, digital cameras etc.

Computer - CPU(Central Processing Unit)

Computer - CPU(Central Processing Unit)


CPU consists of the following features:
  • CPU is considered as the brain of the computer.

  • CPU performs all types of data processing operations.

  • It stores data, intermediate results and instructions(program).

  • It controls the operation of all parts of computer.
CPU
CPU itself has following three components.
  • Memory or Storage Unit

  • Control Unit

  • ALU(Arithmetic Logic Unit)
Computer Architectures

Memory or Storage Unit

This unit can store instructions, data and intermediate results. This unit supplies information to the other units of the computer when needed. It is also known as internal storage unit or main memory or primary storage or Random access memory(RAM).
Its size affects speed, power and capability. Primary memory and secondary memory are two types of memories in the computer. Functions of memory unit are:
  • It stores all the data and the instructions required for processing.

  • It stores intermediate results of processing.

  • It stores final results of processing before these results are released to an output device.

  • All inputs and outputs are transmitted through main memory.

Control Unit

This unit controls the operations of all parts of computer but does not carry out any actual data processing operations.
Functions of this unit are:
  • It is responsible for controlling the transfer of data and instructions among other units of a computer.

  • It manages and coordinates all the units of the computer.

  • It obtains the instructions from the memory, interprets them, and directs the operation of the computer.

  • It communicates with Input/Output devices for transfer of data or results from storage.

  • It does not process or store data.

ALU(Arithmetic Logic Unit)

This unit consists of two subsections namely
  • Arithmetic section
  • Logic Section

Arithmetic Section

Function of arithmetic section is to perform arithmetic operations like addition, subtraction, multiplication and division. All complex operations are done by making repetitive use of above operations.

Logic Section

Function of logic section is to perform logic operations such as comparing, selecting, matching and merging of data.

Thursday 12 January 2017

Linux installation

How to Install and Try Linux the Absolutely Easiest and Safest Way

In this follow up to Replace the Retiring Windows XP with Linux we're going learn the easiest and most foolproof way to install and run Xubuntu Linux 12.04 LTS on your old Windows XP computer. The only requirements are that your old computer has USB ports, and that it supports booting from a USB stick. If your computer is too old for USB, then it's pretty darned old and you really need to think about getting a newer one.
There are but four steps: one, go to OSDisc.com and order Xubuntu Linux on a 32-gigabyte USB stick. Then insert the USB stick into your computer, boot up, and start playing with Linux. It is self-contained and doesn't change anything on your computer. You can create and save files on the USB stick, install and remove Linux software, and it's completely portable so you can plug it in and use it anywhere. If you ever get bored with Xubuntu you can delete it and use your USB stick for something else.

Booting to a USB Stick

Ideally your computer is already configured to boot from removable media like USB sticks, CD/DVDs, and even floppy disks if it's old enough. Boot devices are listed in order in your computer's BIOS (basic input/output system), for example CD/DVD, USB, and then hard drive. Your computer BIOS is a little program installed in a microchip on your motherboard, and it performs the initial startup before handing off to your operating system. The BIOS goes down this list of boot devices until it finds one that is present, and then uses that.
Bios-screen
Watch the boot messages that appear when you first start up your PC and they will tell you how to enter your BIOS, like in figure 1. Then you can see how startup devices are configured. There is no standard way to do this, so you'll need to press the F1, F2, F11, or Del key to get into your BIOS settings, or possibly even something else; but don't worry, the startup messages will tell you. Then explore your BIOS settings until you see where to configure the boot device priority (figure 2).
fig-2-boot-order
Don't worry if your screens don't look exactly like my examples, because they're all a little different. Save your changes, if any, and exit, and when your system re-starts it should boot to your Xubuntu stick. The first screen has two choices: Try Xubuntu and Install Xubuntu.
fig-3-try-xubuntu
Click "Try Xubuntu" to run it from the USB stick. When it's finished booting you'll see something like figure four.
fig-4-desktop-xubuntu
Xubuntu recognizes any other installed operating systems, like Windows and system recovery partitions, and there will be icons for them on your Xubuntu desktop. If you have a recovery partition leave it alone. You can click on the Windows partitions to see your files.
Click the little mouse at the top left to see your application menu (figure 5).
fig-5-app-menu
Hover your cursor at the bottom to see your Xubuntu dock (figure 6). This auto-hides itself when you move the cursor away. If you want it to always be visible, right-click anywhere on the dock, then left-click Panel > Panel Preferences and uncheck "automatically show and hide the panel."
fig-6-panel-prefs
Now that you're up and running, you're ready to look at some documentation and learn how to run your nice Linux system. Linux uses right-click menus a lot, so remember this while you're exploring Xubuntu. Visit Xubuntu.org/help for how to's and other help resources.
Take your time and be patient. There is no such thing as a dead-easy, no-knowledge-required personal computer. It doesn't matter what computer you use, whether it's Microsoft, Apple, Android, Chromebook, Linux, or anything else. They all require knowledge and study. You should know basic computer terminology and components, and basic networking concepts. We still need keyboards, and there are lots of free typing tutors if you need a tune-up. There are zillions of great YouTube videos and online how to articles, and all kinds of books, and maybe some classes in your community. Linux and the free/open source software world offer a vast wealth of high-quality software for free. We've had affordable, sophisticated personal computers for over 30 years, and there is a world of knowledge literally at our fingertips. It's not hard once you move past "I can't do this."

About Xubuntu

I chose Xubuntu because it is part of the excellent and popular Ubuntu family of Linux distributions. The 12.04 LTS (long-term support) release, codename Precise Pangolin, receives updates and security fixes until April 2017. The interim releases are supported only for 9-18 months. It's nice and lightweight for older computers, and it has a good straightforward user interface. The Ubuntu installer is the easiest and most streamlined of any distro, and Ubuntu updates and upgrades are reliable. Ubuntu is popular and has the backing of its parent company Canonical, so it's not likely to disappear anytime soon. Xubuntu doesn't look much like Windows XP, but it has the same basic layout: an applications menu, and a panel that shows notifications and open apps. You can find everything with just a little bit of poking around and clicking stuff.
I know, my fellow Linux fans, I know, what about Linux Mint? Mint is a wonderful distro. And so is Mageia, and Fedora, and PCLinuxOS, and openSUSE, and Bohdi, and so many more. Linux is a feast of riches. OSDisc.com offers many Linux distros on USB sticks, so feel free to go nuts and use whatever one you want.

Internet service

Internet service

An Internet Service Provider (ISP) is a company that provides Internet access by using copper, fiber, or even satellite communications to the customer. In this lesson, we will cover exactly what an ISP is, how the ISP connects customers, and what type of services the ISPs provide.

Definition

An Internet Service Provider (ISP) is a company such as AT&T, Verizon, Comcast, or BrightHouse that provides Internet access to companies, families, and even mobile users. ISPs use fiber-optics, satellite, copper wire, and other forms to provide Internet access to its customers.
The type of Internet access varies depending on what the customer requires. For home use, cable or DSL (digital subscriber line) is the perfect, affordable choice. The price of home use can range anywhere from free to roughly $120 a month. The amount of bandwidth is usually what drives the price. Bandwidth is the amount of data that can be sent through an internet connection in a given amount of time. The speed for home use usually varies from 14 kilobits per second to 100 megabits per second. For large companies and organizations, their bandwidth requirements may be 1 to 10 gigabits per second, which is both insanely fast and expensive!

The Internet Highway

ISPs connect to one another by forming backbones, which is another way of saying a main highway of communications. Backbones usually consist of satellite, copper wire, or even fiber-optic media. Media is a term that means cables or lines, and it's the physical means of connecting your home to the internet.
Now, imagine these 'main highways' are like the major arteries that we have in our bodies. These major arteries push an extreme amount of blood (or data) to our smaller blood arteries (cities). Those smaller arteries then feed into blood vessels (neighborhoods) and then into tiny capillaries (our individual homes).
ISPs provide the same service, except that they use different types of media to do so. ISPs bridge distant locations between cities, states, and countries. Because of these high speed backbone systems, we are able receive an email within seconds, stream our favorite movie without interruption, and play online games with no lag whatsoever.

Satellites

Let's go over the different types of media that are used in order to give you a broader understanding of how ISPs work.
Customers who live in remote locations, such as farms, deserts, and mountainous areas, may require a satellite Internet service. This involves transmitting and receiving data from a satellite orbiting about 22,000 miles above the earth. Although satellite communication is not as fast as other mediums, it does provide flexibility with limited environmental impact, and there is not as much need for support from the local telecommunications company.
These satellite terminals can also be used when setting up natural disaster recovery centers. For example, FEMA used a satellite terminal during Hurricane Katrina, since the public telecommunication infrastructure was severely damaged.

Fiber Optics

Fiber optics, or fiber, is a transmission medium used to transmit light instead of electrical voltage, like copper. The great thing about fiber is that it transmits Internet traffic at the speed of light!
Fiber has great qualities, such as being very reliable and immune to electromagnetic interference, unlike copper. Fiber has the bandwidth capability from 10 gigabits per second all the way up to 31 terabits per second. Without boosting stations (which boost or amplify the signal as it travels, and commonly used with copper), fiber can transmit signals up to 150 miles without regeneration. Right now, there are fiber cables that run along the ocean floor, connecting countries across the globe through high speed Internet access. Pretty cool!

Copper Cables

ISPs will more likely supply home users with a copper medium, such as that used for DSL or cable broadband. This works by sending electrical pulses through a copper wire. Broadband is cheap and provides excellent Internet service to the home user. It uses existing media found commonly in homes, such as your cable and telephone outlets, to provide users with Internet access. Most ISPs will provide their customers with equipment such as modems and routers to complete the installation and receive Internet access.
Unlike fiber, copper is not immune to electromagnetism. Careful placement of the cables must be planned so that interference, such as that from refrigerators, microwaves, and high-powered motors, does not affect the signal. The signal often requires regeneration to prevent attenuation, the process where the signal loses its distinct signature as it travels further down the copper wires, to the point the signal is no longer recognizable. One benefit is that copper is cheap and can be fixed easily if there are any breaks in the line.

Formula and function

Formula and function

In this lesson, we introduce you to basic rules for creating formulas and using functions. We feel one of the best ways to learn is through practice, so we provide several examples and explain them in detail. The topics we will cover include:
 
  • rows and columns
  • example math function: SUM()
  • operators
  • operator precedence
  • example financial function: PMT(), loan payment
  • using a “string” function (“string” is shorthand for “string of text”) inside a formula and nesting functions
Formulas are a mixture of “functions,” “operators,” and “operands.” Before we write a few formulas, we need to create a function but before we can create a function, we first need to understand row and column notation.

Rows and Columns

To understand how to write formulas and functions, you need to know about rows and columns.
Rows run horizontally and columns run vertically. To remember which is which, think of a column holding up a roof – columns go up-down and thus rows go left-right.
clip_image002
Columns are labeled by letters; rows by numbers. The first cell in the spreadsheet is A1 meaning column A, row 1. The columns are labeled A-Z. When the alphabet runs outs, Excel places another letter in front: AA, AB, AC… AZ, BA, BC, BC, etc.

Example: Function Sum()

Now let’s demonstrate how to use a function.
You use functions by typing them directly in or using the function wizard. The function wizard opens when you either pick a function from the “Formulas” menu from the “Function Library.” Otherwise, you can type = in a cell and a handy drop-down menu will allow you to pick a function.
clip_image003
The wizard tells you what arguments you need to provide for each function. It also provides a link to online instructions if you need help understanding what the function does and how to use it. For example, if you type =sum into a cell, the in-line wizard shows you what arguments are required for the SUM function.
clip_image005
When you type a function, the wizard is inline or right at your fingers. When you select a function from the “Formulas” menu, the wizard is a pop-up box. Here is the pop-up wizard for the SUM() function.
clip_image006
For our first function, let’s use SUM(), which adds a list of numbers.
Suppose we have this spreadsheet to contain plans for budgeting your family’s vacation:
clip_image007
To calculate the total costs you could write =b2+b3+b4+b5 but it’s easier to use the SUM() function.
In Excel, look for the symbol Σ at the top left-hand corner of the Excel screen to find the AutoSum button (mathematicians use the Greek letter Σ for adding a series of numbers).
clip_image008
If the cursor is below the family budget numbers, Excel is smart enough to know that you want to sum the list of numbers above where you placed the cursor, so it highlights the numbers.
clip_image009
Press “enter” to accept the range selected by Excel or use the cursor to change which cells are selected.
If you look at what Excel put into the spreadsheet you can see that it wrote this function:
clip_image010
In this formula, Excel sums the numbers from B2 to B9. Note, we left some room below row 5 so that you could add to the family vacation budget – the cost will certainly go up as the kids list of what they want to do and where they want to go grows longer!
Math functions do not work with letters, so if you put letters into the column the result is shown as “#NAME?” as shown below.
clip_image011
#NAME? indicates that there is some kind of error. It could be any number of things including:
  • bad cell reference
  • using letters in math functions
  • omitting required arguments
  • spelling function name wrong
  • illegal math operations like division by 0
The easiest way to select the arguments in a calculation is to use the mouse. You can add to or remove from the list of arguments to the function by enlarging or making smaller the box that Excel draws when you move the mouse or click in another cell.
We have clicked on the top of the square drawn by Excel to take “airline tickets” out of the budget. You can see the cross-hair symbol that you can draw to make the selected range larger or smaller.
clip_image013
Press “enter” to confirm the results.

Calculation Operators

There are two types of operators: math and comparison.
Math OperatorDefinition
+addition
subtraction, or negation, e.g., 6 * -1 = -6
*multiplication
/division
%percent
^exponent, e.g. 2= 2 ^ 4 = 2 * 2 * 2 * 2 =16
There are other operators not related to mathematics like “&” which means concatenate (join end-to-end) two strings. For example, =“Excel” & “ is Fun” equals “Excel is Fun”.
Now we look at comparison operators.
Comparison OperatorDefinition
=equals, e.g., 2=4 or “b” = “b”
>greater than, e.g., 4 > 2 or “b” > “a”
<less than, e.g., 2 < 4 or “a” < “b”
>=greater than or equal to – another way to think of this is >= means either > or =.
<=less than or equal to.
<>not equal to, e.g., 4<>6
As you can see above, comparison operators work with numbers and text.
Note, if you enter =”a”>”b” into a cell it will say “FALSE” since “a” is not greater than “b.” “b” comes after “a” in the alphabet, so “a” > “b” or “b” > “a.”

Operator Order Precedence

Order precedence is an idea from mathematics. Excel has to follow the same rules as mathematics. This topic is more complicated, so take a breath and let’s dive in.
Order precedence means the order in which the computer calculates the answer. As we explained in Lesson 1, the area of a circle is πr2, which is the same as π * r * r. It is not (πr)2.
So you have to understand the order precedence when you write a formula.
Generally, you can say this:
  1. Excel first evaluates items in parentheses working inside out.
  2. It then uses the order precedence rules of mathematics.
  3. When two items have the same precedence, Excel works left to right.
The precedence of math operators is shown below, in descending order.
( and )When parentheses are used, they override the normal rules of precedence. This means that Excel will do this calculation first. We explain this further below.
Negation, e.g., -1. This is the same as multiplying a number by -1. -4 = 4 * (-1)
%Percent, means multiply by 100. E.g., 0.003 = 0.3%.
^Exponent, e.g., 10 ^ 2 = 100
* and /Multiply and divide. How can two operators have the same precedence? It just means that if a formula has two more operators with the same precedence, then the calculation is done left to right.
+ and –Addition and subtraction.
There are other precedence rules related to strings and reference operators. For the moment, we will just stick with what we just covered. Now, let’s look at some examples.

Example: Calculating the area of a circle

The area of a circle is =PI() * radius ^ 2.
Looking at the table above we see that exponents comes before multiplication. So the computer first calculates radius ^ 2 and then it multiples that result by Pi.

Example: Calculating a raise in salary

Let’s say your boss decides you’re doing a great job and he or she is going to give you a 10% raise! How would you calculate your new salary?
First, remember that multiplication comes before addition.
Is it =salary + salary * 10% or is it =salary + (salary * 10%)?
Suppose your salary is $100. With a 10% raise, your new salary will be:
= 100 + 100 * 10% = 100 + 10 = 110
You can also write it like this:
=100 + (100 * 10%) = 100 + 10 = 110
In the second case, we have make the order of precedence explicit by using parentheses. Remember that parentheses are evaluated before any other operation.
By the way, the easier way to write this is = salary * 110%
Parentheses can be nested inside one another. So, when we write (3 + (4 * 2)), working from inside to outside, first calculates 4 * 2 = 8, then add 3 + 8 to get 11.

A few more examples

Here is another example: = 4 * 3 / 2. What is the answer?
We see from the rules in the table above that * and / have equal precedence. So Excel works from left to right, 4 * 3 = 12 first, then divides that by 2 to get 6.
Again you could make that explicit by writing = (4 * 3) / 2
What about = 4 + 3 * 2?
The computer sees both * and + operators. So following the rules of precedence (multiplication comes before addition) it calculates 3 * 2 = 6 first, then adds 4 to get 10.
If you wanted to change the order of precedence you would write = (4 + 3) * 2 = 14.
What about this one = -1 ^ 3?
Then answer is -3 because the computer calculated = (-1) ^ 3 = -1 * -1 * -1 = -1.
Remember that negative times negative is positive and a negative times a positive is negative. You can see this like this (-1 * -1) * -1 = 1 * -1 = -1.
So there’s a few examples of mathematical order and precedence, we hope that helps clear a few things about how Excel performs calculations (and that’s probably enough math to last a lifetime for some of you).

Example: Function Loan Payment (PMT)

Let’s look at an example to calculate a loan payment.
Start by creating a new worksheet.
Format the numbers with dollar signs and use zero decimal places since we are not interested in cents right now because they do not matter much when you are talking about dollars (in the next chapter we explore how to format numbers in detail). For example, to format the interest rate, right-click on the cell and click “format cells.” Pick percentage and use 2 decimal places.
Similarly, format the other cells for “currency” instead of percentage and pick “number” for the loan term.
clip_image014
Now we have:
clip_image015
Add the SUM() function to “total” monthly expenses.
clip_image016
Note, the mortgage cell is not included in the total. Excel does not know that you want to include that number, since there is no value there. So be careful to extend the SUM() function to the top either by using the cursor or typing E2 where it says E3 to include the mortgage in the sum.
Put the cursor in the payment cell (B4).
clip_image017
On the Formulas menu select the drop-down “Financial” and then select the PMT function. The wizard pops up:
clip_image018
Use the cursor to select the “rate.”,“nper” (loan term), “Pv” (“present value” or loan amount). Notice that you have to divide the interest rate by 12 since interest is calculated monthly. Also you need to multiply the loan term in years by 12 to get the loan term in months. Press “OK” to save the result in the spreadsheet.
Notice that the payment is shown as a negative number: -1013.37062. To make it positive and add it to the monthly expenses, point to the mortgage cell (E2). Type “=-” then use the cursor to point to the payment field. The resulting formula is =-B4.
clip_image019
Now the spreadsheet looks like this:
clip_image020
Your monthly expenses are $1,863 – Ouch!

Example: Text Function

Here we demonstrate how to use functions inside a formula and text functions.
Suppose you have a list of students as shown below. The first and last name is in one field separated by a comma. We need to put the last and firm names into separate cells. How do we do this?
clip_image021
To tackle this problem you need to use an algorithm – i.e., a step-by-step procedure for doing this.
For example, look at “Washington, George.” The procedure to split that into two words would be:
  1. Calculate the length of the string.
  2. Find the position of the comma (this shows where one word ends and the other begins).
  3. Copy the left-hand side of the string up until the comma.
  4. Copy the right-hand side of the string from the comma to the end.
Let’s discuss how to do this with “George Washington” step-by-step in Excel.
  1. Calculate the length of the string with the function =LEN(A3) – the result is 18.
  2. Now find the position of the comma by entering this function =FIND(“,”,A3”) – the result is 11.
  3. Now take the left-hand side of the string up until the comma and create this nested formula using the result from Step 1: =LEFT(A3,FIND(“,”,A3)-1). Note, we have to subtract 1 from the length because FIND gives the position of the comma.
Here is what that all looks like when all the functions are placed together in a formula. In cell B3, you can see this formula takes all the information from cell A3 and inputs “Washington” into it.
clip_image023
So we have “Washington,” now we need to get “George.” How do we do this?
Note, that we could have saved the result from Step 1 in a cell by itself, say, B6, then write a simpler formula =LEFT(A3,B6-1). But that uses up one cell for the intermittent step.
  1. Remember the position of the comma or calculate it again.
  2. Calculate the length of the string.
  3. Count the characters from the end of the string to the comma.
Take the number of characters from Step 3 and subtract one to omit the comma and space.
Let’s do this step-by-step.
  1. From above, this is =FIND(“,”,A3”)
  2. The length of the string is =LEN(A3)
  3. You will need to use some math to find the number of characters to take: =LEN(A3) – FIND(“,”,A3) – 1
  4. The right-hand side of the string we want is =RIGHT(A3,LEN(A3) – FIND(“,”,A3) – 1)
Your spreadsheet should now look similar to the screenshot below. We copied the formulas as text into the bottom of the spreadsheet to make it easier to read and see.
clip_image025
That one was a little difficult but you only need to write these formulas once.