ITWS Lab Manual 2019-2020 - R. MOHAN
ITWS Lab Manual 2019-2020 - R. MOHAN
Department Of
Computer Science & Engineering
Prepared by
R. Mohan Krishna
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
INTRODUCTION ............................................................................................................................................................................. 4
PC HARDWARE .............................................................................................................................................................................. 5
TASK1 ........................................................................................................................................................................................... 5
TASK2 ........................................................................................................................................................................................... 9
TASK3 ......................................................................................................................................................................................... 16
TASK4 ......................................................................................................................................................................................... 16
TASK5 ......................................................................................................................................................................................... 40
INTERNET AND WORLD WIDE WEB ..................................................................................................................................... 43
TASK1 ......................................................................................................................................................................................... 43
TASK2 ......................................................................................................................................................................................... 45
TASK3 ......................................................................................................................................................................................... 47
TASK 4 ........................................................................................................................................................................................ 50
PRODUCTIVE TOOLS ................................................................................................................................................................. 52
MS PUBLISHER ...................................................................................................................................................................................................................... 52
Inserting and Editing Text Objects .......................................................................................................................................... 52
Create, use, or change a template in Publisher....................................................................................................................... 55
Layouts .................................................................................................................................................................................... 58
Inserting and Removing Pages ................................................................................................................................................ 59
Create a hyperlink ................................................................................................................................................................... 61
Publish a Publisher Web site................................................................................................................................................... 62
LATEX.......................................................................................................................................................................................... 71
What is LaTeX? ....................................................................................................................................................................... 71
Why LaTeX, not MS Word? ..................................................................................................................................................... 71
Disadvantages ......................................................................................................................................................................... 71
Where to get LaTeX? ............................................................................................................................................................... 71
LaTeX package structure ......................................................................................................................................................... 72
LaTeX Skeleton ........................................................................................................................................................................ 72
How To Run LaTeX ................................................................................................................................................................. 72
Latex Flowchart ...................................................................................................................................................................... 72
The syntax of LaTeX ................................................................................................................................................................ 74
File formats encountered in Latex ........................................................................................................................................... 74
MICROSOFT WORD ............................................................................................................................................................................................................... 77
TASK1...................................................................................................................................................................................... 77
TASK2...................................................................................................................................................................................... 80
TASK3...................................................................................................................................................................................... 82
TASK4...................................................................................................................................................................................... 84
MICROSOFT EXCEL .......................................................................................................................................................................................................... 87
TASK1...................................................................................................................................................................................... 87
TASK2...................................................................................................................................................................................... 93
TASK3.................................................................................................................................................................................... 108
TASK4.................................................................................................................................................................................... 108
TASK5.................................................................................................................................................................................... 117
TASK6.................................................................................................................................................................................... 123
TASK7.................................................................................................................................................................................... 138
MICROSOFT POWERPOINT................................................................................................................................................................................................148
Task1 ..................................................................................................................................................................................... 148
Task2 ..................................................................................................................................................................................... 148
Task3 ..................................................................................................................................................................................... 149
Task4 ..................................................................................................................................................................................... 149
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
INTRODUCTION
The objective of IT Workshop is to impart basic computer usage and maintenance skills and to introduce
you to a suite of productivity tools that will aid in your day to day activities.
IT workshop works in a learning-by-doing mode. It concentrates more on hands-on experience for the
participants rather theoretical classes. It enables the participant to make the best use of Microsoft Office
Suite in their day-to-day requirements and make use of it to improve the standards in the educational
environment. The IT Workshop prepares the participant to have a hands-on experience in maintaining and
troubleshooting a PC by themselves.
Hardware comprises all of the physical parts of a computer, as distinguished from the data it contains or
operates on. Software provides instructions for the hardware to accomplish tasks.
Windows is a range of closed source proprietary commercial operating environments for personal
computers and also servers. This range was first introduced by Microsoft in 1985 and eventually has come
to dominate the world of personal computer market. All recent versions of Windows are full-fledged
operating systems.
Linux is a computer operating system. It is among the most famous examples of free software and of open-
source development. Initially, Linux was largely developed and used by individual enthusiasts.
Productivity Tools
Microsoft Office is a suite of productivity programs created by Microsoft and developed for Microsoft
Windows and Apple Macintosh operating systems. In addition to the office applications, it includes
associated servers and Web-based services.
Office is considered to be the de facto standard for productivity programs, and has many features not present
in other suites. However, the reverse is also true, with other programs having capabilities that Office doesn't.
Microsoft Office suite includes Word, Power Point, Excel, Publisher, Outlook in most of its versions.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
PC Hardware
TASK1:
Identification of the peripherals of a computer, components in a CPU and its functions. Draw the block
diagram of the CPU along with the configuration of each peripheral.
COMPUTER HARDWARE
Hardware is the physical appearance of the devices or tools. It is what which we can touch and feel.
Computer Hardware consists of the Monitor, CPU, Keyboard, Mouse and all other devices connected to the
computer either externally or internally.
A typical computer (personal computer, PC) consists of a desktop or tower case (chassis) and the following
parts:
1. CPU The central processing unit contains the heart of any computer, the processor. The processor is
fitted on to a Mother Board. The Mother Board contains various components, which support the
functioning of a PC.
2. System board/Motherboard which holds the Processor, Random Access Memory and other parts,
and has slots for expansion cards
3. RAM (Random Access Memory)- for program execution and short term data-storage, so the
computer doesn't have to take the time to access the hard drive to find something. More RAM can
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
4. Buses : PCI bus, PCI-E bus, ISA bus (outdated), USB, AGP
5. Power Supply - a case that holds a transformer, voltage control and fan
6. Storage controllers, of IDE, SCSI or other type, that control hard disk, floppy disk, CD-ROM and
other drives; the controllers sit directly on the motherboard (on-board) or on expansion cards
7. Video display controller that produces the output for the computer display
8. Computer bus controllers (parallel, serial, USB, Fire wire) to connect the computer to external
peripheral devices such as printers or scanners
9. Some type of a removable media writer:
10. CD - the most common type of removable media, cheap but fragile.
CD-ROM, , CD-RW, CD-R, DVD, DVD-ROM., DVD-RW, DVD-R,
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
12. Tape Drive - mainly for backup and long-term storage
13. Internal storage - keeps data inside the computer for later use.
14. Hard disk - for medium-term storage of data.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
20. Other peripherals: In addition, hardware can include external components of a computer system.
The following are either standard or very common.
TASK2
COMPUTER ASSEMBLING AND TROUBLE SHOOTING
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
How to Build Your Own PC
For many, building a computer is scarier than working on a car. Saving money isn’t the only benefit to
building your own computer. In addition, you will acquire knowledge otherwise required for an upgrade
further down the road. You’ll also get exactly what you want. Before you can sit down at your new
computer desk though, you’ll need to actually build the system. Piecing a computer together may sound like
a tough task, but if you take a couple of precautions, there is nothing to worry about. Most components
include warranties and a toll-free number. If you suspect a particular piece of hardware is causing dissention
in the ranks, don’t hesitate to ask for help.
Before We Begin:
In order to ensure everything goes smoothly, gather a few important tools. A head screwdriver is a must and
needle-nosed pliers are often helpful. Buy quality thermal grease to keep the processor in contact with the
heat sink. If you don’t have an anti-static wrist band, make a conscious effort to touch a ground point every
so often (exposed metal on the case works fine) to keep electrostatic discharge from damaging any of your
components.
You need to make sure your case is ready to accept the insides of a computer. After opening the empty case
(usually accomplished byremoving two screws on one side), lay the case on its side, so the motherboard can
be dropped into place. If the case includes screws and cables, take those out and set them aside. There
should be a set of copper colored spacers in the bag of screws – we’ll use those to mount the motherboard
above the metal plate on the side of the case. You may need to lay your motherboard down in the case to
determine where the copper spacers are needed, but be extra careful – if you add a spacer that doesn’t
correspond to a mounting hole in the motherboard, you risk a short-circuit.
Next, you’ll want to check the thin, metal plate towards the rear of the case that includes holes for the
PS/2, serial, parallel, and USB ports. If it matches the configuration of your motherboard, you’re set.
If not, you’ll need to remove the plate by sliding it out. Again, be careful; the sides of the plate are
sharp. Once the proper plate is in place, set the case aside for a moment and focus on the
motherboard.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
The process isn’t nearly as graceful for Athlon XP owners. In fact, be forewarned that the processor
core is sensitive to pressure, so if you feel you may be pushing too hard to affix the heat sink, take a
quick break to re-evaluate your strength, tough guy. There is only one way that a Socket A heat sink
should fit, so be sure that the larger end of the socket aligns with the cut-out section of the heat sink.
One end will clip easily onto the motherboard, while the other will require more persuasive coercion.
In the following picture, I’ve demonstrated a technique for attaching a heat sink. Use a screwdriver to
push down on the clip while pulling outwards with a set of pliers.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Second, pay close attention to the type of RAM supported by your motherboard. Some boards
support both PC133 and DDR memory, but the majority is constrained to a single standard. If DDR
is your poison of choice, note that the modules will only fit into the 184-pin slots one way. Boards that
support 16-bit RDRAM require that two modules be used at a time. If the board has four slots and
you’ve only got two modules, be sure that the remaining two are terminated with a CRIMM module
(usually included with i850 motherboards). The installation process itself is simple: pull the plastic
clips on each end of the slot, inset the module according to the slot’s keying, and apply equal force to
the entire module until it clicks into place. Repeat, if necessary.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Conventional IDE cables are fine for the most part, but in the interest of cleanliness, we’ve
developed a soft spot for round cables. Not only do these cables take up less room, but they are also
easier to tuck away, promoting better air flow throughout your case.
With the cables out of the way, you can now install your hard disk drive, CD-ROM drive and floppy disk
drive. First, you’ll want to make sure each drive is designated as a ‘master’ or ‘slave’ drive using the
jumpers on the back of each drive. If you’ve got one hard drive and one CD-ROM, you’ll see the best
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
performance from both devices if each is installed onto its own channel. In that case, both drives can be set
as ‘masters.’ With the addition of a CD-RW drive, you would want to assign one drive as a ‘master’ and one
as a ‘slave,’ leaving the hard drive on its own channel.
Now, you’re ready to add a CD-ROM drive. You may have a metal panel preventing you from inserting the
drive into a 5.25" slot. If so, remove the panel by rocking it back and forth until it comes loose. If your case
uses rails, attach them to the drive and slide it into the chassis. Otherwise, use the included screws to secure
the drive.
The floppy drive can be installed using the same method, only use one of the external 3.5" inch bays.
Attach the appropriate cable and secure the drive using the same small screws.
Finally, install your hard disk drive in an internal 3.5" bay. Many cases sport detachable disk drive
bays that often ease installation, but if we were really looking for the easy way out, we would have
picked up a G4 Cube. Attach the ends of each cable to the corresponding drive. For instance, the end
of the primary IDE cable should run to the hard drive. Similarly, the end of the secondary cable
should go to the secondary ‘master’ drive, while the second connector attaches to the secondary
‘slave.’
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Unless your new system is to be used exclusively for business, it’s a safe bet that a new graphics card
will find its way into your AGP slot (the brown one in the middle of the motherboard). Nowadays,
graphics cards are cooled by heat sinks and fans, much like processors. It should come as no surprise,
then, that high-end cards generate lots of heat. When I build a computer, I typically leave the white
PCI slot closest to the video card empty for plenty of air flow. Installing the card itself is a snap –
position the card over the slot and push down gently until it is fully inserted. Use one of the screws
included with the case to secure the card to the chassis. Use the same procedure to install each of your
other cards. If you haven’t yet purchased them, consider an upgraded sound card and network card,
at the least.
>
Step Eight: Connecting the Connectors
In order for your computer to turn on when you hit the power button, you need to connect the switches and
light emitting diodes (LEDs) from your case to the motherboard. The connectors themselves are usually
labeled, but it can be a little harder to locate the pins on the motherboard. Your best source for this data is
the manual included with the board. Once you have the connectors, well, connected, we can move on to the
next step. Don’t worry; we’ll test the lights and switches a little later.Dont forget refer to the motherboard
manual while connecting the connectors
Step Nine: Power supply
We’ve waited a long time for this – simply, I have no desire to play with hardware actively fed by an
electrical socket. I have no desire to look like Carrot Top, so I never add power until I’m done under the
proverbial hood. We’re pretty much done though, so go ahead and connect the large 4-pin powerconnectors
to the hard disk drive and CD-ROM drive. The small 4-pin Molex connector is required for the floppy disk
drive. >
If you’ve got a Pentium 4 processor, not only will you need to connect the ATX power connector, but you’ll
also require a 4-pin 12V auxiliary connector. Athlon XP-compatible motherboards only need power from
the standard ATX connector. At this point, feel free to connect the case’s power supply to a wall socket.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
TASK3
Windows XP Installation:
Windows XP (codename Whistler, also known as Windows NT 5.1) is the latest desktop version of the
Microsoft Windows operating system. It was made publicly available on October 25, 2001. Two editions of
Windows XP are most commonly available: Windows XP Home Edition which is targeted at home users
and Windows XP Professional which has additional features such as dual-processor support and the ability
to join a domain, a grouping of centrally managed Windows computers. The letters "XP" originate from the
word "Experience".
TASK4
BIOS SETUP
Whenever we start the system, we can enter into the BIOS Setup Utility by pressing Del Key.
Sometimes an F1 or F8 key has to be instead of DEL key, depending on the type of BIOS.
When we enter in to this utility we get these following menus/services, depending upon our mother board.
Main
In main Menu, we can view the details such as BIOS Version, Processor Type, and Speed, RAM Size and
the system bus speed and memory speed.
We can change the settings like language system time and date. We can even change the hyper threading
facility if the processor supports this technology.
Advanced:
We must be very careful when we change these settings otherwise it may cause our system to malfunction.
Here, we can change the settings of PCI devices, Floppy Drives configuration and chipset, USB peripheral
devices and even monitoring the Hardware.
Security:
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
We can set the supervisor password, to restrict unauthorized users to enter the BIOS setup utility.
User password can also be set to restrict the unauthorized persons to boot or use the system.
What is a Password?
We can even set the Chassis Intrusion to protect the system devices from removing the components of the
system.
Power:
The power settings protect the system from power failures by configuring the ACPI.
For example, after power failure we can stay off the system or Power on the system or else we can even
make the system to restore its previous state by selecting the appropriate options.
Boot:
Disk formatting is nothing but creating new tracks and sectors on a magnetic storage device.
Why Disk Formatting?
Every disk must be formatted before the first usage. Because then only we can address each and every
memory unit.
How to Disk Format?
FDisk is a windows command, throw which we can create partitions on a hard drive so that we can format
each drive and use the same.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Format
Format is an external command which will create the actual tracks and sectors on a magnetic drive.
Disk Manager
Disk Manager is a tool to manage a magnetic drive, through which we can create the partitions as well as
formatting the particular partitions at a time.
Partition Magic
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Partition Magic is also a tool to do the same thing but it gives its services available in GUI which is more
user friendly.
Actually Linux can be installed in two different modes, based on the requirement of the user.
Graphical Mode.
Text Mode.
Graphical Mode - In this you can work with Graphical Interface (i.e., it supports mouse and Icons ). By
clicking the icon with the mouse, you can perform related action.
Text Mode - In this mode you have to interact with character based interface ( i.e., Command prompt ).
To install Linux in Text Mode Type : Linux text and Press Enter.
After selecting the mode of installation, it goes on detecting the basic input output devices and file systems.
And at last it displays a screen asking whether to test the CD inserted to install or to Skip the test process.
Otherwise we can test total installation CD’s.
On completion of testing the CD’s, it goes on loading an installation program “ANACONDA” which helps
us in the installation of the remaining part.
2 WELCOME TO INSTALLATION PROCESS
It starts with the display of the welcome screen containing the online help , and four buttons to help
us in the different activities in the installation process.
Hide Help/Show Help - Which helps you in guiding the installation process, which can be activated
or hidden.
Release Notes - Which contain the Basic Hardware Requirements that are necessary for the installation of
the Red Linux 9.0 and some other post-installation issues.
Next - This button allows you to go to next step of the installation process by the current step.
Back - This button allows you to move back of the installation process to make any changes that previously
mentioned.
3. SELECTING A LANGUAGE
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
It displays a screen containing various languages, to select a language you would like to use during this
installation process.
4. CONFIGURING KEYBOARD AND MOUSE
Here we need to select our own keyboard and mouse layouts which will help you to interactively proceed in
the installation process.
At this point of time it displays you the different types of keyboard layouts. So that you can select your
desired one that you would like to use for the system.
And also choose the appropriate Mouse for the system, based on the following:
There are different installation types that are available which will enable you to select that will best meet
your needs.
To remove only Linux partitions remove all Linux partitions on this system.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
To remove all partitions on your hard drive, select remove all partitions on this system.
To retain your current data and partitions, assuming you have enough free space available on your
hard disk, select Keep all partitions and use existing free space.
You can review the partitions that are automatically created using the check box Review (and modify if
needed) the partitions created.
MANUAL PARTITIONING
– To partition manually, choose the Disk Druid partitioning Tool. For the manual partitioning of Linux
installation you need assign disk space for the three compulsory file systems, they are /boot, /(root), swap
/boot
- This type of partition should of ext3 file system type. For this /boot partition a minimum of about 150MB
is necessary.
Swap
The swap partition should of swap file system type having a minimum of the double the RAM available on
your system.
To add a new partition Just click on the NEW button and select your mount point (i.e., directory of partition
ex: /, /boot, /user, etc., ), select your file system type among the available i.e. Ext3, ext2, swap, vfat, etc., ),
and you have different additional size options like Fixed Size, Fill all space up to(MB), Fill to maximum
allowable size. And also you can make a partition to be primary partition and check for the bad blocks on
each partition.
7. BOOT LOADER CONFIGURATION
The GRUB boot loader will allow you to boot other operating systems. It will allow you to select an
operating system to boot from the list. To add another operating system. You can also add other operating
systems that are not detected automatically.
For greater system security, you can set your password for the boot loader. To avoid unauthorized changes
to the system.
You can also change the type of boot loader other than GRUB, among the available like LILO. And also
you can avoid to install boot loader.
8. NETWORK CONFIGURATION
With this option you can set your Network devices manually or using DHCP (Dynamic Host Configuration
Protocol) which will automatically takes default IP address, and Net mask addresses. The DHCP also set
your Hostname.
9. FIREWALL CONFIGURATION
A firewall configuration is set between yours computer and network. And decides which resources of your
computer are accessible by the remote users on the network. On proper configuration of firewall we can set
different security levels for the system.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
By using firewalls we can avoid any entrusted passage of data and also we can set our own protocol
supports.
10 . ADDITIONAL LANGUAGE SUPPORT
This screen shows different additional languages for installation. These additional languages can be used to
switch after installation process.
11. SELECTING A TIME ZONE
To set our time zone we can do it either by selecting computers physical location or by your time zone’s
offset from Universal Time, Coordinated. This screen shows two tabs namely location and UTC Offset.
First tab offers you the ability to configure by location. Second tab allows to set UTC Offset.
12. ROOT PASSWORD SETTINGS
The Root password is for avoiding any unauthorized access to Administration settings .
13. PERSONAL DESKTOP DEFAULTS
With this screen we can accept the default package list or we can customize the set of packages to be
installed.
On selecting the customized set of packages we can select our own selection of desktops, applications,
servers, development tools and system tools to be installed among the available.
And also we have an option to select a minimal set of packages and all the packages that are available which
will install complete set of packages(about 1400) which will require about 4850 MB of space.
15. ABOUT TO INSTALL
This is the final step to make any modifications to the installation process. Once you click the next button
you cannot do any modifications.
16. INSTALLING THE PACKAGES
First it formats the file systems and copies the files to our hard disk to continue installation. Then there starts
the installing of packages which may take up to several minutes of time during which we need to insert next
two CD ROMs to complete the installation process.
Here the prompts you to create a Linux boot disk on your choice for your further requirement.
18. CONFIGURING YOUR DISPLAY
At this stage you need to select your video card type and monitor configuration and also you restore to the
original values.
19. END OF INSTALLATION PROCESS At the end of the installation process it will remove all the media
that is used by the installation. And reboots your system again.
Screenshots
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Before we start, here are some ground rules. Anything that is red means to type it, if you see brackets
<option> it means you will have to make a decision (an option). Don't type the brackets < > for the option!
Look for italic words for they will give a clue of what commands I'm talking about.
Login
The first time you login to Linux you will have to login as root
login:root
Then it will ask you for a password, and again to verify. Now you are in the root account.
What's the root account? Root is where the user has full access to everything on the system. Normally, the
root account is only used when performing system administration tasks which includes shutting down.
d="4.2">
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Exiting, restart, and shutdown
#shutdown -h now
#reboot
#exit
TASK5
Hardware Troubleshooting:
Basic troubleshooting:
Sometimes things do not work exactly as planned at this point. Sometimes the system will not power on at
all. Sometimes it will power on, but you get no video. Sometimes you will get beep codes. Sometimes you
hear the fans, but the rest of the PC just sits there and does nothing. If things didn't go according to plan,
troubleshoot the system. Walk mentally through the boot process and check all hardware as it goes. Think
like the computer thinks, if you know what I mean. Here is a list of some of the more common problems.
1. The power does not even turn on. This sometimes happens on ATX machines and it usually tracks
down to the fact that the power switch is not properly connected to the motherboard or it is not
connected at all. Find the power switch lead and make sure it is connected to the motherboard, as
described in Step 11. It’s a possibility that simply reversing the lead will do the trick. If this is the
not the case, then make sure the motherboard is not grounded somehow. Make sure that the board is
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
not touching the case (this is what the spacers are for). Make sure that none of the screws that hold
the board in place is touching anything metal or any of the electrical pathways on the motherboard.
If you have any doubt on this, you can remove each screw one at a time and place a washer on them.
You do not need to remove the motherboard to do this.
2. The PC boots, but it is giving beep codes. This is actually better than having to track everything
down on your own, because at least the PC is giving you a hint as to what is wrong. You can also use
the PC Mechanic Beep Codes E-book available on the PC Mechanic CD to track it down for other
BIOS versions. Often, these beep codes will not tell you exactly what the problem is, but will point
you at the trouble device. This information will then get you pointed in the correct direction.
3. The fans come on, but you get no video or beeps. Sometimes, this is because some key component
may not be plugged in well or may not be operational. Check the memory modules and the processor
to be sure they are firmly installed. You might want to make sure the processor is actually working.
One way that I have used to see if a processor is working is to remove or unplug the CPU fan and
place your fingers on the CPU to see if it heats up real fast. If it does, its OK and don’t let it run this
way for long. If it remains at room temperature for awhile, then there is no juice going through the
processor and it may need replacing. The keyboard doesn’t seem to work. This one doesn’t happen
too often, but if it does, your two trouble sources will be the keyboard itself or the keyboard
controller on the motherboard. Hope it isn’t the second one.
Software Troubleshooting:
BIOS SETUP & DISK FORMATTING
BIOS SETUP
What Is BIOS?
Why BIOS?
To run any system, there must be default settings so that the system can load those settings when it is started
or restarted. For a computer system the basic I/O settings and boot process details are necessary to start a
system.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
All these default, predefined settings will be loaded in the BIOS and whenever we start the system, these
settings will be loaded.
Whenever we start the system, we can enter into the BIOS Setup Utility by pressing Del Key. Sometimes an
F1 or F8 key has to be instead of DEL key, depending on the type of BIOS.
When we enter in to this utility we get these following menus/services, depending upon our mother board.
In main Menu, we can view the details such as BIOS Version, Processor Type, and Speed, RAM Size and
the system bus speed and memory speed.
We can change the settings like language system time and date. We can even change the hyper threading
facility if the processor supports this technology.
We must be very careful when we change these settings otherwise it may cause our system to malfunction.
Here, we can change the settings of PCI devices, Floppy Drives configuration and chipset, USB peripheral
devices and even monitoring the Hardware.
Security
We can set the supervisor password, to restrict unauthorized users to enter the BIOS setup utility.
User password can also be set to restrict the unauthorized persons to boot or use the system.
What is a Password?
We can even set the Chassis Intrusion to protect the system devices from removing the components of the
system.
Power
The power settings protect the system from power failures by configuring the ACPI.
For example, after power failure we can stay off the system or Power on the system or else we can even
make the system to restore its previous state by selecting the appropriate options.
Boot
Silent boot : If this option is enabled it displays only the OEM logo and in the background POST(Power on
Self Test) completes. If this is disabled, instead of LOGO, we can view POST messages
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Rapid BIOS Boot: By enabling this option it will decrease the time needed to boot the by skipping some
unnecessary tests.
Here, we can also set the boot sequence from the available devices by selecting Boot Device Priority.
We can even view the Hard Drives and any removable devices and attached to the system.
Exit
By selecting the appropriate options we can exit from the BIOS setup like exiting the setup by saving or
discarding the changes or even by loading optimal or default values.
TASK1
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
oIf the connection is a local area connection, on the General tab, under This connection uses
the following items, click Internet Protocol (TCP/IP), and then click Properties.
o If this is a dial-up, VPN, or incoming connection, click the Networking tab. In This
connection uses the following items, click Internet Protocol (TCP/IP), and then click
Properties.
4. Do one of the following:
o If you want IP settings to be assigned automatically, click Obtain an IP address
automatically, and then click OK.
o If you want to specify an IP address or a DNS server address, do the following:
▪ Click Use the following IP address, and in IP address, type the IP address.
▪ Click Use the following DNS server addresses, and in Preferred DNS server and
Alternate DNS server, type the addresses of the primary and secondary DNS
servers.
5. To configure DNS, WINS, and IP Settings, click Advanced.
Notes
• To open Network Connections, click Start, point to Settings, click Control Panel, and then double-
click Network Connections.
• You should use automated IP settings (DHCP) whenever possible, for the following reasons:
o DHCP is enabled by default.
o If your location changes, you do not have to modify your IP settings.
o Automated IP settings are used for all connections, and they eliminate the need to configure
settings such as DNS, WINS, and so on.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Set up my connection manually
o If you are connecting to your ISP using a standard 28.8 Kbps, 56 Kbps, or ISDN modem,
click Connect using a dial-up modem, click Next, and follow the instructions in the wizard.
o If your DSL or cable modem ISP connection requires a user name and password, click
Connect using a broadband connection that requires a user name and password, click
Next, and then follow the instructions in the wizard.
o If your DSL or cable modem ISP connection is always on and does not require you to type a
user name and password, click Connect using a broadband connection that is always on,
click Next, and then click Finish.
o Click Next, and then click Finish. Insert the CD provided by your ISP and follow the
instructions.
o To create an Internet account using MSN Explorer, click Get online with MSN, and then
click Finish. Follow the instructions in MSN Explorer.
o To choose an ISP, click Select from a list of ISPs, click Finish, and then double-click Refer
me to more Internet service providers. Follow the instructions in the wizard.
TASK2
Internet Addresses
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
• Tofind a web document, follow a link or key in a web address (URL)•Highlighted words or text in a
WWW document
• Moves you to a place within same document, or to a web page elsewhere
Proxy Server
• A server that sits between a client application, such as a Web browser, and a real server.
• It intercepts all requests to the real server to see if it can fulfill the requests itself. If not, it forwards the
request to the real server.
Specifying Proxy Settings in Internet Explorer
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Adding a Favorite
Tasks
TASK3
Search Engines and Netiquette:
Search Engines
• Software that lets a user specify search terms. The search engine then finds sites that contain those terms.
• Over time a search engine builds a database of searchable terms that can be matched to web sites.
• Examples:
–www.google.com
–www.altavista.com
–www.AskJeeves.com
Query
• Terms entered into a form of a search engine’s web page.
• Not necessarily phrased as a question since words such as “what”, “a”, “is” etc. would be ignored.
• Enter specific keywords.
• Make sure your spelling is correct.
Methods of searching
• Use more than one word.
• Use quotes
• Use boolean queries
• Use + sign or - sign
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
• Use * (wild card)
Boolean Query
AND, OR, NOT
• A AND B
–results in sites containing both A and B
• A OR B
–results in sites containing A or B, or both A and B
• A AND NOT B
–results in sites containing A and excludes sites containing both A and B.
Stemming
Some search engines will return results that include variations on the endings of words.
• computer
• computers
• computed
Using boolean queries
• shelf AND ice
–results in URLs of pages containing the word “shelf” and the word “ice” (in any order).
• shelf OR ice
–Results in URLs of pages containing the words “shelf” and ”ice”, or just the word “shelf” or just the word
“ice”.
• computers NOT notebook
–Results in URLs of pages containing the word “computers” but not containing the word “notebook”.
Metasearch Engines
• Performs a search by using more than one search engine to do the search.
–www.metasearch.com
–www.metacrawler.com
–www.dogpile.com
–www.infind.com
White Pages
• Used
for finding individuals
–www.bigfoot.com
–www.four11.com
–www.whowhere.com
Types of Links
• Text Hyperlink
• Image Hyperlink
• Mailto Hyperlink – launches a mailer
• Intra-document Link (Internal link) - links to another location within the same page.
• Right-mouse click on the link of interest and then select “Open in new window”.
• Click on the original browser window on the task bar below in order to continue viewing the originalweb
page while that page loads.
• This speeds up your search since you can view one page while another is loading.Tasks
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
"Netiquette" is network etiquette, the do's and don'ts of online communication. Netiquette covers both
common courtesy online and the informal "rules of the road" of cyberspace.
What is Netiquette?
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
all readers will agree with -- or care about -- your passionate arguments.Ensure your message is worth the
time it takes to open it. Before you copy people on your messages, ask yourself whether
they really need to know. If the answer is no, don't waste their time. If the answer is maybe, think twice
before you hit the send key. Take advantage of your anonymity. You won't be judged by color, weight, age
or dress sense. You will, however, be judged by the quality of your writing. So spelling and grammar do
count.
Know what you're talking about and make sense. Pay attention to the content of your writing. Ensure your
notes are clear and logical.
Be pleasant and polite. Avoid offensive language, and don't be confrontational for the sake of confrontation.
If you must swear, think up creative alternatives
The strength of cyberspace is in its numbers. The Internet itself was founded and grew because academics
wanted to share information. Don't be afraid to share what you know.
If you ask a question and anticipate a lot of answers, it’s customary to request replies by email instead of to
the group. Share the results of your questions with others, so everyone benefits from the experts who took
the time to write to you.
If you’re an expert, or you've researched a topic that you think would be of interest to others, write it up and
post it. Sharing your knowledge is fun. And it makes the world a better place
opinion without holding back any emotion.
Netiquette does not forbid flaming. Flaming is a long-standing network tradition (and Netiquette never
messes with tradition).
Netiquette does forbid the perpetuation of flame wars that can dominate the tone and destroy the
camaraderie of a discussion group.
While flame wars can initially be amusing, they’re an unfair monopolization of bandwidth. Some people in
cyberspace have more power than others. There are wizards in MUDs (multi-user dungeons), experts in
every office, and system administrators in every system.
TASK 4
Cyber hygiene:
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
• Self-replicating Viruses that reside in the active memory of a computer.•Worms Send themselves out to the
Internet from infected systems. •Either include tiny e-mail server or search for unprotected shared network
drives to unload.
Trojan Programs
• Programs that installs themselves stealthly via Internet & provide access for malicious use•Threats enabled
by (/through) Trojans
–DDos attacks
–Data stealing
–Distributed spam eMails
• Do not replicate
Spyware / Adware
• Cookies – Track you online
• Browser Hijackers – Changes default home page
• Tracking Cookies – Gathers info of web usage
• Trickles – Reinstalls spyware when deleted
• Keyloggers – Records anything you type!
• Data-Mining
• List goes on...
Other Threats
• Phishing
–Confidential information stealing by fraud emails & web sites (author falsified)
–Several millions of Phishing messages have been sent world wide
–Fastest growing threat today
• SPIM
–Instant Messaging SPAM
–Estimated: 4 billion SPIM's during 2004
Diagnosing Infections
• Slow computer, system reboots
• Mouse moves by itself
• Browser goes to unexpected web sites
• Slow internet access
• Endless popup ads
• New desktop toolbars
Diagnosing Infections
• Disabled antivirus scanner or firewall
• Check startup program group regularly for software you didn’t install
• Check Add/Remove programs for software you didn’t install (make a list of installed items on a new
machine and check the list regularly)
Diagnosing Infections
• Check running services monthly
• Check running processes in Task Manager
• Monitor open ports
• Monitor outgoing and incoming connections
Updating
• Few pieces of software are perfect. Many have security flaws that can allow an intruder to take over your
system.
• When the flaws are discovered, the vendor generally fixes them and places patches on their Web sites.
–https://www.Microsoft.com/Security (Windows, Internet Explorer, Outlook, etc.)
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
–http://www/redhat.com/solutions/security/ (Red Hat Linux)
–http://securityresponse.symantec.com/ (Norton Anti-Virus)
• Some vendors provide a tools for Automatic Updates
Anti-Virus Software
• Examples
–Norton Anti-Virus
–Mc Afee Anti-Virus
–AVG Anti-Virus
AntiSpyware Tools
• Only Software tools exist at the moment
• Programs are trying to detect distinctive signs that spyware places on system
• Popular software
–Lavasoft: Ad-Aware SE
–Spybot: Search & Destroy
Firewalls
• Monitor network traffic and Block access by configured rules
• Software Vs. Hardware
• Stateful inspection
–Examine the headers & content of each passing network packet
Productive Tools
MS Publisher
MS Publisher:
Microsoft Publisher helps us to create, customize, and publish materials such as newsletters, brochures,
flyers, catalogs, and Web sites. In this module, we will learn create and publish web pages using MS
Publisher.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
• Adding Text
• Selecting Text
• Editing Text
• Changing Type Specifications
• Cutting, Copying, and Pasting Text
A text box is an area that contains text only and can be moved to any part of the publication. Type within a
text box can fill only the area of the text box, not the entire publication. Before typing text, a text box must
be created.
Adding Text
Typing large volumes of text in Publisher is not advised. But using Publisher to type headlines, titles,
captions, headers and footers (type which is usually set off with a different style or placement) is easy.
If you need to type or edit a large amount of text, you may want to use Word.
Text files from Publisher-compatible word processing programs such as Microsoft Word can be placed into
a Publisher document. Text with little or no formatting generally works best. After placing the text into
Publisher you can edit, format and manipulate it using the same methods as you would for text typed
directly into Publisher.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Pasting text into Publisher that has been copied from another file can be done using the Paste Special
feature. There are various ways that your text can be pasted. Your options when using Paste Special are as
follows:
Option Description
Microsoft Office Word Inserts the copied text from Word and gives you the ability to edit it from
Document Object Publisher using Word.
Unformatted Text Inserts the copied text, removing any existing formatting.
New Table Inserts the copied text as a new Publisher table.
New Text Box Inserts the copied text as a new Publisher text box.
Picture Inserts the copied text as a new Publisher picture frame. You can select
whether you want to use a Windows Metafile or an Enhanced Windows
Metafile.
NOTE: This text can not be edited.
Inserts the copied text, preserving existing formatting.
Formatted Text
HTML Inserts the copied text as HTML.
When you paste text, Publisher will create the text boxes necessary to accommodate it or will allow you to
create the text boxes. These two options are described here:
Option Description
Autoflow allows you to place text and have Publisher create the text boxes as needed.
Autoflow Text will flow automatically into each text box on the page and onto subsequent pages
(added if necessary).
Manual text flow requires you to create the text boxes and add the pages necessary to
Manual
accommodate the text you are placing. If you choose to use the manual text flow
Flow
option, be sure to have the Connecting Frames toolbar displayed.
To add text using Paste Special:
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
3. In Publisher, from the Edit menu, select Paste Special...
The Paste Special dialog box appears.
5. Click OK
The text is now pasted.
4. Click OK
If the text file is larger than the text box, a confirmation dialog box appears asking you to choose
between auto or manual flow.
Selecting Text
You will select text when you want to change its type specifications, cut or copy it, or delete it. Use the
Select Objects tool to select text for editing.
HINT: If you have problems selecting the first character at the edge of a text block, start with the last
character and drag to the first character.
Editing Text
If you make a mistake while typing, you can always go back and fix it. Editing text in Publisher is much like
editing text in a word processor. You have the following options when editing text:
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
• To insert text, simply type and text will appear at the insertion point
• To delete the selected text, press [Delete]
• To delete text to the right of the insertion point, press the [Delete] key
• To change type style, select the appropriate options from the Formatting toolbar.
For more information, see Changing Type Specifications.
• To move or duplicate the text, from the Edit menu, select Cut, Copy, or Paste.
For more information, see Cutting, Copying, and Pasting Text.
If you run a typical business, you probably create certain publications — such as newsletters, flyers,
postcards, and gift certificates — over and over again. While each new version is unique, some elements
remain consistent, like your company name and address.
In a monthly newsletter, for example, much of the layout stays the same, but the content of the newsletter
changes for each version.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
copy of the template file, make the changes that you want, and then save it again as a template. You can also
create categories for your templates in order to organize them in the New Publication task pane.
You can save time by designing a master publication that reflects your company brand and identity and then
saving it as a template. Then, each time you want to create a new version, you can use the template and add
only the information that is unique to that version. Using a template for a publication that you regularly
produce not only saves time but also ensures quality and consistency.
There are many ways to create a publication in Publisher. Publisher offers many designs that are like
templates, but with dynamic features that make it easy to change the design, layout, colors, and other
elements. You can:
Use a Publisher Master Design Set to promote a consistent company identity.
Use one of the publication wizards to create exactly the type of publication you want, such as a
calendar, newsletter, or postcard.
You can even design a publication by using a design set or publication wizard and then save it as a template.
This article is about how to save a publication as a template and work with template files (.pub) that are
located on your computer.
For more information about how to design a publication to save as a template, read about creating branded
templates for your business from scratch in Publisher.
For information about downloading a template from the Microsoft Office Online Web site, click
Downloading Office Online templates in the See Also section of this article.
The destination folder changes to the default template location (C:\Documents and Settings\user
name\Application Data\Microsoft\Templates, if you haven't changed the location in Microsoft Word).
You need to save your template in this folder if you want it to appear on the right side of the New
Publication task pane.
4. In the File name box, type a name for the template.
5. Click Save.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Note If you save a publication template to a location other than the default template location, it is not
available in the New Publication task pane, and you cannot use it as a template.
1. On the File menu, click New.
2. In the New Publication task pane, under New from a design, click Templates, and then click the
template that you want to use.
3. Add the content that you want, and make any changes that you want in the new version of your
publication.
4. When you want to save this version of the publication, click Save As on the File menu.
5. Save the publication as a regular Publisher file in any location that you want.
Change a template
This procedure works only if you already created a publication template in Publisher and saved it to the
default template location.
Note If you save a publication template to a location other than the default template location, it is not
available in the New Publication task pane, and you cannot use it as a template.
1. On the File menu, click New.
2. In the New Publication task pane, under New from a design, click Templates.
3. In the Preview Gallery, click the template that you want to change.
4. Make the changes that you want.
5. On the File menu, click Save.
6. In the Save as type box, click Publisher Template.
7. Click the name of the template that you changed.
8. Click Save.
9. When you are asked if you want to replace the existing file, click Yes.
By default, templates that you save to the default templates folder appear in the My Templates category
under Templates in the New Publication task pane.
You can organize your templates into additional categories under Templates by adding a value to the
Category property for the template file.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
1. On the File menu, click New.
2. In the New Publication task pane, under New from a design, click Templates, and then click the
template that you want to categorize.
3. On the File menu, click Properties, and then click the Summary tab.
4. In the Category box, type the name of the category that you want to create.
5. Click OK.
6. On the File menu, click Save.
7. In the Save as type box, click Publisher Template.
8. Click the name of the template that you categorized.
9. When you are asked if you want to replace the existing file, click Yes.
Layouts
Layout guides allow you to create a grid of horizontal and/or vertical lines automatically instead of
manually. This can be helpful when creating business cards or note cards.From the Arrange menu, select
Layout Guides...The Layout Guides dialog box appears.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
1. Select the Grid Guides tab
2. Under the Column Guides section, in the Columns text box, use the nudge buttons to add/delete
columns in the grid
3. Under the Row Guides section, in the Rows text box, use the nudge buttons to add/delete rows in the
grid
4. To display a line between column and row borders, select Add center guide between columns and
rows
• Inserting Pages
• Removing Pages
Inserting Pages
Your page insertion options depend on whether you are viewing your publication in Two-Page Spread view
or as individual pages.
1. Place the insertion point in the page before or after where the additional pages will be inserted
2. From the Insert menu, select Page...
The Insert Page dialog box appears.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
3. In the Number of new pages text box, type the number of pages to be inserted
4. To insert the pages before the currently displayed page, select Before current page
To insert the pages after the currently displayed page, select After current page
5. Click OK
The pages are inserted.
When working with the Two-Page Spread view, you can insert new pages to the left or right of the two-page
spread or between the two pages.
1. Place the insertion point in the page before or after where the additional pages will be inserted
2. From the Insert menu, select Page...
The Insert Page dialog box appears.
3. In the Number of new pages text box, type the number of pages to be inserted
4. To insert the pages before the left page, select Before left page
To insert the pages after the right page, select After right page
To insert the pages between the left and right pages, select Between pages
5. Click OK
The pages are inserted.
Removing Pages
Your page removal options depend on whether you are viewing your publication in Two-Page Spread view
or as individual pages.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
2. From the Edit menu, select Delete Page...
The page is removed.
Create a hyperlink
In Microsoft Office Publisher 2003, you can create hyperlinks to files, Web pages, e-mail addresses, and
other pages in a Web publication by using the Insert Hyperlink button on the Standard toolbar.
You can also create a hyperlink to a specific location on a Web page (sometimes called inserting a
bookmark) by using HTML code fragments. To learn more about this procedure, see the topics listed in the
See Also section, which is visible when you are connected to the Internet.
To follow a hyperlink after you insert it, hold down CTRL while you click the linked text or picture.
Create a hyperlink to a file
1. Select either text or a picture.
2. On the Standard toolbar, click Insert Hyperlink .
3. Under Link to, click Existing File or Web Page.
4. Do one of the following:
• To select a file from your My Documents folder, click Current Folder.
• To select a file that you were recently working in, click Recent Files.
5. Browse to and select the file or page that you want.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
2. Select the URL of the Web page, and then press CTRL+C to copy it.
3. In Publisher, select either text or a picture.
4. On the Standard toolbar, click Insert Hyperlink .
5. Under Link to, click Existing File or Web Page.
6. Click in the Address box, and then press CTRL+V to paste the URL.
Note If you recently visited the Web page that you want to link to, you can start with step 3. In the Insert
Hyperlink dialog box, click Browsed Pages. In the list of Web pages, click the URL that you want.
Create a hyperlink to an e-mail address
1. Select either text or a picture.
2. On the Standard toolbar, click Insert Hyperlink .
3. Under Link to, click E-mail Address.
4. Either type the e-mail address that you want in the E-mail address box, or select an e-mailaddress
from the Recently used e-mail addresses box.
5. In the Subject box, type the subject of the e-mail message.
Note Some Web browsers and e-mail programs might not recognize the subject line.
Create a hyperlink to another page in your document
1. Select either text or a picture.
2. On the Standard toolbar, click Insert Hyperlink .
3. Under Link to, click Place in This Document.
4. Select the page that you want.
After you have created a Web publication in Publisher, your next step is to publish it. You can publish a
Web site to a Web server (Web server: A computer that hosts Web pages and responds to requests from
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
browsers. Also known as an HTTP server, a Web server stores files whose URLs begin with http://.), a
network server, a File Transfer Protocol (FTP) (FTP: A communication protocol that makes it possible for a
user to transfer files between remote locations on a network. This protocol also allows users to use FTP
commands, such as listing files and folders, to work with files on a remote location.) server, or to a folder on
your own computer.
Publish a Web site to a location on the Internet or on a network
To publish your Web site on the World Wide Web (WWW) (World Wide Web (WWW): The multimedia
branch of the Internet that presents not only text, but also graphics, sound, and video. On the Web, users can
easily jump from item to item, page to page, or site to site by using hyperlinks.), you need to subscribe to a
Web hosting service. A Web hosting service provides Internet access and storage space on Web servers.
Before you can publish your Web site, you should ask your Internet Service Provider (ISP: A business that
provides access to the Internet for such things as electronic mail, chat rooms, or use of the World Wide
Web. Some ISPs are multinational, offering access in many locations, while others are limited to a specific
region.) or system administrator for the Uniform Resource Locator (URL) (Uniform Resource Locator
(URL): An address that specifies a protocol (such as HTTP or FTP) and a location of an object, document,
World Wide Web page, or other destination on the Internet or an intranet, for example:
http://www.microsoft.com/.) of the Web site where you can save files.
1. On the File menu, click Publish to the Web.
2. In the File name box in the Publish to the Web dialog box, type the URL of the Web ornetwork
server where you want to save your Web site, and then click Save.
3. If prompted, type your user name and password, and then click OK.
The directory associated with your URL will appear in the Publish to the Web dialog box.
4. Double-click the folder where you want to save your Web site.
5. In the File name box, select index as the default name for your home page, and then click Save.
6. When prompted, click OK.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
4. Click Save.
Note If your Internet Service Provider (ISP) requires you to use a specific program to upload your Web
site, or if you are publishing your Web site to a corporate intranet, you may need to save a version of your
Web site in a specific HTML (HTML: The standard markup language used for documents on the World
Wide Web. HTML uses tags to indicate how Web browsers should display page elements such as text and
graphics and how to respond to user actions.) file format and follow a different procedure to publish your
Web site. Ask your ISP or your system administrator for information about how to save and publish your
Web site.
Create a website for your college. The website should have the following pages
NOTE: Resources like and images and documents are available in Website Content Folder
Homepage
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
MICROSOFT Excel
TASK1
Microsoft Excel is a spreadsheet program. It features an intuitive interface, calculation and graphing tools. These
tools could be used for business financial analysis and other administrative tasks. These features have made Excel
one of the most popular microcomputer applications to date. In this module you will master Microsoft Excel.
Merge cells
When you merge two or more adjacent cells, the cells become one merged cell, and the contents of
the upper-left cell are displayed in the center of the merged cell, as shown in the following example.
Using predefined border styles, you can quickly add a border around cells or ranges (range: Two or
more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
1. To apply a new or different border style, click the arrow next to Borders on the Formatting toolbar,
and then choose a border style from the palette.
Tip To apply a custom border style or a diagonal border, click Cells on the Format menu. On the
Border tab, click the line style and color that you want, and then click one or more buttons to
indicate the border placement. Two diagonal border buttons are available under Border.
2. To remove cell borders, click the arrow next to Borders on the Formatting toolbar, and then
click No Border on the palette.
AutoFill Data
Automatically repeat items already entered in the column
If the first few characters that you type in a cell match an existing entry in that column, Microsoft
Excel automatically enters the remaining characters for you. Excel automatically completes only those
entries that contain text or a combination of text and numbers. Entries that contain only numbers,
dates, or times are not completed.
Do one of the following:
1. To accept the proposed entry, press ENTER.
2. The completed entry exactly matches the pattern of uppercase and lowercase letters of the
existing entry.
3. To replace the automatically entered characters, continue typing.
4. To delete the automatically entered characters, press BACKSPACE.
Use the fill handle to fill data
You can use the Series command (point to Fill on the Edit menu, and then click Series) to fill data
into worksheet cells. You can also have Excel automatically continue a series of numbers, number and
text combinations, dates, or time periods, based on a pattern that you establish. However, to quickly
fill in several types of data series, you can select cells and drag the fill handle (fill handle: The small
black square in the lower-right corner of the selection. When you point to the fill handle, the pointer
changes to a black cross.) .
The fill handle is displayed by default, but you can hide it.
1. On the Tools menu, click Options.
2. On the Edit tab, do one of the following:
• To hide the fill handle, clear the Allow cell drag and drop check box.
• To display the fill handle, select the Allow cell drag and drop check box.
To avoid replacing existing data when you drag the fill handle, make sure that the Alert before
overwriting cells check box is selected. If you don't want to get a message about overwriting
nonblank cells, you can clear this check box.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Fill formulas into adjacent cells
1. Select the cell that contains the formula that you want to fill into adjacent cells.
2. Drag the fill handle (fill handle: The small black square in the lower-right corner of the selection.
When you point to the fill handle, the pointer changes to a black cross.) across the cells that
you want to fill.
3. You can use the Auto Fill Options button , which appears after you drag the fill handle, to
choose how to fill the selection. For example, you can choose Fill Formatting Only or Fill
Without Formatting.
To fill in increasing order, drag down or to the right. To fill in decreasing order, drag up or to the
left.
Fill data by using a custom fill series
To make entering a particular sequence of data (such as a list of names or sales regions) easier, you
can create a custom fill series. A custom fill series can be based on a list of existing items on a
worksheet, or you can type the list from scratch.
Use a custom fill series based on an existing list of items
1. On the worksheet, select the list of items that you want to use in the fill series.
2. On the Tools menu, click Options, and then click the Custom Lists tab.
3. Verify that the list of items that you selected is displayed in the Import list from cells box, and
then click Import.
The items in the list that you selected are added to the Custom lists box.
4. On the worksheet, click a cell, and then type the item in the custom fill series that you want to use
to start the list.
5. Drag the fill handle (fill handle: The small black square in the lower-right corner of the selection.
When you point to the fill handle, the pointer changes to a black cross.) across the cells that
you want to fill.
Use a custom fill series based on a new list of items
1. On the Tools menu, click Options, and then click the Custom Lists tab.
2. In the Custom lists box, click New list, and then type the entries in the List entries box,
beginning with the first entry.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Press ENTER after each entry.
3. When the list is complete, click Add.
4. On the worksheet, click a cell, and then type the item in the custom fill series that you want to use
to start the list.
5. Drag the fill handle across the cells that you want to fill.
You can specify up to three conditions. If none of the specified conditions are true, the cells
keep their existing formats.
Note Using multiple conditions If more than one specified condition is true, Microsoft Excel
applies only the formats of the first true condition, even if more than one condition is true.
Copy formats to other cells
1. Select the cells that have the conditional formats you want to copy.
2. On the Formatting toolbar (toolbar: A bar with buttons and options that you use to carry out
commands. To display a toolbar, click Customize on the Tools menu, and then click the
Toolbars tab.), click Format Painter , and then select the cells you want to format.
Change or remove a conditional format
Do one or more of the following:
1. To change formats, click Format for the condition you want to change.
2. To reselect formats on the current tab of the Format Cells dialog box, click Clear and select
new formats.
3. To remove one or more conditions, click Delete, and then select the check box for the
conditions you want to delete.
Tip
To remove all conditional formats as well as all other cell formats for selected cells, point to Clear
on the Edit menu, and then click Formats.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
2. On the Format menu, click Cells.
3. On the Number tab, in the Category list, click Date or Time.
4. In the Type list, click the format that you want to use.
Dates or times that you type into formatted cells will be displayed in the format that you selected.
1. AM and PM If the format contains an AM or PM, the hour is based on the 12-hour clock, where
"AM" or "A" indicates times from midnight until noon and "PM" or "P" indicates times from noon
until midnight. Otherwise, the hour is based on the 24-hour clock. The "m" or "mm" code must
appear immediately after the "h" or "hh" code or immediately before the "ss" code; otherwise,
Microsoft Excel displays the month instead of minutes.
2. When you try to undo a date or time format by selecting General in the Category list, Excel
displays a number code. When you enter a date or time again, Excel displays the default date or
time format. To enter a specific date or time format, such as January 2005, you may want to
format it as text by selecting Text in the Category list.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
Add all contiguous numbers in a row or column
You can use AutoSum to do this task.
1. Click a cell below the column of numbers or to the right of the row of numbers.
2. Click AutoSum on the Standard toolbar (toolbar: A bar with buttons and options that you use
to carry out commands. To display a toolbar, click Customize on the Tools menu, and then click
the Toolbars tab.), and then press ENTER.
TASK2
For the optimal display of the data on your worksheet (worksheet: The primary document that you use
in Excel to store and work with data. Also called a spreadsheet. A worksheet consists of cells that are
organized into columns and rows; a worksheet is always stored in a workbook.), you may want to
reposition the text within a cell. You can change the alignment of the cell contents, use indentation for
better spacing, or display the data at a different angle by rotating it.
1. Select the cell or range (range: Two or more cells on a sheet. The cells in a range can be
adjacent or nonadjacent.) of cells that contains the data that you want to reposition.
2. On the Format menu, click Cells.
3. On the Alignment tab, do one of the following:
a. To change the horizontal alignment of the cell contents, click the alignment that you
want in the Horizontal box.
To calculate the average
The average is also called the mean.
Calculate the average of numbers in a contiguous row or column
1. Click a cell below or to the right of the numbers for which you want to find the average.
2. Click the arrow next to AutoSum on the Standard toolbar (toolbar: A bar with buttons and
options that you use to carry out commands. To display a toolbar, click Customize on the
Tools menu, and then click the Toolbars tab.), and then click Average, and then press
ENTER.
Calculate the average of numbers not in a contiguous row or column
Use the AVERAGE function to do this task.
Worksheet example
The example may be easier to understand if you copy it to a blank worksheet.
How?
1. Create a blank workbook or worksheet.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
2. Select the example in the Help topic. Do not select the row or column headers.
3.
4. Selecting an example from Help
5. Press CTRL+C.
6. In the worksheet, select cell A1, and press CTRL+V.
A 7. To switch
between viewing
Data the results and
10 viewing the
formulas that
7 return the
9 results, press
CTRL+` (grave
27 accent), or on
0 the Tools menu,
point to
4 Formula
Auditing, and
Formula Description (Result)
then click
=AVERAGE(A2:A7) Averages all of numbers in list above (9.5) Formula
Auditing Mode.
=AVERAGE(A2:A4,A7) Averages the top three and the last number in
the list (7.5)
Note The last
=AVERAGE(IF(A2:A7<>0, Averages the numbers in the list except those formula in the
A2:A7,"")) that contain zero, such as cell A6 (11.4) example must be
entered as an
array
formula (array formula: A formula that performs multiple calculations on one or more sets of values,
and then returns either a single result or multiple results. Array formulas are enclosed between braces
{ } and are entered by pressing CTRL+SHIFT+ENTER.). After copying the example to a blank
worksheet, select the cell A11. Press F2, and then press CTRL+SHIFT+ENTER. If the formula is not
entered as an array formula, the error #VALUE! is returned.
Function details
AVERAGE
Calculate a weighted average
Use the SUMPRODUCT and SUM functions to do this task.
Worksheet example
The example may be easier to understand if you copy it to a blank worksheet.
How?
1. Create a blank workbook or worksheet.
2. Select the example in the Help topic. Do not select the row or column headers.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
A 4. In the
worksheet,
Data select cell A1,
10 and press
CTRL+V.
7 5. To
9 switch between
viewing the
27 results and
viewing the
0
formulas that
4 return the
results, press
Formula Description (Result) CTRL+` (grave
=AVERAGE(IF(A2:A7<>0, Averages the numbers in the list except those accent), or on
A2:A7,"")) that contain zero, such as cell A6 (11.4) the Tools menu,
point to
Formula
Auditing, and then click Formula Auditing Mode.
Function details
AVERAGE
IF
Returns the average (arithmetic mean) of the arguments.
Syntax
AVERAGE(number1,number2,...)
Number1, number2, ... are 1 to 30 numeric arguments for which you want the average.
Remarks
1. Arguments can either be numbers or names, arrays, or references that contain numbers.
2. Logical values and text representations of numbers that you type directly into the list of
arguments are counted.
3. If an array or reference argument contains text, logical values, or empty cells, those values are
ignored; however, cells with the value zero are included.
4. Arguments that are error values or text that cannot be translated into numbers cause errors.
5. If you want to include logical values and text representations of numbers in a reference as part
of the calculation, use the AVERAGEA function.
Syntax
STDEV(number1,number2,...)
Number1, number2, ... are 1 to 30 number arguments corresponding to a sample of a population.
You can also use a single array or a reference to an array instead of arguments separated by commas.
Example
Suppose 10 tools stamped from the same machine during a production run are collected as a random
sample and measured for breaking strength.
The example may be easier to understand if you copy it to a blank worksheet.
How?
1. Create a blank workbook or worksheet.
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
2. Select the example in the Help topic. Do not select the row or column headers.
A Selecting an example
from Help
Strength
3. Press CTRL+C.
1345
4. In the
1301 worksheet, select cell
A1, and press CTRL+V.
1368 5. To switch
1322 between viewing the
results and viewing the
1310 formulas that return the
results, press CTRL+`
1370 (grave accent), or on the
1318 Tools menu, point to
Formula Auditing, and
1350 then click Formula
1303 Auditing Mode.
Remarks
1. STDEVA assumes that its arguments are a sample of the population. If your data represents the
entire population, you must compute the standard deviation using STDEVPA.
2. The standard deviation is calculated using the "unbiased" or "n-1" method.
3. Arguments can be the following: numbers; names, arrays, or references that contain numbers;
text representations of numbers; or logical values, such as TRUE and FALSE, in a reference.
4. Arguments that contain TRUE evaluate as 1; arguments that contain text or FALSE evaluate as
0 (zero).
5. If an argument is an array or reference, only values in that array or reference are used. Empty
cells and text values in the array or reference are ignored.
6. Arguments that are error values or text that cannot be translated into numbers cause errors.
7. If you do not want to include logical values and text representations of numbers in a reference
as part of the calculation, use the STDEV function.
8. STDEVA uses the following formula:
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
9.
10. where x is the sample mean AVERAGE(value1,value2,…) and n is the sample size.
Example
Suppose 10 tools stamped from the same machine during a production run are collected as a random
sample and measured for breaking strength.
The example may be easier to understand if you copy it to a blank worksheet.
How?
1. Create a blank workbook or worksheet.
2. Select the example in the Help topic. Do not select the row or column headers.
To create a Chart
You can quickly create a chart in Microsoft Excel by using the Chart Wizard. In this wizard, you can
choose from a variety of chart types and specify various chart options. Although
worksheet (worksheet: The primary document that you use in Excel to store and work with data. Also
called a spreadsheet. A worksheet consists of cells that are organized into columns and rows; a
worksheet is always stored in a workbook.) data that you want to plot in a chart can be located in rows
or columns, some chart types require a specific arrangement of the data before you can create a chart.
For more information about chart types, see Available chart types.
1. On the worksheet, arrange the data that you want to plot in a chart.
How to arrange data for different chart types
o For a column, bar, line, area, surface or radar chart, you should arrange the data in
columns or rows.
• Data in columns:
• Lorem • Ipsum
• 1 • 2
• 3 • 4
• Data in rows:
• Lorem • 1 • 3
• Ipsum • 2 • 4
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
o For a pie or doughnut chart with only one series of data, you should arrange the data in
one column or row only.
• One column of data and one column of data labels:
• A • 1
• B • 2
• C • 3
• A • B • C
• 1 • 2 • 3
o For a pie chart or doughnut chart that has more than one series of data, you can
arrange the data in more than one column or row.
• More than one column of data:
• A • 1 • 2
• B • 3 • 4
• C • 5 • 6
• A • B • C
• 1 • 2 • 3
• 4 • 5 • 6
o For an xy (scatter) or bubble chart, you can arrange the data in columns, so that x
values are listed in the first column and corresponding y values and/or bubble size
values are listed in adjacent columns.
• Data in columns:
• X • Y • Bubble
• 1 • 2 • 3
• 4 • 5 • 6
o For a stock chart, you need to arrange data in the following order (in rows or columns):
high values, low values, and closing values. Use names or dates as labels.
• Data in columns:
[Type text]
ITWS Lab Department of Computer Science and Engineering,MGIT
4.
5. Click Chart Wizard on the Standard toolbar, or click Chart on the Insert menu.
6. Follow the instructions in the Chart Wizard.
7. For information about the Chart Wizard options, click Help in the title bar of the wizard.
Tips
To quickly create a basic chart that is displayed on a separate chart sheet (chart sheet: A sheet
in a workbook that contains only a chart. A chart sheet is beneficial when you want to view a chart or
a PivotChart report separately from worksheet data or a PivotTable report.), select the data that you
want to use for the chart, and then press ALT+F1 or F11.
If you use a specific chart type frequently when you create a chart, you may want to set that
chart type as the default chart type.
Change the default chart type
1. Click anywhere in the chart area (chart area: The entire chart and all its elements.) to select
the chart.
2. On the Chart menu, click Chart Type.
3. On the Standard Types tab or Custom Types tab, in the Chart type list, click the chart type
that you want or accept the current selection, and then click Set As Default Chart.
4. Click Yes, and then click OK.
5. If the Add Custom Chart Type dialog box appears, type a name in the Name box and a
description in the Description box, and then click OK.
Notes
1. When you create a chart, the Chart toolbar is displayed and the Chart menu is added to the
menu bar. You can use the toolbar buttons and menu commands to modify the chart. For
example, use the toolbar to select specific items in the chart, change the chart type, make
formatting changes, show or hide the legend or data table, or switch between displaying the
data series by row and displaying it by column. The Chart menu allows you to make changes to
the source data, add data to the chart, specify numerous chart options, change the location of
the chart, and apply 3-D effects. The Chart menu does not, however, provide a command for
creating a chart.
2. The Chart toolbar can also be displayed (or hidden) at any time by pointing to Toolbars on the
View menu, and then clicking Chart. If you display the Chart toolbar before you create a
chart, you can use it to create a chart. Select the cells that contain the data that you want to
use in the chart, and then click Chart Type on the Chart toolbar. The chart will be displayed in
the selected chart type on the same worksheet.
This is also called a 3-D reference (3-D reference: A reference to a range that spans two or more
worksheets in a workbook.).
1. On the Insert menu, point to Name, and then click Define.
2. In the Names in workbook box, type the name.
3. If the Refers to box contains a reference, select the equal sign (=) and the reference and
press BACKSPACE.
4. In the Refers to box, type = (equal sign).
5. Click the tab for the first worksheet to be referenced.
6. Hold down SHIFT and click the tab for the last worksheet to be referenced.
7. Select the cell or range of cells to be referenced.
[Type text]
ITWS Lab Department of Computer Science and Engineering
A reference identifies a cell or a range of cells on a worksheet and tells Microsoft Excel where to look
for the values or data you want to use in a formula. With references, you can use data contained in
different parts of a worksheet in one formula or use the value from one cell in several formulas. You
can also refer to cells on other sheets in the same workbook, and to other workbooks. References to
cells in other workbooks are called links.
The A1 reference style
By default, Excel uses the A1 reference style, which refers to columns with letters (A through IV, for a
total of 256 columns) and refers to rows with numbers (1 through 65536). These letters and numbers
are called row and column headings. To refer to a cell, enter the column letter followed by the row
number. For example, B2 refers to the cell at the intersection of column B and row 2.
To refer to Use
The cell in column A and row 10 A10
The range of cells in column A and rows 10 through 20 A10:A20
The range of cells in row 15 and columns B through E B15:E15
All cells in row 5 5:5
All cells in rows 5 through 10 5:10
All cells in column H H:H
All cells in columns H through J H:J
The range of cells in columns A through E and rows 10 through 20 A10:E20
Reference to another worksheet In the following example, the AVERAGE worksheet function
calculates the average value for the range B1:B10 on the worksheet named Marketing in the same
workbook.
To learn about
a. How to use nested functions?
b. What are the logical operators and how can I use them for manipulating data?
Description:
Task2 Assignment
In certain cases, you may need to use a function as one of the arguments (argument: The values that
a function uses to perform operations or calculations. The type of argument a function uses is specific
to the function. Common arguments that are used within functions include numbers, text, cell
references, and names.) of another function. For example, the following formula uses a nested
AVERAGE function and compares the result with the value 50.
Valid returns When a nested function is used as an argument, it must return the same type of value
that the argument uses. For example, if the argument returns a TRUE or FALSE value, then the nested
function must return a TRUE or FALSE. If it doesn't, Microsoft Excel displays a #VALUE! error value.
Nesting level limits A formula can contain up to seven levels of nested functions. When Function B is
used as an argument in Function A, Function B is a second-level function. For instance, the AVERAGE
function and the SUM function are both second-level functions because they are arguments of the IF
function. A function nested within the AVERAGE function would be a third-level function, and so on
15
9
8
Sprockets A
Widgets Data
15
Formula Description (Result)
9
=AND(A2>A3, A2<A4) Is 15 greater than 9 and less than 8? (FALSE)
8 Is 15 greater than 9 or less than 8? (TRUE)
=OR(A2>A3, A2<A4)
Sprockets
=NOT(A2+A3=24) Is 15 plus 9 not equal to 24? (FALSE)
Widgets
=NOT(A5="Sprockets") Is A5 not equal to "Sprockets"? (FALSE)
=OR(A5<>"Sprockets",A6 =Formula Is A5 not equal to "Sprockets"
Description or
(Result)
A6 equal to
"Widgets") =IF(A2=1"W
5,idgeKt"s,"?
"O " N(oTtRUE) If the value in cell A2 equals 15, then return "OK".
OK") (OK)
=IF(A2<>15, "OK", "Not If the value in cell A2 is not equal to 15, then return
Create a conditional OK") "OK". (Not OK)
formula that results in a
logical value (TRUE or
FALSE)
Use the AND, OR, and NOT functions, and operators (operator: A sign or symbol that specifies the type
of calculation to perform within an expression. There are mathematical, comparison, logical, and
reference operators.) to do this task, as presented in the following example worksheet.
The example may be easier to understand if you copy it to a blank worksheet.
How?
1. Create a blank workbook or worksheet.
2. Select the example in the Help topic. Do not select the row or column headers.
Remarks
1. The NPV investment begins one period before the date of the value1 cash flow and ends with
the last cash flow in the list. The NPV calculation is based on future cash flows. If your first cash
flow occurs at the beginning of the first period, the first value must be added to the NPV result,
not included in the values arguments. For more information, see the examples below.
2. If n is the number of cash flows in the list of values, the formula for NPV is:
3.
4. NPV is similar to the PV function (present value). The primary difference between PV and NPV is
that PV allows cash flows to begin either at the end or at the beginning of the period. Unlike the
variable NPV cash flow values, PV cash flows must be constant throughout the investment. For
information about annuities and financial functions, see PV.
5. NPV is also related to the IRR function (internal rate of return). IRR is the rate for which NPV
equals zero: NPV(IRR(...), ...) = 0.
TASK4
To create a new Worksheets
Worksheet template
Create a workbook that contains one worksheet. On the worksheet, include the formatting,
styles (style: A combination of formatting characteristics, such as font, font size, and indentation,
that you name and store as a set. When you apply a style, all of the formatting instructions in that
style are applied at one time.), text, and other information you want to appear on all new sheets of
the same type.
2. To display a picture of the first page of a template in the Preview box of the Templates dialog
box (General Templates..., New Workbook task pane), click Properties on the File menu, click
the Summary tab, and then select the Save preview picture check box.
5. In the Save in box, select the folder where you want to store the template.
To link to a location in the current workbook or another workbook, you can either define a
name (name: A word or string of characters that represents a cell, range of cells, formula, or constant
value. Use easy-to-understand names, such as Products, to refer to hard to understand ranges, such
Name box
3. Type the name for the cells.
4. Press ENTER.
Note You cannot name a cell while you are changing the contents of the cell.
2. In the source (source file: The file that contains information that was used to create a linked or
embedded object. When you update the information in the source file, you can also update the
linked object in the destination file.) workbook, right-click the text or graphic you want to represent
the hyperlink (hyperlink: Colored and underlined text or a graphic that you click to go to a file, a
location in a file, a Web page on the World Wide Web, or a Web page on an intranet. Hyperlinks
can also go to newsgroups and to Gopher, Telnet, and FTP sites.), and then click Hyperlink on the
shortcut menu.
3. Do one of the following:
1. To link to a location in your current workbook, click Place in this document under
Link to.
2. To link to a location in another workbook, click Existing file or Web page under Link
to.
4. If you chose Existing file or Web page, locate and select the workbook you want to link to, and
then click the Bookmark button.
5. Do one of the following:
1. In the list under Cell Reference, click the sheet you want to link to, and then type the
cell reference in the Type in the cell reference box. Click OK.
2. In the list under Defined Names, click the name that represents the cells you want to
link to. Click OK.
6. To assign a tip to be displayed when you rest the pointer on the hyperlink, click ScreenTip and
then type the text you want in the ScreenTip text box. Click OK.
To use HLookup and VLookup functions
We use HLookup and VLookup to find records in large worksheets, explained the basics of using the
HLOOKUP and VLOOKUP functions in Microsoft Excel to find records in a large worksheet. This column
explains several other ways to use those functions.
To work around the problem, use absolute cell references. Absolute references prevent Excel from
changing cell references in a formula when you copy that formula. Follow these steps:
1. In the Page Views worksheet, clear Cells D5 through D41.
2. In Cell D4 (or the formula bar, if that's easier), add dollar signs to the formula as shown:
=VLOOKUP(A4,Pages!$A$2:$B$39,2,FALSE)
The dollar signs make the cell references absolute.
3. Point to the lower-right corner of Cell D4 until your mouse pointer changes to a black plus sign,
and then drag the pointer down to Cell D41. As you copy the formula, the dollar signs prevent
Excel from changing any cell references in the table array argument. This time, the page names
that correspond to each ID appear in Column D with no errors.
The formula in Step 2 uses absolute columns and rows (the dollar signs are a dead giveaway). You can
use a mix of relative columns and absolute rows, or vice versa. For example:
1. If you need a relative column reference and an absolute row reference, use A$2.
2. If you need an absolute column reference and a relative row reference, use $A2.
You can mix absolute and relative references as needed. For example, you could use $A2:B$39, or any
other combination of characters. Just make sure that you place the dollar sign before the column or
row that you want to designate as an absolute reference. The function fails otherwise.
Finally, for more information about formula error messages, see Correct a #N/A error, Correct a #REF!
error, and Correct a #VALUE! error.
Use formula auditing to find empty cells and fix broken functions
Typically, a function doesn't work because it references at least one empty cell. You can use the
formula auditing tools in Excel to find the empty cell and fix the broken function. The formula auditing
tools use arrows and icons to point to the cells from which a function tries to take the data it needs.
Important To follow the steps in this section, you must first enable an error checking option. On the
Tools menu, click Options, click the Error Checking tab, and then select the Formulas referring to
empty cells check box.
To see the auditing tools in action:
1. On the Page Views worksheet, remove the dollar signs from the formula in cell D4.
5. Double-click the black arrow that leads from the icon to the cell.
6. Double-click the entry in the Go to dialog box. Excel opens the Pages worksheet because that
worksheet contains the empty cell.
At this point, you need to notice something subtle: In the Pages worksheet, Excel highlights the cell
range A3 to B40, even though the data only resides in cells A2 to B39. The highlight is showing you
that the formula is searching the wrong range of cells. Hence, the error.
To see a more pronounced example of this behavior, go back to the Page Views worksheet, select Cell
D10, and repeat Steps 4 through 6. The highlight in the Pages worksheet extends even further down
to indicate the greater number of empty cells referenced by the instance of the formula in Cell D10.
Units Shipped
January February March
Now let's run the add-in. These steps explain how to duplicate the results you created earlier using the
VLOOKUP function. We'll use values from the Page Views and Pages worksheets, and return a result to
a blank cell on the Page Views worksheet.
1. Open the sample spreadsheet (LookupFunctions.xls) and select the Pages worksheet.
2. On the Tools menu, click Lookup. You should see the following text and cell range in the wizard.
If the text seems a bit cryptic, remember that you're defining the location and range of cells
through which the function searches. When you see those values, click Next.
3. Ensure that Page Name appears in the top drop-down box, and then pick a page ID number from
the bottom drop-down box and click Next.
4. Do one of the following:
1. If you want your worksheet to display only the result of your search, click Copy just the
formula to a single cell.
2. If you want the worksheet to display the search result and the parameters used in the
search, click Copy the formula and lookup parameters, and then click Next.
5. Do one of the following:
1. If you chose to display only the search result, enter a reference to a blank cell in the
box, and then click Finish.
2. If you chose to display the result and the lookup parameters, enter references to three
blank cells, and then click Finish.
The wizard performs the lookup and writes the result or results to the cell or cells you referenced in
Step 6.
A final reminder
As you use lookup functions, remember that you're pointing to a data string in one location, telling
Excel to find either a partial or absolute match for that data string in another location, and then telling
Excel to display a third value that lies either next to or near that second value.
HLookup
Searches for a value in the top row of a table or an array (array: Used to build single formulas that
produce multiple results or that operate on a group of arguments that are arranged in rows and
columns. An array range shares a common formula; an array constant is a group of constants used as
VLOOKUP
Searches for a value in the first column of a table array and returns a value in the same row from
another column in the table array.
The V in VLOOKUP stands for vertical. Use VLOOKUP instead of HLOOKUP when your comparison
values are located in a column to the left of the data that you want to find.
Syntax
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
Lookup_value The value to search in the first column of the table array (array: Used to build single
formulas that produce multiple results or that operate on a group of arguments that are arranged in
rows and columns. An array range shares a common formula; an array constant is a group of
TASK5
To make use of the Group and Outline option
Create an Outline
This outline lets you show and hide the detail rows for monthly sales.
1. If your summary rows are above the detail rows, or your summary columns are to the left of
the detail columns, change the direction setting.
How?
1. On the Data menu, point to Group and Outline, and then click Settings.
2. Clear the Summary rows below detail check box, the Summary columns to right
of detail check box, or both check boxes.
2. If you want to set outline styles (style: A combination of formatting characteristics, such as
font, font size, and indentation, that you name and store as a set. When you apply a style, all
of the formatting instructions in that style are applied at one time.) that will be applied
automatically when the outline is created, set the Automatic styles option.
How?
1. On the Data menu, point to Group and Outline, and then click Settings.
2. Select the Automatic styles check box.
Note If you don't want to apply automatic styles before you begin, you can apply them after
you create the outline.
3. Decide whether to outline the worksheet automatically or manually.
o You can outline any worksheet manually.
o You can outline worksheets automatically if they have summary formulas that reference
cells in the detail data (detail data: For automatic subtotals and worksheet outlines, the
subtotal rows or columns that are totaled by summary data. Detail data is typically
adjacent to and either above or to the left of the summary data.). All columns containing
In the Subtotal dialog box, you can choose the column on which to base your subtotals (such as
every change of value in the Week column), the summary calculation that you want to perform, and
the column or columns with values to be summarized. For example (as shown in the previous picture),
you could calculate subtotals for the number of units sold in each category. After you define your
subtotals, they appear in your worksheet.
As the previous picture shows, when you add subtotals to a worksheet, Excel also defines groups
based on the rows used to calculate the subtotals. The groupings form an outline of your worksheet
based on the criteria that you used to create the subtotals. All the rows with furniture products are in
one group, rows with tools are in another, and so on. The outline section at the left of the worksheet
holds controls that you can use to hide or display groups of rows.
For additional flexibility, you can add levels of detail to the outline that Excel creates, which enables
you to hide specific details from time to time. For instance, you might want to hide the sales of
100
ITWS Lab Department of Computer Science and Engineering
bamboo barrier, bamboo chimes, and bamboo stakes (which you know sell well) to see how the other
products sell in comparison with each other.
Create a new outline group within an existing group
1. Select the rows you want to group.
2. Point to Group and Outline on the Data menu, and then click Group.
Excel will create a new group on a new level (level 4), as shown in the following picture.
Remove a group
1. Select the rows in a group.
2. Point to Group and Outline on the Data menu, and then click Ungroup.
Tip If you want to remove all subtotals from a worksheet, click Subtotal on the Data menu, and then
click Remove All.
To make use of the Split panes
You can view two areas of a worksheet and lock rows or columns in one area by splitting or freezing
panes (pane: A portion of the document window bounded by and separated from other portions by
vertical or horizontal bars.). When you split panes, you'll be able to scroll in both areas of the
worksheet, while rows or columns in the non-scrolled area remain visible.
When you freeze panes, you select specific rows or columns that remain visible when scrolling in the
worksheet. For example, you would freeze panes to keep row and column labels visible as you scroll,
as shown in the following picture.
When the pointer changes to a split pointer or , drag the split box down or to the left to the
position you want.
Lock rows and columns by freezing panes
1. To lock rows, select the row below where you want the split to appear.
To lock columns, select the column to the right of where you want the split to appear.
To lock both rows and columns, click the cell below and to the right of where you want the split
to appear.
2. On the Window menu, click Freeze Panes.
3. To unlock rows, click Unfreeze Panes on the Window menu.
101
ITWS Lab Department of Computer Science and Engineering
TASK6
Create a PivotTable report
1. Open the workbook where you want to create the PivotTable report.
o If you are basing the report on a Web query, parameter query, report template, Office
Data Connection file, or query file, retrieve the data into the workbook, and then click a
cell in the Microsoft Excel list containing the retrieved data.
If the retrieved data is from an OLAP database, or the Office Data Connection returns
the data as a blank PivotTable report, continue with step 6 below.
o If you are basing the report on an Excel list or database, click a cell in the list or
database.
2. On the Data menu, click PivotTable and PivotChart Report.
3. In step 1 of the PivotTable and PivotChart Wizard, follow the instructions, and click PivotTable
under What kind of report do you want to create?
4. Follow the instructions in step 2 of the wizard.
5. Follow the instructions in step 3 of the wizard, and then decide whether to lay out the report
onscreen or in the wizard.
Usually you can lay out the report onscreen, and this method is recommended. Use the wizard
to lay out the report only if you expect retrieval from a large external data source to be slow, or
you need to set page fields to retrieve data one page at a time. If you aren't sure, try laying
out the report onscreen. You can return to the wizard if necessary.
102
ITWS Lab Department of Computer Science and Engineering
6. Do one of the following:
Lay out the report onscreen
1. From the PivotTable Field List window, drag the fields with data that you want to display in
rows to the drop area labeled Drop Row Fields Here.
a. If you don't see the field list, click within the outlines of the PivotTable drop areas, and
make sure Show Field List is pressed in.
b. To see what levels of detail are available in fields that have levels, the click next to the
field.
2. Drag fields with data that you want to display across columns to the drop area labeled Drop
Column Fields Here.
3. Drag fields that contain the data that you want to summarize to the area labeled Drop Data
Items Here.
a. If you add more than one data field, arrange these fields in the order you want: Right-
click a data field, point to Order on the shortcut menu, and use the commands on the
Order menu to move the field.
4. Drag fields that you want to use as page fields to the area labeled Drop Page Fields Here.
5. To rearrange fields, drag them from one area to another. To remove a field, drag it out of the
PivotTable report.
a. To hide the drop area outlines, click a cell outside the PivotTable report.
Note If data is very slow to appear as you lay out the report, click Always Display Items on the
PivotTable toolbar to turn off initial data display. If retrieval is still very slow or error messages
appear, click PivotTable and PivotChart Report on the Data menu, and lay out the report in the
wizard.
Lay out the report in the wizard
If you've exited from the wizard, click PivotTable and PivotChart Report on the Data menu to
return to it.
1. In step 3 of the wizard, click Layout.
2. From the group of field buttons on the right, drag the fields that you want onto the ROW and
COLUMN areas in the diagram.
3. Drag the fields that contain the data that you want to summarize onto the DATA area.
4. Drag fields that you want to use as page fields onto the PAGE area.
a. If you want Excel to retrieve data one page at a time, so you can work with large
amounts of source data, double-click the page field, click Advanced, click Query
external data source as you select each page field item, and then click OK twice.
(This option is unavailable for some types of source data, including OLAP databases and
Office Data Connections.)
5. To rearrange fields, drag them from one area to another. Some fields can only be used in some
of the areas; if you drop a field in an area where it can't be used, the field won't appear in the
area.
a. To remove a field, drag it out of the diagram.
b. When you are satisfied with the layout, click OK, and then click Finish.
Ways to customize PivotTable reports
You can customize the appearance and content of a PivotTable report to get the presentation you
need. In a new report, first display the data you want to see, and then work on the appearance.
Adding and removing fields
When you click a PivotTable report, blue drop area guidelines appear along with the PivotTable
toolbar and the PivotTable Field List window, so that you can customize the report.
To add a field, you can drag it from the field list to the area of the report where you want it, or use the
Add To button and dropdown in the field list. To remove a field, drag it out of the report or drag it
back onto the field list. Fields that you remove remain available in the field list.
You can use fields with icons in the field list only as row (row field: A field that's assigned a row
orientation in a PivotTable report. Items associated with a row field are displayed as row labels.),
column (column field: A field that's assigned a column orientation in a PivotTable report. Items
associated with a column field are displayed as column labels.), or page fields (page field: A field that's
103
ITWS Lab Department of Computer Science and Engineering
assigned to a page orientation in a PivotTable or PivotChart report. You can either display a summary
of all items in a page field, or display one item at a time, which filters out the data for all other items.),
and fields with icons only as data fields (data field: A field from a source list, table, or database that
contains data that is summarized in a PivotTable report or PivotChart report. A data field usually
contains numeric data, such as statistics or sales amounts.). If your fields have these icons, each field
can be used in the report only once.
If your fields have icons, you can use any field in any area, and you can add a field to both to the data
area and to one of the row, column, or page areas, or display it more than once in the data area, as
long as you report doesn't have any calculated items (calculated item: An item within a PivotTable field
or PivotChart field that uses a formula you create. Calculated items can perform calculations by using
the contents of other items within the same field of the PivotTable report or PivotChart report.).
You can change the order in which fields appear by dragging them, or in the case of multiple data
fields, by using the Order commands on the PivotTable menu.
Changing the layout
a. Click a column field
b. Drag it to the row area
c. Sport becomes a row field like Region
When you move a field, it retains most settings you've made using the arrow in the field or the
Field Settings command, including page field (page field: A field that's assigned to a page orientation
in a PivotTable or PivotChart report. You can either display a summary of all items in a page field, or
display one item at a time, which filters out the data for all other items.) options and layout settings.
For example, if you set page field settings and move the field to the row area, then later move the
field back to the page area, the settings remain in effect.
Indented and nonindented formats
You can display a PivotTable report in an indented format similar to traditional banded or formatted
database reports, in which the summarized data from each data field (data field: A field from a source
list, table, or database that contains data that is summarized in a PivotTable report or PivotChart
report. A data field usually contains numeric data, such as statistics or sales amounts.) appears in a
single column. New reports are displayed in a nonindented or crosstabulated format, with data field
values in a grid. Switching to indented format may change the layout of the report, and it applies an
autoformat (autoformat: A built-in collection of cell formats such as font size, patterns, and alignment
that you can apply to a range of data. Excel determines the levels of summary and detail in the
selected range and applies the formats accordingly.) to the report.
Use Format Report on the PivotTable toolbar to select an indented or nonindented format. The
autoformats available for other worksheet areas are not available for PivotTable reports.
Indented formats Formats Report 1 through Report 10 are indented formats. Applying these
formats moves all column fields in the report to the row area. Data fields move to the right of row
fields (row field: A field that's assigned a row orientation in a PivotTable report. Items associated with
a row field are displayed as row labels.), and the field names change to omit the summary function
name. For example, Sum of Sales becomes Sales. After you apply a format, you can rearrange the
fields as in any PivotTable report.
Setting indented format manually If you don't want to apply an autoformat, you can move all
column fields to the row area, double-click each row field, click Layout, and then click Show items in
outline form. This setting is retained if you move the field to another area, but the field is displayed
in indented format only when it is in the row area.
Nonindented formats Formats PivotTable Classic and Table 1 through Table 10 are
nonindented, for use with PivotTable reports that have column fields (column field: A field that's
assigned a column orientation in a PivotTable report. Items associated with a column field are
displayed as column labels.). Table 1 through Table 10 move the leftmost row field to the column
area. Table 1 through Table 5 and Table 7 also add a blank line after each item in the outermost row
field.
Character, cell, and number formats
104
ITWS Lab Department of Computer Science and Engineering
You can change cell formats in a PivotTable report, such as font, background color, and alignment, as
you do for other worksheet cells. You can set number formats for individual cells or for all cells of a
data field.
Most formatting is retained when you refresh (refresh: To update the contents of a PivotTable or
PivotChart report to reflect changes to the underlying source data. If the report is based on external
data, refreshing runs the underlying query to retrieve new or changed data.) a report or change its
layout, provided the Preserve formatting check box in the PivotTable Options dialog box is
selected. Cell border changes, however, aren't retained.
Changing what's displayed for errors and empty cells Instead of displaying error values, such
as #REF! or #N/A, and blanks for empty cells, you can specify different values for these cells in a
PivotTable report.
Using merged cells By default, the labels for items in outer row and column fields appear left
justified at the top of the item group. You can center the items horizontally and vertically by selecting
the Merge labels check box in the PivotTable Options dialog box.
Adding blank rows between item groups For outer row fields (row field: A field that's assigned a
row orientation in a PivotTable report. Items associated with a row field are displayed as row labels.),
you can add a blank line after each item or its total row.
Removing formats To remove all character and cell formats in a report, use the None format
available from the Format Report command.
Sorting
In a new report, the items (item: A subcategory of a field in PivotTable and PivotChart reports. For
instance, the field "Month" could have items such as "January," "February," and so on.) in each field
appear either in the order received from the source database, or in ascending order.
Refreshing (refresh: To update the contents of a PivotTable or PivotChart report to reflect changes to
the underlying source data. If the report is based on external data, refreshing runs the underlying
query to retrieve new or changed data.) a report places new items at the ends of the rows or columns.
Microsoft Excel uses the following ascending sort order: numbers, text, logical values, error values
such as #REF and #VALUE, and blank cells. When you sort in descending order, Excel sorts in the
reverse order except for blank cells, which are always sorted last. If you want a sorting sequence such
as Jan, Feb, Mar, and so forth, you can use a custom sort order, and you can also define your own
sorting sequence.
If your report has fields organized in levels, you can sort lower-level items together by hiding the
upper levels before you sort. For example, if you display both the Country and City levels, cities are
sorted separately under each country, but if you hide the Country level, you can sort cities from
different countries together.
You can manually reorder items by clicking and dragging the item labels.
Showing and hiding detail
Your options for varying the amount of detail displayed in a report depend on the type of source
data (source data: The list or table that's used to create a PivotTable or PivotChart report. Source data
can be taken from an Excel list or range, an external database or cube, or another PivotTable report.)
the report is based on.
For OLAP (OLAP: A database technology that has been optimized for querying and reporting, instead of
processing transactions. OLAP data is organized hierarchically and stored in cubes instead of tables.)
source data ( and icons in the field list), fields are organized in levels of detail, and you can
display and hide both individual items and entire levels. Summary values are usually calculated on the
OLAP server, so underlying detail records for data values usually aren't available for display. However,
your database may have other information available for items, called property fields (property fields:
independent attributes associated with items, or members, in an OLAP cube. For example, if city items
have size and population properties stored in the server cube, a PivotTable report can display the size
and population of each city.), that you can display or hide. For example, if your database has a City
field, you might be able to display population or climate figures for individual cities.
105
ITWS Lab Department of Computer Science and Engineering
For other types of source data ( icons in the field list), you can display and hide individual items
and also display underlying detail records for data values and items, if this option hasn't been disabled.
You can't directly select multiple items in a page field (page field: A field that's assigned to a page
orientation in a PivotTable or PivotChart report. You can either display a summary of all items in a
page field, or display one item at a time, which filters out the data for all other items.), but you can
move the field temporarily to the row or column area, hide some of the items, and move the field back
to the page area, so that the (All) item then displays a summary that omits the hidden items.
For both types of source data, you can automatically display the top or bottom items in a field — for
example, the top ten sales reps or the five least expensive products. If you set this type of display for
an OLAP field, your setting affects only the current level and lower levels in the dimension (dimension:
An OLAP structure that organizes data into levels, such as Country/Region/City for a Geography
dimension. In a PivotTable or PivotChart report, each dimension becomes a set of fields where you can
expand and collapse detail.), and remains in effect only if you don't hide the level you set it for.
Grouping items
You can use grouping to view less detailed summaries — for example, to view data by quarter instead
of week. You can group dates, times, or numbers, and selected items (item: A subcategory of a field in
PivotTable and PivotChart reports. For instance, the field "Month" could have items such as "January,"
"February," and so on.) in a report. Grouping works differently for different types of source
data (source data: The list or table that's used to create a PivotTable or PivotChart report. Source data
can be taken from an Excel list or range, an external database or cube, or another PivotTable report.).
For OLAP (OLAP: A database technology that has been optimized for querying and reporting, instead of
processing transactions. OLAP data is organized hierarchically and stored in cubes instead of tables.)
source data, when you select and group individual items, the rest of the items in the field appear in a
group named Other. The new group and the Other group become another level of detail that you can
show or hide, so that you can still display the individual items that you've grouped. To group items in a
page field, you can move the field temporarily to the row or column area, group the items, and then
move the field back to the page area. You can also select multiple page field items to display as a
combined summary.
For other types of source data (icons in the field list), when you select and group individual items, the
items are combined in a new item named Group1 (which you can rename). You can't display the
individual items unless you ungroup them. The rest of the items in the field are unchanged by adding
the group. While items in a field are grouped, you can't add calculated items (calculated item: An item
within a PivotTable field or PivotChart field that uses a formula you create. Calculated items can
perform calculations by using the contents of other items within the same field of the PivotTable report
or PivotChart report.) to the field. To group items in a page field, you can move the field temporarily to
the row or column area, group the items, and then move the field back to the page area.
Totals, calculations, and formulas
PivotTable and PivotChart reports (PivotChart report: A chart that provides interactive analysis of data,
like a PivotTable report. You can change views of data, see different levels of detail, or reorganize the
chart layout by dragging fields and by showing or hiding items in fields.) provide several types of
calculations. Data fields (data field: A field from a source list, table, or database that contains data
that is summarized in a PivotTable report or PivotChart report. A data field usually contains numeric
data, such as statistics or sales amounts.) use summary functions (summary function: A type of
calculation that combines source data in a PivotTable report or a consolidation table, or when you are
inserting automatic subtotals in a list or database. Examples of summary functions include Sum,
Count, and Average.) to combine values from the underlying source data (source data: The list or
table that's used to create a PivotTable or PivotChart report. Source data can be taken from an Excel
list or range, an external database or cube, or another PivotTable report.). You can also use custom
calculations (custom calculation: A method of summarizing values in the data area of a PivotTable
report by using the values in other cells in the data area. Use the Show data as list on the PivotTable
Field dialog for a data field to create custom calculations. ) to compare data values, or add your own
formulas that use elements of the report or other worksheet data.
Display subtotals for individual fields
106
ITWS Lab Department of Computer Science and Engineering
1. Double-click the field.
2. Do one of the following:
Subtotal an outer row or column field Click Automatic under Subtotals. To use a
different summary function (summary function: A type of calculation that combines source data
in a PivotTable report or a consolidation table, or when you are inserting automatic subtotals in
a list or database. Examples of summary functions include Sum, Count, and Average.) or
display more than one type of subtotal, click the summary function you want in the box to the
right of Custom (this option is unavailable for some types of source data (source data: The list
or table that's used to create a PivotTable or PivotChart report. Source data can be taken from
an Excel list or range, an external database or cube, or another PivotTable report.)).
Subtotal an inner row or column field Click Custom under Subtotals, if this option is
available, and then click a summary function in the box to the right.
Remove subtotals Click None under Subtotals.
Note If a field contains a calculated item (calculated item: An item within a PivotTable field or
PivotChart field that uses a formula you create. Calculated items can perform calculations by
using the contents of other items within the same field of the PivotTable report or PivotChart
report.), you can't change the subtotal summary function.
Tip
For outer row fields (row field: A field that's assigned a row orientation in a PivotTable report.
Items associated with a row field are displayed as row labels.), you can display subtotals above
or below their items. Double-click the field, click Layout, click Show items in outline form,
and then select or clear the Display subtotals at top of group check box.
Display grand totals for the entire report
1. Click the report.
2. On the PivotTable toolbar (toolbar: A bar with buttons and options that you use to carry out
commands. To display a toolbar, click Customize on the Tools menu, and then click the
Toolbars tab.), click PivotTable, and then click Table Options.
3. Do one of the following:
Display grand totals Select the Grand totals for columns check box, the Grand totals
for rows check box, or both.
Hide grand totals Clear either or both check boxes.
Note Grand totals for a field use the same summary function (summary function: A type of
calculation that combines source data in a PivotTable report or a consolidation table, or when
you are inserting automatic subtotals in a list or database. Examples of summary functions
include Sum, Count, and Average.) as the subtotals for the field.
Calculate the totals with or without hidden items
1. Click the report.
2. On the PivotTable toolbar (toolbar: A bar with buttons and options that you use to carry out
commands. To display a toolbar, click Customize on the Tools menu, and then click the
107
ITWS Lab Department of Computer Science and Engineering
supplies the source data to the PivotChart report. It is created automatically when you create a
new PivotChart report. When you change the layout of either report, the other also changes.).
2. On the PivotTable toolbar (toolbar: A bar with buttons and options that you use to carry out
commands. To display a toolbar, click Customize on the Tools menu, and then click the
Toolbars tab.), click Field Settings .
3. In the Summarize by box, click the summary function (summary function: A type of
calculation that combines source data in a PivotTable report or a consolidation table, or when
you are inserting automatic subtotals in a list or database. Examples of summary functions
include Sum, Count, and Average.) you want to use.
For some types of source data (source data: The list or table that's used to create a PivotTable
or PivotChart report. Source data can be taken from an Excel list or range, an external
database or cube, or another PivotTable report.), and for calculated fields (calculated field: A
field in a PivotTable report or PivotChart report that uses a formula you create. Calculated fields
can perform calculations by using the contents of other fields in the PivotTable report or
PivotChart report.) and fields with calculated items (calculated item: An item within a
PivotTable field or PivotChart field that uses a formula you create. Calculated items can perform
calculations by using the contents of other items within the same field of the PivotTable report
or PivotChart report.), you can't change the summary function.
4. If you want to use a custom calculation (custom calculation: A method of summarizing values in
the data area of a PivotTable report by using the values in other cells in the data area. Use the
Show data as list on the PivotTable Field dialog for a data field to create custom calculations.),
click Options, click the calculation you want in the Show data as list, and then select a Base
field and Base item, if these options are available for the calculation you chose, to provide the
data for the calculation. The base field should not be the same one you chose in step 1.
Note Setting Show data as to Normal turns off custom calculation.
5. If the report has multiple data fields, repeat these steps for each one that you want to change.
6. If your source data allows you to change the summary function, you can use more than one
summary method for the same field. Drag the field from the PivotTable Field List window to
the data area a second time, and then repeat the steps above for the second instance of the
field.
Note When you change the summary method in a PivotChart report or its associated PivotTable
report, some chart formatting may be lost.
Change the amount of detail displayed in a PivotTable report
1. Determine what kind of source data (source data: The list or table that's used to create a
PivotTable or PivotChart report. Source data can be taken from an Excel list or range, an
external database or cube, or another PivotTable report.) your report has: click the report, if
the field list is not displayed click Show Field List on the PivotTable toolbar, and look at the
PivotTable Field List window.
2. For OLAP reports, display or hide different levels of detail for a field.
How?
1. Click the field.
2. To display or hide lower-level detail, click Show Detail or Hide Detail on the
PivotTable toolbar.
3. To hide upper levels of detail, right-click the field button (field button: Button that
identifies a field in a PivotTable or PivotChart report. You can drag the field buttons to
change the layout of the report, or click the arrows next to the buttons to change the
level of detail displayed in the report.) for the lowest level you want to hide, and then
click Hide levels on the shortcut menu.
The level you clicked and all higher levels in the dimension (dimension: An OLAP
structure that organizes data into levels, such as Country/Region/City for a Geography
dimension. In a PivotTable or PivotChart report, each dimension becomes a set of fields
where you can expand and collapse detail.) are removed from view, and the dropdown
arrow is also hidden.
108
ITWS Lab Department of Computer Science and Engineering
To redisplay hidden upper levels, right-click any field button in the dimension, and then
click Show levels on the shortcut menu.
For non-OLAP reports, do one or more of the following:
Display or hide detail data for an item
1. Click the item.
4. In the Properties to display box, use the and buttons to arrange the
property fields in the order you want them to appear in the report.
5. Make sure the Show fields for this dimension in outline form check box is selected,
and then click OK.
6. If the levels for which you selected property fields aren't displayed in the report, click
the field and then click Show Detail on the PivotTable toolbar.
Group items in a PivotTable or PivotChart field
1. If the field is a page field (page field: A field that's assigned to a page orientation in a
PivotTable or PivotChart report. You can either display a summary of all items in a page field, or
display one item at a time, which filters out the data for all other items.), check the page field
settings, and then move it temporarily to the row or column area.
How?
For a PivotChart report, work in the associated PivotTable report (associated PivotTable report:
The PivotTable report that supplies the source data to the PivotChart report. It is created
automatically when you create a new PivotChart report. When you change the layout of either
report, the other also changes.).
1. Double-click the page field.
2. Click Advanced.
3. Make sure the Retrieve external data for all page field items option is either
selected or unavailable.
4. Click OK twice.
5. Drag the page field to the row or column area.
2. Do one of the following:
109
ITWS Lab Department of Computer Science and Engineering
4. In the By box, type the number of items that you want in each group.
Ungroup items
o Right-click the group, point to Group and Show Details on the shortcut menu, and
then click Ungroup.
In a numeric or date/time field, right-click any group; Excel then ungroups all groups for
the field.
3. If the field was formerly a page field, drag it back to the page area.
110
ITWS Lab Department of Computer Science and Engineering
2. Click Layout.
3. Select the Insert page break after each item check box.
5. On the View menu, click Page Break Preview, and make any adjustments you want to the
page breaks.
You can insert new manual page breaks and move and delete automatic page breaks.
6. On the File menu, click Print Preview, and check your print layout. To make adjustments, you
can repeat any of the previous steps as needed.
7. When the preview looks correct, click Print
111
ITWS Lab Department of Computer Science and Engineering
Options at the end of the toolbar.), click PivotTable or PivotChart, point to
Formulas, and then click Calculated Field.
3. In the Name box, click the field you want to delete.
4. Click Delete.
To make data entry easier, or to limit entries to certain items that you define, you can create a drop-
down list that gets its choices from cells elsewhere on the worksheet.
1. Type the entries for the drop-down list in a single column or row. Do not include blank cells in
the list.
If you type the list on a different worksheet from the data entry cell, define a name (name: A
word or string of characters that represents a cell, range of cells, formula, or constant value.
Use easy-to-understand names, such as Products, to refer to hard to understand ranges, such
as Sales!C20:C30.) for the list.
How?
1. Select the cell, range of cells, or nonadjacent selections (nonadjacent selection: A
selection of two or more cells or ranges that don't touch each other. When plotting
nonadjacent selections in a chart, make sure that the combined selections form a
rectangular shape.) that you want to name.
112
ITWS Lab Department of Computer Science and Engineering
2. Click the Name box at the left end of the formula bar (formula bar: A bar at the top of
the Excel window that you use to enter or edit values or formulas in cells or charts.
Displays the constant value or formula stored in the active cell.) .
Name box
3. Type the name for the cells.
4. Press ENTER.
How?
1. Open the workbook that contains the list of drop-down entries.
2. Open the workbook where you want to validate cells, point to Name on the Insert
menu, and then click Define.
3. In the Names in workbook box, type the name.
4. In the Refers to box, delete the contents, and keep the insertion pointer in the box.
5. On the Window menu, click the name of the workbook that contains the list of drop-
down entries, and then click the worksheet that contains the list.
6. Select the cells containing the list.
7. In the Define Name dialog box, click Add, and then click Close.
2. Select the cell where you want the drop-down list.
3. On the Data menu, click Validation, and then click the Settings tab.
4. In the Allow box, click List.
5. If the list is in the same worksheet, enter a reference to your list in the Source box.
If the list is elsewhere, enter the name you defined for your list in the Source box.
Make sure the reference or name is preceded with an equal sign (=).
6. Make sure the In-cell drop-down check box is selected.
7. Specify whether the cell can be left blank: Select or clear the Ignore blank check box.
8. To display optional input instructions when the cell is clicked, click the Input Message tab,
make sure the Show input message when cell is selected check box is selected, and then
fill in the title and text for the message.
9. Specify how you want Microsoft Excel to respond when invalid data is entered.
How?
1. Click the Error Alert tab, and make sure the Show error alert after invalid data is
entered check box is selected.
2. Select one of the following options for the Style box:
To display an information message that does not prevent entry of invalid data, click
Information.
To display a warning message that does not prevent entry of invalid data, click
Warning.
To prevent entry of invalid data, click Stop.
3. Fill in the title and text for the message (up to 225 characters).
Note If you don't enter a title or text, the title defaults to " Microsoft Excel" and the
message to: "The value you entered is not valid. A user has restricted values that can be
entered into this cell."
Importing data
Importing data from databases and files
You can import data to Excel from most data sources by pointing to Import External Data on the
Data menu, clicking Import Data, and then choosing the data you want to import in the Select Data
Source dialog box.
The Data Connection Wizard, available when you click New Source in the Select Data Source dialog
box, makes it possible to import data from external data connections not available from the Select
Data Source dialog box. These sources may include OLE DB data sources (including OLAP cubes and
exchange servers) and any data sources a system administrator supplies. You cannot filter or join data
in the Data Connection Wizard.
The default connection method when you import data using the Data Connection Wizard is through
OLE DB providers. The resulting .odc (office data connection) files can be opened for viewing in
113
ITWS Lab Department of Computer Science and Engineering
Internet Explorer and edited in Excel, Notepad, and other Microsoft Office applications if the file
doesn't point to an OLAP data source.
The Data Connection Wizard also provides access to a data source called a data retrieval service. A
data retrieval service is a Web service installed on Windows SharePoint Services for connecting to and
retrieving data. To use a data retrieval service, a client application, such as Excel, sends a query
request over HTTP (HTTP: Internet protocol that delivers information on the World Wide Web. Makes it
possible for a user with a client program to enter a URL (or click a hyperlink) and retrieve text,
graphics, sound, and other digital information from a Web server.) to the data retrieval service on
Windows SharePoint Services. The data retrieval service sends that request to the data source, and
then passes the data that is returned to it back to the client application as XML. Importing data from a
data retrieval service in Excel automatically creates a databound XML list in your worksheet. After
adding a databound XML list to your worksheet, you can use the commands on the XML submenu of
the Data menu or the List tool bar to refresh data, edit the query, or set the properties of the XML
map associated with the XML list.
A default installation of Windows SharePoint Services provides a data retrieval service for connecting
to data in SharePoint lists. A SharePoint site administrator can install the Microsoft Office Web Parts
and Components to add additional data retrieval services for Microsoft SQL Server and Microsoft
Business Solutions. The installation program for Microsoft Office Web Parts and Components is
available on the Downloads on Microsoft Office Online.
Importing data with Microsoft Query
In most cases, you can import data by using the Import Data command as described in the section
above. Use Query or another program only if you need to perform specialized query tasks such as the
following:
• Filter rows or columns of data before they are brought into Excel.
• Create a parameter query (parameter query: A type of query that, when you run it, prompts for
values (criteria) to use to select the records for the result set so that the same query can be
used to retrieve different result sets.).
• Sort data before it is brought into Excel.
• Join multiple tables.
Microsoft Query provides a simple front end, easily accessible from within Excel, to perform these
specialized query tasks.
You can use Query to set up ODBC data sources to retrieve data. In Query, you can use the Query
Wizard to create a simple query (query: In Query or Access, a means of finding the records that
answer a particular question you ask about the data stored in a database.), or you can use advanced
criteria in Query to create a more complex query. You can access Query from Excel, or you can create
a query from within the PivotTable and PivotChart Wizard.
You can also use Dynamic Data Exchange (DDE) (Dynamic Data Exchange (DDE): An established
protocol for exchanging data between Microsoft Windows-based programs.) with Query. For more
information about DDE, see Query Help.
To import data using Query, you must first:
• Install Query Query, including the Query Wizard, is an optional feature for Excel. Under
most circumstances, you are prompted to install Query when you point to Import External
Data on the Data menu and click New Database Query.
• Install ODBC drivers An ODBC driver (Open Database Connectivity (ODBC) driver: A
program file used to connect to a particular database. Each database program, such as Access
or dBASE, or database management system, such as SQL Server, requires a different driver.) is
required to retrieve data in relational databases, text files, or Excel using Query. When you
install Query, you automatically install a set of ODBC drivers. If you use a driver other than one
installed with Query, you must install the driver separately.
• Install data source drivers A data source driver (data source driver: A program file used
to connect to a specific database. Each database program or management system requires a
different driver.) is required to retrieve OLAP source data. Query supports connecting to
databases that are created by using SQL Server OLAP Services; when you installed Query, you
automatically installed support for this type of OLAP database. To connect to other OLAP
databases, you must install a data source driver and client software.
114
ITWS Lab Department of Computer Science and Engineering
For more information, see Query Help.
Importing data from the Web
You can import data originating from a Web page by pointing to Import External Data on the Data
menu and clicking New Web Query. You must have access to the World Wide Web (World Wide Web
(WWW): The multimedia branch of the Internet that presents not only text, but also graphics, sound,
and video. On the Web, users can easily jump from item to item, page to page, or site to site by using
hyperlinks.) through your company's intranet or through a modem on your computer or network, or
you can make a query against local HTML or XML sources.
Importing data with Visual Basic for Applications (VBA)
You can use a Visual Basic for Applications (VBA: A macro-language version of Microsoft Visual Basic
that is used to program Windows applications and is included with several Microsoft applications.)
macro (macro: An action or a set of actions you can use to automate tasks. Macros are recorded in the
Visual Basic for Applications programming language.) to gain access to an external data source.
Depending on the data source, you will use either ActiveX Data Objects (ActiveX Data Objects (ADO):
A data access interface that communicates with OLE DB-compliant data sources to connect to,
retrieve, manipulate, and update data.) or Data Access Objects (Data Access Objects (DAO): A data
access interface that communicates with Microsoft Jet and ODBC-compliant data sources to connect to,
retrieve, manipulate, and update data and the database structure.) to retrieve data using VBA.
If you want to use a macro that you created in Excel version 5.0 or earlier, click Add-Ins on the Tools
menu, and then make sure the ODBC Add-In check box is selected.
For information about creating Visual Basic for Applications macros, see Visual Basic Help (Microsoft
Visual Basic Help: To get help for Visual Basic in Excel, point to Macro on the Tools menu, and then
click Visual Basic Editor. On the Help menu, click Microsoft Visual Basic Help.).
Note While you are recording a macro that includes a query, Excel can't run the query in the
background, even if you chose to run it that way. To change the recorded macro so that it runs in the
background, edit the macro in the Visual Basic Editor and change the refresh method for the
QueryTable object from "BackgroundQuery := False" to "BackgroundQuery := True".
Refreshing data and naming ranges
Refreshing data
Excel provides many options for refreshing imported data, including refreshing the data whenever you
open the workbook and automatically refreshing data at timed intervals. You can continue to work in
Excel while data is being refreshed, and you can also check the status of the refresh while it's being
refreshed.
If your external data source (data source: A stored set of "source" information used to connect to a
database. A data source can include the name and location of the database server, the name of the
database driver, and information that the database needs when you log on.) requires a
password (password: A word, phrase, or string of characters used to prevent unauthorized access to a
database. To gain access to the database, you must enter the password correctly.) to gain access to
the data, you can require that the password is entered each time the external data range (external
data range: A range of data that is brought into a worksheet but that originates outside of Excel, such
as in a database or text file. In Excel, you can format the data or use it in calculations as you would
any other data.) is refreshed.
When an external data range expands and additional records are returned, Excel can fill formulas in
adjacent columns or within the data range so that they remain next to the appropriate data.
You can also choose how to add new data to your worksheet.
Naming external data ranges
Excel automatically names an external data range as follows:
• External data ranges from Office Data Connection (Office Data Connection (ODC) file: A file that
stores information about a connection to a data source (such as an OLE DB data source) and
the data associated with the connection.) (ODC) files are named with the .odc file extension.
• External data ranges from databases are named with the name of the query; by default
Query_from_source is the name of the data source you used to create the query.
• External data ranges from text files are named with the text file name.
115
ITWS Lab Department of Computer Science and Engineering
• External data ranges from Web queries (Web query: A query that retrieves data stored on your
intranet or the Internet.) are named with the name of the Web page from which the data
was retrieved.
If your worksheet has more than one external data range from the same source, the ranges are
numbered. For example, MyText, MyText_1, MyText_2, and so on.
You can also change the name of an external data range in the Data Range Properties dialog box
116
ITWS Lab Department of Computer Science and Engineering
TASK7
Filtering is a quick and easy way to find and work with a subset of data in a range. A filtered range
displays only the rows that meet the criteria (criteria: Conditions you specify to limit which records are
included in the result set of a query or filter.) you specify for a column. Microsoft Excel provides two
commands for filtering ranges: AutoFilter and Advanced Filter.
Unlike sorting, filtering does not rearrange a range. Filtering temporarily hides rows you do not want
displayed. When Excel filters rows, you can edit, format, chart, and print your range subset without
rearranging or moving it.
Use AutoFilter for simple criteria and to filter by selection
When you use the AutoFilter command, AutoFilter arrows appear to the right of the column labels
in the filtered range.
Unfiltered range
Filtered range
Microsoft Excel indicates the filtered items with blue.
You use custom AutoFilter to display rows that contain either one value or another. You can also use
custom AutoFilter to display rows that meet more than one condition for a column; for example, you
might display rows that contain values within a specific range (such as a value of Davolio).
Top of Page
Use Advanced Filter for more complex criteria
The Advanced Filter command on the Data menu lets you use complex criteria (criteria: Conditions
you specify to limit which records are included in the result set of a query. For example, the following
criterion selects records for which the value for the Order Amount field is greater than 30,000: Order
Amount > 30000.) to filter a range, but it works differently from the AutoFilter command in
several important ways.
• It displays the Advanced Filter dialog box instead of the Custom AutoFilter dialog box.
• You do not type the complex criteria in the Advanced Filter dialog box as you do in the
Custom AutoFilter dialog box. Rather, you type the complex criteria in a criteria range on the
worksheet and above the range you want to filter. Excel uses the separate criteria range in the
Advanced Filter dialog box as the source for the complex criteria.
• Although you can filter a range in place, like the AutoFilter command, the Advanced Filter
command does not display drop-down lists for the columns.
Filter for unique records
117
ITWS Lab Department of Computer Science and Engineering
• Select the column or click a cell in the range or list you want to filter.
• On the Data menu, point to Filter, and then click Advanced Filter.
• Do one of the following.
o To filter the range or list in place, similar to using AutoFilter, click Filter the list, in-
place.
o To copy the results of the filter to another location, click Copy to another location.
Then, in the Copy To box, enter a cell reference.
To select a cell, click Collapse Dialog to temporarily hide the dialog box. Select the
cell on the worksheet, and then press Expand Dialog .
• Select the Unique records only check box.
Note Once you filter for unique values, you can copy them to another worksheet and then archive or
delete the original worksheet.
Filters for different type of data cells
Filter for the smallest or largest number
1. Click the arrow in the column that contains the numbers, and click (Top 10...).
2. In the box on the left, click Top, or Bottom.
3. In the box in the middle, enter a number.
4. In the box on the right, click Items.
Filter a range for rows that contain specific text
1. Click the arrow in the column that contains the numbers, and click (Custom).
2. In the box on the left, click equals, or does not equal, contains, or does not
contain.
3. In the box on the right, enter the text you want.
4. If you need to find text values that share some characters but not others, use a wildcard
character.
How?
The following wildcard characters can be used as comparison criteria (criteria:
Conditions you specify to limit which records are included in the result set of a query or
filter.) for filters, and when searching and replacing content.
Use To find
Any single character
? (question mark) For example, sm?th finds "smith" and
"smyth"
Any number of characters
* (asterisk) For example, *east finds "Northeast" and
"Southeast"
~ (tilde) followed by ?, *, A question mark, asterisk, or tilde
or ~ For example, fy91~? finds "fy91?"
1. To add another criteria, click And or Or, and repeat the previous step.
Filter for blank or nonblank cells
Click the arrow in the column that contains the numbers, then click (Blanks) or
(NonBlanks).
Note The Blanks and NonBlanks options are available only if the column you want to filter
contains a blank cell.
Filter for numbers greater than or less than another number
1. Click the arrow in the column that contains the numbers, and click (Custom).
2. In the box on the left, click is greater than, is less than, is greater than or equal
to, or is less than or equal to.
3. In the box on the right, enter a number.
4. To add another criteria, click And or Or, and repeat the previous step.
Filter for a number equal to or not equal to another number
1. Click the arrow in the column that contains the numbers, and click (Custom).
2. In the box on the left, click equals, or does not equal.
118
ITWS Lab Department of Computer Science and Engineering
3. In the box on the right, enter a number.
4. To add another criteria, click And or Or, and repeat the previous step.
Filter for the beginning or end of a text string
1. Click the arrow in the column that contains the numbers, and click (Custom).
2. In the box on the left, click begins with, or does not begin with, or ends with, or
does not end with.
3. In the box on the right, enter the text you want.
4. If you need to find text values that share some characters but not others, use a wildcard
character.
How?
The following wildcard characters can be used as comparison criteria (criteria:
Conditions you specify to limit which records are included in the result set of a query or
filter.) for filters, and when searching and replacing content.
Use To find
Any single character
? (question mark) For example, sm?th finds "smith" and
"smyth"
Any number of characters
* (asterisk) For example, *east finds "Northeast" and
"Southeast"
~ (tilde) followed by ?, *, A question mark, asterisk, or tilde
or ~ For example, fy91~? finds "fy91?"
1. To add another criteria, click And or Or, and repeat the previous step.
Filter for the top or bottom numbers by percent
1. Click the arrow in the column that contains the numbers, and click (Top 10...).
2. In the box on the left, click Top or Bottom.
3. In the box in the middle, enter a number.
4. In the box on the right, click Percent.
Notes
• When you apply a filter to a column, the only filters available for other columns are the values
visible in the currently filtered range.
• Only the first 1000 unique entries in a list appear when you click the arrow .
To Protect Workbook
To allow only authorized users to view or modify your data, you can help secure your entire workbook
file with a password (password: A way to restrict access to a workbook, worksheet, or part of a
worksheet. Excel passwords can be up to 255 letters, numbers, spaces, and symbols. You must type
uppercase and lowercase letters correctly when you set and enter passwords.).
1. On the File menu, click Save As.
2. On the Tools menu, click General Options.
3. Do either or both of the following:
o If you want users to enter a password (password: A way to restrict access to a
workbook, worksheet, or part of a worksheet. Excel passwords can be up to 255 letters,
numbers, spaces, and symbols. You must type uppercase and lowercase letters correctly
when you set and enter passwords.) before they can view the workbook, type a
password in the Password to open box, and then click OK.
o If you want users to enter a password before they can save changes to the workbook,
type a password in the Password to modify box.
Note Unlike passwords you specify in the Password to open box, passwords you specify in
the Password to modify box are not encrypted. These passwords are only meant to give
specific users permission to modify workbook data. For optimal password security, it's best to
119
ITWS Lab Department of Computer Science and Engineering
assign both passwords. An encrypted password to access the workbook, and one to provide
specific users with permission to modify its content.
Important Use strong passwords that combine uppercase and lowercase letters, numbers,
and symbols. Weak passwords don't mix these elements. Strong password: Y6dh!et5. Weak
password: House27. Use a strong password that you can remember so that you don't have to
write it down.
4. If you want to use a different encryption type, click Advanced, click the type you want in the
Choose an encryption type list, and then click OK.
5. If needed, specify the number of characters you want in the Choose a key length box.
Note Document property encryption is enabled by default for most encryption types and
providers. It prevents unauthorized users from viewing summary and custom file properties
(such as the author or any custom file information) in the Properties dialog box. When users
right-click the password-protected file, and then click Properties, information won't be
available on the Summary tab and Custom tab. Authorized users, however, can open the file
and view all file properties (File menu, Properties command). To disable document property
encryption, clear the Encrypt document properties check box.
6. Click OK.
7. When prompted, retype your passwords to confirm them.
8. Click Save.
9. If prompted, click Yes to replace the existing workbook.
Note You can also secure a workbook with a password on the Security tab of the Options dialog box
(Tools menu, Options command).
Workbook elements
Protect workbook elements
1. On the Tools menu, point to Protection, and then click Protect Workbook.
2. Do one or more of the following:
o To protect the structure of a workbook so that worksheets in the workbook can't be
moved, deleted, hidden, unhidden, or renamed, and new worksheets can't be inserted,
select the Structure check box.
o To protect windows so that they are the same size and position each time the workbook
is opened, select the Windows check box.
o To prevent others from removing workbook protection, type a password, click OK, and
then retype the password to confirm it.
Protect elements in a shared workbook
1. If the workbook is already shared (shared workbook: A workbook set up to allow multiple users
on a network to view and make changes at the same time. Each user who saves the workbook
sees the changes made by other users.), and you want to assign a password to protect the
sharing, unshare the workbook.
How?
1. Have all other users save and close the shared workbook. If other users are editing,
they will lose any unsaved work.
2. Unsharing the workbook deletes the change history (change history: In a shared
workbook, information that is maintained about changes made in past editing sessions.
The information includes the name of the person who made each change, when the
change was made, and what data was changed.). If you want to keep a copy of this
information, print out the History worksheet (History worksheet: A separate worksheet
that lists changes being tracked in a shared workbook, including the name of the person
who made the change, when and where it was made, what data was deleted or
replaced, and how conflicts were resolved.) or copy it to another workbook.
How?
1. On the Tools menu, point to Track Changes, and then click Highlight
Changes.
2. In the When box, click All.
120
ITWS Lab Department of Computer Science and Engineering
3. Clear the Who and Where check boxes.
4. Select the List changes on a new sheet check box, and then click OK.
5. Do one or more of the following:
▪ To print the History worksheet, click Print .
▪ To copy the history to another workbook, select the cells you want to
copy, click Copy , switch to another workbook, click where you want
the copy to go, and click Paste .
Note You may also want to save or print the current version of the workbook,
because this history might not apply to later versions. For example, cell locations,
including row numbers, in the copied history may no longer be current.
3. On the Tools menu, click Share Workbook, and then click the Editing tab.
4. Make sure that you are the only person listed in the Who has this workbook open
now box.
5. Clear the Allow changes by more than one user at the same time check box.
If this check box is not available, you must unprotect the workbook before clearing the
check box.
How?
1. Click OK, point to Protection on the Tools menu, and then click Unprotect
Shared Workbook.
2. Enter the password if prompted, and then click OK.
3. On the Tools menu, click Share Workbook, and then click the Editing tab.
6. When prompted about the effects on other users, click Yes.
2. Set other types of protection if you want: Give specific users access to ranges, protect
worksheets, protect workbook elements, and set passwords for viewing and editing.
3. On the Tools menu, point to Protection, and then click Protect Shared Workbook or
Protect and Share Workbook.
4. Select the Sharing with track changes check box.
5. If you want to require other users to supply a password to turn off the change history (change
history: In a shared workbook, information that is maintained about changes made in past
editing sessions. The information includes the name of the person who made each change,
when the change was made, and what data was changed.) or remove the workbook from
shared use, type the password in the Password box, and then retype the password when
prompted.
6. If prompted, save the workbook.
To Protect Worksheets
To prevent anyone from accidentally or deliberately changing, moving, or deleting important data, you
can protect certain worksheet (worksheet: The primary document that you use in Excel to store and
work with data. Also called a spreadsheet. A worksheet consists of cells that are organized into
columns and rows; a worksheet is always stored in a workbook.) or workbook elements, with or
without a password (password: A way to restrict access to a workbook, worksheet, or part of a
worksheet. Excel passwords can be up to 255 letters, numbers, spaces, and symbols. You must type
uppercase and lowercase letters correctly when you set and enter passwords.).
Important Worksheet or workbook element protection should not be confused with file security. It is
not meant to make your workbook more secure, and cannot protect it from users who have malicious
intent.
Worksheet elements
Protect worksheet elements from all users
1. Switch to the worksheet you want to protect.
2. Unlock any cells you want users to be able to change: Select each cell or range, click Cells on
the Format menu, click the Protection tab, and then clear the Locked check box.
121
ITWS Lab Department of Computer Science and Engineering
3. Hide any formulas that you don't want to be visible: Select the cells with the formulas, click
Cells on the Format menu, click the Protection tab, and then select the Hidden check box.
4. Unlock any graphic objects you want users to be able to change.
How?
You don't need to unlock buttons or controls for users to be able to click and use them. You can
unlock embedded charts, text boxes, and other objects created with the drawing tools that you
want users to be able to modify. To see which elements on a worksheet are graphic objects,
click Go To on the Edit menu, click Special, and then click Objects.
1. Hold down CTRL and click each object that you want to unlock.
2. On the Format menu, click the command for the object you selected: AutoShape,
Object, Text Box, Picture, Control, or WordArt.
3. Click the Protection tab.
4. Clear the Locked check box, and if present, clear the Lock text check box.
5. On the Tools menu, point to Protection, and then click Protect Sheet.
6. Type a password for the sheet.
Note The password is optional; however, if you don't supply a password, any user will be able
to unprotect the sheet and change the protected elements. Make sure you choose a password
you can remember, because if you lose the password, you cannot gain access to the protected
elements on the worksheet.
7. In the Allow all users of this worksheet to list, select the elements that you want users to
be able to change.
8. Click OK. If prompted, retype the password.
Give specific users access to protected ranges
In order to give specific users access to ranges, your computer must be running Windows 2000 or later
and it must be on a domain.
1. On the Tools menu, point to Protection, and then click Allow Users to Edit Ranges. (This
command is available only when the worksheet is not protected.)
2. Click New.
3. In the Title box, type a title for the range you're granting access to.
4. In the Refers to cells box, type an equal sign (=), and then type a reference or select the
range.
5. In the Range password box, type a password to access the range.
The password is optional; if you don't supply a password, any user will be able to edit the cells.
6. Click Permissions, and then click Add.
7. Locate and select the users to whom you want to grant access. If you want to select multiple
users, hold down CTRL while you click the names.
8. Click OK twice. If prompted, retype the password.
9. Repeat the previous steps for each range for which you're granting access.
10. To retain a separate record of the ranges and users, select the Paste permissions
information into a new workbook check box in the Allow Users to Edit Ranges dialog
box.
11. Protect the worksheet: Click Protect Sheet in the Allow Users to Edit Ranges dialog box.
12. In the Protect Sheet dialog box, make sure the Protect worksheet and contents of locked
cells check box is selected, type a password for the worksheet, click OK, and then retype the
password to confirm.
Note A sheet password is required to prevent other users from being able to edit your designated
ranges. Make sure you choose a password you can remember, because if you lose the password, you
cannot gain access to the protected elements on the worksheet.
To understand the use of Track changes and its applications
Microsoft Excel can maintain and display information about how a worksheet was changed.
122
ITWS Lab Department of Computer Science and Engineering
Change tracking logs details about workbook changes each time you save a workbook. You can use
this history to understand what changes were made, and to accept or reject revisions.
This capability is particularly useful when several users edit a workbook. It's also useful when you
submit a workbook to reviewers for comments, and then want to merge input into one copy, selecting
which changes and comments to keep.
How change tracking works
When you view the change history (change history: In a shared workbook, information that is
maintained about changes made in past editing sessions. The information includes the name of the
person who made each change, when the change was made, and what data was changed.), either
directly on the worksheet or on a separate History worksheet (History worksheet: A separate
worksheet that lists changes being tracked in a shared workbook, including the name of the person
who made the change, when and where it was made, what data was deleted or replaced, and how
conflicts were resolved.), you see who made each change, what type of change was made, when it
was made, what cells were affected, and what data was added or deleted.
Change tracking is available only in shared workbooks (shared workbook: A workbook set up to allow
multiple users on a network to view and make changes at the same time. Each user who saves the
workbook sees the changes made by other users.). In fact, when you turn on change tracking, the
workbook automatically becomes a shared workbook, although you don't have to store the workbook
where others can access it.
Change tracking differs from undo and backup Unlike the Undo button, you can't use the
change history to back out changes. However, the history includes a record of any deleted data, so
that you can copy lost data from the History worksheet back to the original cells. Because change
tracking isn't designed to help you return to earlier versions of a workbook, you should continue to
back up workbooks that have change tracking in effect.
Some types of changes aren't tracked Changes you make to cell contents are tracked, but other
changes, including formatting changes, are not. Some Excel features are unavailable in shared
workbooks and therefore aren't tracked.
History is kept only for a set interval When you turn on change tracking, the history is kept for
30 days. This limit keeps workbook size manageable. You can increase or decrease the number of days
of history to keep. If you want to keep the history indefinitely, you can specify a large number of days,
or you can make periodic copies of the history information.
How history gets deleted Excel determines what history is kept by counting back from the current
date. Each time you close the workbook, Excel erases any part of the change history that is older than
the number of days in effect the last time the workbook was saved.
For example, if you're keeping 30 days of change history, and you open a workbook for the first time
in two months, you'll be able to view the history from two months ago. However, when you close this
workbook, the history from 31 to 60 days ago is deleted.
If you turn off change tracking or stop sharing the workbook, all change history is permanently
deleted.
How to use change tracking
Excel provides the following ways to access and use the stored change history (change history: In a
shared workbook, information that is maintained about changes made in past editing sessions. The
information includes the name of the person who made each change, when the change was made, and
what data was changed.).
• Highlight onscreen Excel can outline changed areas in a different color for each user and
display the basic details as a comment when you rest the pointer over each changed cell.
Onscreen highlighting is useful when a workbook has only a few changes, or you want to see at
a glance what's changed.
• History worksheet Excel can display a separate worksheet that provides full details in list
form, so that you can filter (filter: To display only the rows in a list that satisfy the conditions
you specify. You use the AutoFilter command to display rows that match one or more specific
values, calculated values, or conditions.) to find changes of interest and print the information.
This History worksheet (History worksheet: A separate worksheet that lists changes being
tracked in a shared workbook, including the name of the person who made the change, when
and where it was made, what data was deleted or replaced, and how conflicts were resolved.) is
123
ITWS Lab Department of Computer Science and Engineering
useful when a workbook has lots of changes, or you want to investigate what happened in a
series of changes.
• Review changes Excel can step you through the changes in sequence using a dialog box
that lets you decide whether to accept or reject each change. This method is useful when you're
evaluating and working with comments from others.
To make use of Effective sorting
Sort rows in ascending order (A to Z, or 0 to 9) or descending order (Z to A, or 9 to 0)
1. Click a cell in the column you would like to sort by.
2. Click Sort Ascending or Sort Descending .
Note In a PivotTable report, Microsoft Excel uses the selected field to sort.
Sort rows by two or three criteria (columns)
For best results, the range you sort should have column labels, or headers.
1. Click a cell in the range you want to sort.
2. On the Data menu, click Sort.
3. In the Sort by and Then by boxes, click the columns you want to sort, starting with the most
important.
4. Select any other sort options you want, and then click OK.
Sort rows by four criteria (columns)
1. Click a cell in the range you want to sort.
2. On the Data menu, click Sort.
3. In the first Sort by box click the column of least importance.
4. Click OK.
5. On the Data menu, click Sort.
6. In the Sort by and Then by boxes, click the other three columns you want to sort, starting
with the most important.
7. Select any other sort options you want, and then click OK.
Sort rows by months or weekdays
1. Select a cell or range you want to sort.
2. On the Data menu, click Sort.
3. In the Sort by box, click the column you want to sort.
4. Click Options.
5. Under First key sort order, click the custom sort order you want, and then click OK.
6. Select any other sort options you want, and then click OK.
Use your own data as the sort order
1. In a range of cells, enter the values you want to sort by, in the order you want them, from top
to bottom. For example:
Data
High
Medium
Low
2. Select the range.
3. On the Tools menu, click Options, and then click the Custom Lists tab.
4. Click Import, and then click OK.
5. Select a cell in the range you want to sort.
6. On the Data menu, click Sort.
7. In the Sort by box, click the column you want to sort.
8. Click Options.
9. Under First key sort order, click the custom list you created. For example, click High,
Medium, Low.
10. Click OK.
11. Select any other sort options you want, and then click OK.
Note You can't use a custom sort order in a Then by box. The custom sort order applies only to the
column specified in the Sort by box. To sort multiple columns by using a custom sort order, sort by
124
[Type text]
ITWS Lab Department of Computer Science and Engineering
each column separately. For example, to sort by columns A and B, in that order, first sort by column B,
and then specify the custom sort order by using the Sort Options dialog box. Next, sort the range by
column A.
Sort columns instead of rows
Most of the time, you sort rows. This procedure sorts the order of columns.
1. Click a cell in the range you want to sort.
2. On the Data menu, click Sort.
3. Click Options.
4. Under Orientation, click Sort left to right, and then click OK.
5. In the Sort by and Then by boxes, click the rows you want to sort.
Note When you sort rows that are part of a worksheet outline, Microsoft Excel sorts the highest-level
groups (level 1) so that the detail rows or columns stay together, even if the detail rows or columns
are hidden.
Sort one column without affecting the others
Warning Be careful using this feature. Sorting by one column may produce results you don't want,
such as moving cells in that column away from other cells in the same row.
1. Click the column heading to select the column you want to sort.
2. Click Sort Ascending or Sort Descending .
The Sort Warning dialog box is displayed.
3. Select Continue with the current selection.
4. Click Sort.
If the results are not what you want, click Undo .
Notes
• To exclude the first row of data from the sort, because it is a column header, on the Data
menu, click Sort, and then under My data range has, click Header row.
• To do a case-sensitive sort, on the Data menu click Sort, click Options, and then select Case
sensitive.
To find the top or bottom values in a range, such as top 10 grades or bottom 5 sales amounts, use
AutoFilter.
125
ITWS Lab Department of Computer Science and Engineering
Microsoft PowerPoint
Task1
Task2
Creativity Session
Having established a relationship with the venture capitalist now let your creativity flow to come up with
novel ideas that can convince him to fund your ideas. Brainstorming is a good way to do some out of the
box thinking. The presentation shown in the task gives you tips on how to conduct a creativity session to
generate ideas. Create a similar presentation so that you know how to do brainstorming.
1. Slide transition
2. Master slide view
3. Insert picture – clipart, image
4. Action button
5. Drawing tool bar – lines, arrows
6. Hyperlink
7. Custom animation
8. Hide slide
9. Wash out
126
ITWS Lab Department of Computer Science and Engineering
Task3:
Marketing plan
The way you sell your product to the venture capitalist really decides whether your project will be funded or
not. Using the right strategies to market your product is crucial. Learn here how a typical marketing
presentation should look like and create a similar one yourself.
Task4
Business Presentation
Having learnt how to create presentations, build relationships, think creatively and market your product, you
are now ready to prepare your presentation to the venture capitalist. Practice your business plan presentation
by creating a similar presentation as shown in the task given.
127