Ms. Excel
Ms. Excel
Ms–Excel
ZEESHAN
COMPUTER
CENTER
Compose By:- M. Qureeb Zeeshan
Checked By:- M.Sanaullah Zahid
Ghazani Road Street No. 2 Mohallah Ahmad Pura, Sheikhupura
Online Help: 0344-6615458
Zeeshan Computer Center, Sheikhupura 2
Ms–Excel
The Microsoft Excel Window
This tutorial teaches Microsoft Excel basics. Although knowledge of how to navigate in a
Windows environment is helpful, this tutorial was created for the computer novice. To
begin, open Microsoft Excel. Then, if necessary, click the in the upper right corner of
the task pane to close the task pane.
Ms–Excel
The Title Bar
This lesson will familiarize you with the Microsoft Excel screen. You will start with the
Title bar, which is located at the very top of the screen. On the Title bar, Microsoft Excel
displays the name of the workbook you are currently using. At the top of your screen, you
should see "Microsoft Excel - Book1" or a similar name.
The Menu bar is directly below the Title bar. The menu begins with the word File and
continues with Edit, View, Insert, Format, Tools, Data, Window, and Help. You use a
menu to give instructions to the software. Point with your mouse to a menu option and
click the left mouse button. A drop-down menu opens. You can now use the left and right
arrow keys on your keyboard to move left and right across the Menu bar. You can use the
up and down arrow keys to move up and down the drop-down menu. To choose an
option, highlight the item on the drop-down menu and press Enter. An ellipse after a
menu item signifies additional options; if you choose that option, a dialog box opens.
Toolbars
Toolbars provide shortcuts to menu commands. Toolbars are generally located just below
the Menu bar. Before proceeding with this lesson, make sure the toolbars you will use --
Standard and Formatting -- are available. Follow the steps outlined here:
Worksheets
Ms–Excel
Microsoft Excel consists of worksheets. Each worksheet contains columns and rows. The
columns are lettered A to IV; the rows are numbered 1 to 65536. The combination of a
column coordinate and a row coordinate make up a cell address. For example, the cell
located in the upper left corner of the worksheet is cell A1, meaning column A, row 1.
Cell E10 is located under column E on row 10. You enter your data into the cells on the
worksheet.
Formula Bar
If the Formula bar is turned on, the cell address displays in the Name box on the left side
of the Formula bar. Cell entries display on the right side of the Formula bar. Before
proceeding, make sure the Formula bar is turned on.
Status Bar
If the Status bar is turned on, it appears at the very bottom of the screen. Before
proceeding, make sure the Status bar is turned on.
Ms–Excel
The End key, used in conjunction with the arrow keys, causes the cursor to move to the
far end of the spreadsheet in the direction of the arrow.
Name Box
Selecting Cells
Ms–Excel
If you wish to perform a function on a group of cells, you must first select those cells by
highlighting them. To highlight cells A1 to E1:
Entering Data
In this lesson, you are going to learn how to enter data into your worksheet. First, you
place the cursor in the cell in which you would like to enter data. Then you type the data
and press Enter.
Ms–Excel
Editing a Cell
After you enter data into a cell, you can edit it by pressing F2 while you are in the cell
you wish to edit.
You can also edit the cell by using the Formula bar. You can change "Jones" to "Joker"
as follows:
Ms–Excel
3. Use the backspace key to erase the "s," "e," and "n."
4. Type ker.
5. Press Enter.
Ms–Excel
Typing in a cell while you are in the Ready mode replaces the old cell entry with the new
information you type.
Wrapping Text
When you enter text that is too long to fit in a cell into a cell, it overlaps the next cell. If
you do not want it to overlap the next cell you can wrap the text.
Ms–Excel
Deleting a Cell Entry
To delete an entry in a cell or a group of cells, you place the cursor in the cell or highlight
the group of cells and press Delete.
In Microsoft Excel, you can enter numbers as labels or as values. Labels are alphabetic,
alphanumeric, or numeric text on which you do not perform mathematical calculations.
Values are numeric text on which you perform mathematical calculations. If you have a
numeric entry, such as an employee number, on which you do not perform mathematical
calculations, enter it as a label by typing a single quotation mark first.
Enter a number:
The number 100 appears in cell B1 as a numeric value. You can perform mathematical
calculations using this cell entry. Note that by default the number is right-aligned.
Enter a value:
The number 100 appears in cell C1 as a label. Note that by default the cell entry is left-
aligned and a green triangle appears in the upper left corner of the cell.
Saving a File
Ms–Excel
Closing Microsoft Excel
Microsoft Excel enables you to choose a default font. The default font is the style of
typeface that Excel will use unless you specify a different style. For the exercises in this
lesson, you want your font to be set to Arial, Regular, and Size 10. To set your font to
Arial, Regular, and Size 10:
When you open Microsoft Excel, the width of each cell is set to a default width. This
width is called the standard column width. You need to change the standard column
width to complete your exercises. To make the change, follow these steps:
1. Choose Format > Column > Standard Width from the menu. The Standard
Width dialog box opens.
2. Type 25 in the Standard Column Width field. Click OK. The width of every cell
on the worksheet should now be set to 25.
3. Move to cell A1.
4. Type Cathy.
5. Press Enter.
Cell Alignment
Compose By:- M. Qureeb Zeeshan
Checked By:- M.Sanaullah Zahid
Ghazani Road Street No. 2 Mohallah Ahmad Pura, Sheikhupura
Online Help: 0344-6615458
Zeeshan Computer Center, Sheikhupura 12
Ms–Excel
The name "Cathy" is aligned with the left side of the cell. You can change the cell
alignment.
Ms–Excel
4. Click to open the drop-down box associated with the Horizontal field. After the
drop-down box opens, click Left (Indent).
5. Click OK to close the dialog box. The name "Cathy" is left-aligned.
Using the Formatting toolbar, you can quickly perform tasks. You can use the Formatting
toolbar to change alignment.
Ms–Excel
You can bold, underline, or italicize text in Microsoft Excel. You can also combine these
features -- in other words, you can bold, underline, and italicize a single piece of text.
In the exercises that follow, you will learn three different methods for bolding, italicizing,
or underlining text in Microsoft Excel. You will learn to bold, italicize, and underline by
using the menu, the icons, and the shortcut keys.
3. Choose Format > Cells from the menu. The Format Cells dialog box opens.
4. Choose the Font tab.
Microsoft Excel provides several types on underlines. The exercise that follows illustrates
some of them.
Single Underline
Ms–Excel
Double Underline
Single Accounting
Double Accounting
1. Highlight cells A2 to B2. Place your cursor in cell B2. Press the F8 key. Press the
right arrow key once.
2. Choose Format > Cells from the menu. The Format Cells dialog box opens.
Compose By:- M. Qureeb Zeeshan
Checked By:- M.Sanaullah Zahid
Ghazani Road Street No. 2 Mohallah Ahmad Pura, Sheikhupura
Online Help: 0344-6615458
Zeeshan Computer Center, Sheikhupura 16
Ms–Excel
3. Click Regular in the Font style box.
4. Click OK. Cell A2 is no longer be bolded. Cell B2 is no longer italized.
Ms–Excel
2. Click the check mark located on the Formula bar.
3. Click the Bold icon.
4. Click the Italic icon.
5. Click the Underline icon.
Alternate Method: Adding Bold, Underline, and Italic by Using Shortcut Keys
You can change the Font, Font Size, and Font Color of the data you enter.
Ms–Excel
5. Find and click Times New Roman in the Font box.
6. Click OK. The font changes from Arial to Times New Roman.
4. Click to open the drop-down menu associated with the color field.
5. Click Blue.
6. Click OK. The font color changes to blue.
Ms–Excel
Whenever you type text that is too long to fit into a cell, Microsoft Excel attempts to
display all the text. It left-aligns the text regardless of the alignment that has been
assigned to it, and it borrows space from the blank cells to the right. However, a long text
entry will never write over cells that already contain entries -- instead, the cells that
contain entries cuts off the long text. Do the following exercise to see how this works.
Earlier you increased the column width of every column on the worksheet. You can also
increase individual column widths. If you increase the column width, you will be able to
see the long text.
Ms–Excel
Column A is set to a width of 55. You should now be able to see all of the text.
You can also change the column width with the cursor.
1. Place the cursor on the line between the B and C column headings. The cursor
should look like the one displayed here, with two arrows.
2. Move your mouse to the right while holding down the left mouse button. The
width indicator appears on the screen.
3. Release the left mouse button when the width indicator shows approximately 40.
Ms–Excel
Setting the Enter Key Direction
In Microsoft Excel, you can specify which direction the cursor moves when you press the
Enter key. You can have the cursor move up, down, left, right, or not at all. You will now
make sure the cursor is set to move down when you press the Enter key.
1. Choose Tools > Options from the menu. The Options dialog box opens.
2. Choose the Edit tab.
3. Make sure there is a check mark in the "Move Selection after Enter" box.
4. If Down is not selected, click to open the Direction drop-down box. Click Down.
5. Click OK.
In Microsoft Excel, you can enter numbers and mathematical formulas into cells. When a
number is entered into a cell, you can perform mathematical calculations such as
addition, subtraction, multiplication, and division. When entering a mathematical
formula, precede the formula with an equal sign. Use the following to indicate the type of
calculation you wish to perform:
+ Addition
- Subtraction
* Multiplication
/ Division
^ Exponential
Addition
Ms–Excel
Subtraction
Multiplication
1. Hold down the Ctrl key while you press "g" (Ctrl-g). The Go To dialog box
opens.
Compose By:- M. Qureeb Zeeshan
Checked By:- M.Sanaullah Zahid
Ghazani Road Street No. 2 Mohallah Ahmad Pura, Sheikhupura
Online Help: 0344-6615458
Zeeshan Computer Center, Sheikhupura 23
Ms–Excel
2. Type C1 in the Reference field.
3. Press Enter. You should now be in cell C1.
4. Type 2 in cell C1.
5. Press Enter.
6. Type 3 in cell C2.
7. Press Enter.
8. Type =C1*C2 in cell C3.
9. Press Enter. Cell C1 is multiplied by cell C2 and the result is displayed in cell C3.
Division
1. Press F5.
2. Type D1 in the Reference field.
3. Press Enter. You should now be in cell D1.
4. Type 6 in cell D1.
5. Press Enter.
6. Type 3 in cell D2.
7. Press Enter.
8. Type =D1/D2 in cell D3.
9. Press Enter. Cell D1 is divided by cell D2 and the result is displayed in cell D3.
Ms–Excel
The AutoSum icon on the Standard toolbar automatically adds a column of numbers. The
following illustrates the SUM function:
1. Go to cell F1.
2. Type 3. Press Enter.
3. Type 3. Press Enter.
4. Type 3. Press Enter.
5. Click the AutoSum button, which is located on the Standard toolbar.
Automatic Calculation
If you have automatic calculation turned on, Microsoft Excel recalculates the worksheet
as you change cell entries. You can check to make sure automatic calculation is turned
on.
Ms–Excel
4. Click OK.
Make the changes outlined below and note how Microsoft Excel automatically
recalculates.
Formatting Numbers
You can format the numbers you enter into Microsoft Excel. You can add commas to
separate thousands, specify the number of decimal places, place a dollar sign in front of
the number, or display the number as a percent in addition to several other options.
Before formatting
After formatting
Ms–Excel
2. Type 1234567.
3. Press Enter.
4. Move the cursor back to cell A5.
5. Choose Format > Cells from the menu. The Format Cells dialog box will open.
6. Choose the Number tab.
7. Click Number in the Category box.
8. Type 2 in the Decimal Places box.
9. Place a check mark in the Use 1000 Separator box.
10. Click OK. The number should now display with two decimal places. The
thousands should now be separated by commas.
Ms–Excel
1. Move to a new worksheet by clicking on Sheet3 in the lower left corner of the
screen.
2. Go to cell A1.
3. Type =3+3+12/2*4.
4. Press Enter.
Note: Microsoft Excel divided 12 by 2, multiplied the answer by 4, added 3, and then
added another 3. The answer, 30, displays in cell A1.
To change the order of calculation, use parentheses. Microsoft Excel calculates the
information in parentheses first.
Note: Microsoft Excel added 3 plus 3 plus 12, divided the answer by 2, and multiplied
the result by 4. The answer, 36, displays in cell A1.
Cell Addressing
Microsoft Excel records cell addresses in formulas in three different ways, called
absolute, relative, and mixed. The way a formula is recorded is important when you copy
it.
With relative cell addressing, when you copy a formula from one area of the worksheet to
another, Microsoft Excel records the position of the cell relative to the cell that originally
contained the formula. The following exercises demonstrate:
Ms–Excel
1. Go to cell A7.
2. Type 1. Press Enter.
3. Type 1. Press Enter.
4. Type 1. Press Enter.
5. Go to cell B7.
6. Type 2. Press Enter.
7. Type 2. Press Enter.
8. Type 2. Press Enter.
9. Go to cell A10.
In addition to typing a formula, as you did in Lesson 1, you can also enter formulas by
using Point mode. When you are in Point mode, you can enter a formula either by
clicking on a cell with your mouse or by using the arrow keys.
You can copy entries from one cell to another cell. To copy the formula you just entered,
follow these steps:
Compare the formula in cell A10 with the formula in cell B10 (while in the respective
cell, look at the Formula bar). The formulas are the same except that the formula in cell
A10 sums the entries in column A and the formula in cell B10 sums the entries in column
B. The formula was copied in a relative fashion.
Ms–Excel
Before proceeding with the next exercise, you must copy the information in cells A7 to
B9 to cells C7 to D9. This time you will copy by using the Formatting toolbar.
1. Highlight cells A7 to B9. Place the cursor in cell A7. Press F8. Press the down
arrow key twice. Press the right arrow key once. A7 to B9 should be highlighted.
An absolute cell address refers to the same cell, no matter where you copy the formula.
You make a cell address an absolute cell address by placing a dollar sign in front of both
the row and column identifiers. You can do this automatically by using the F4 key. To
illustrate:
Now copy the formula from C10 to D10. This time, you will copy by using the keyboard
shortcut.
Ms–Excel
5. Press Esc to exit the Copy mode.
Compare the formula in cell C10 with the formula in cell D10. They are the same. The
formula was copied in an absolute fashion. Both formulas sum column C.
You use mixed cell addressing to reference a cell that is part absolute and part relative.
You can use the F4 key.
Deleting Columns
You can delete columns from your spreadsheet. To delete columns C and D:
Ms–Excel
2. Choose Edit > Delete from the menu. Column D is deleted.
3. Click anywhere on the spreadsheet to remove your selection.
Deleting Rows
You can delete rows from your spreadsheet. To delete rows 1 through 4:
1. Choose Edit > Delete from the menu. Rows 1 through 4 are deleted.
2. Click anywhere on the spreadsheet to remove your selection.
Inserting Columns
There will be times when you will need to insert a column or columns into your
spreadsheet. To insert a column:
Inserting Rows
Compose By:- M. Qureeb Zeeshan
Checked By:- M.Sanaullah Zahid
Ghazani Road Street No. 2 Mohallah Ahmad Pura, Sheikhupura
Online Help: 0344-6615458
Zeeshan Computer Center, Sheikhupura 32
Ms–Excel
You can also insert rows into your spreadsheet:
Creating Borders
You can use borders to make entries on your spreadsheet stand out. Accountants usually
place a single underline above a final number and a double underline below. The
following illustrates:
1. Go to cell B7.
2. Choose Format > Cells from the menu.
3. Choose the Border tab.
Ms–Excel
Alternate Method: Creating Borders by Using the Icon
1. Go to cell C7. Click the down arrow beside the Borders icon.
2. Select the Top and Double Bottom Border. Cell C7 now has borders.
You will sometimes want to center a piece of text over several columns. The following
example shows you how.
1. Go to cell B1.
2. Type Sample Spreadsheet.
3. Click the check mark on the Formula bar.
4. Select columns B1 to D1.
5. Click the Merge and Center icon on the formatting toolbar. Cells B1, C1, and
D1 are merged and centered.
1. Go to cell B1.
2. Choose Format > Cells from the menu.
3. Choose the Patterns tab.
Ms–Excel
Ms–Excel
You can format your data manually or you can use one of Microsoft Excel's many
AutoFormats.
Microsoft Excel has many functions that you can use. Functions allow you to quickly and
easily find an average, the highest number, the lowest number, a count of the number of
items in a list, and make many other useful calculations.
Reference Operators
Reference operators refer to a cell or a group of cells. There are two types of reference
operators, range and union.
A range reference refers to all the cells between and including the reference. A range
reference consists of two cell addresses separated by a colon. The reference A1:A3
includes cells A1, A2, and A3. The reference A1:C3 includes A1, A2, A3, B1, B2, B3,
C1, C2, and C3.
A union reference includes two or more references. A union reference consists of two or
more cell addresses separated by a comma. The reference A7,B8,C9 refers to cells A7,
B8, and C9.
Functions
Compose By:- M. Qureeb Zeeshan
Checked By:- M.Sanaullah Zahid
Ghazani Road Street No. 2 Mohallah Ahmad Pura, Sheikhupura
Online Help: 0344-6615458
Zeeshan Computer Center, Sheikhupura 36
Ms–Excel
Microsoft Excel has a set of prewritten formulas called functions. Functions differ from
regular formulas in that you supply the value but not the operators, such as +, -, *, or /.
For example, you can use the SUM function to add. When using a function, remember
the following:
=SUM(2,13,A1,B27)
In this function:
The SUM function adds the arguments together. In the exercises that follow, we will look
at various functions.
Typing a Function
Ms–Excel
Alternate Method: Entering a Function by Using the Menu
As you learned in Lesson 2, you can also calculate a sum by using the Sum icon.
Calculating an Average
You can use the AVERAGE function to calculate the average of a series of numbers.
In Microsoft Excel XP, you can use the Sum icon to calculate an average.
Calculating Min
You can use the MIN function to find the lowest number in a series of numbers.
Ms–Excel
1. Move your cursor to cell A7.
2. Type Min.
3. Press the right arrow key to move to cell B7.
4. Type = MIN(B1:B3).
5. Press Enter. The lowest number in the series, which is 12 appears.
Calculating Max
You can use the MAX function to find the highest number in a series of numbers.
Note: You can also use the drop-down menu next to the Sum icon to calculate minimums
and maximums.
Calculating Count
You can use the count function to count the number of items in a series.
You can use Microsoft Excel to fill cells automatically with a series. For example, you
can have Excel automatically fill in times, the days of the week or months of the year,
years, and other types of series. Days of the week and months of the year fill in a similar
fashion. The following demonstrates filling the days of the week:
1. Move to Sheet2.
2. Move to cell A1.
3. Type Sun.
4. Move to cell B1.
5. Type Sunday.
Ms–Excel
6. Highlight cells A1 to B1.
7. Bold cells A1 to B1.
8. Find the small black square in the lower right corner of the highlighted area. This
is called the Fill Handle.
9. Grab the Fill Handle and drag with your mouse to fill cell A1 to B24. Note how
the days of the week fill the cells in a series. Also, note that the Auto Fill Options
icon appears.
Some of the entries in column B are too long to fit in the column. You can quickly adjust
the column width to fit the longest entry.
1. Move your cursor over the line that separates column B and C. The Width
Indicator appears.
Ms–Excel
2. Grab the Fill Handle and drag with your mouse to highlight cells A1 to A24. Note
that each cell fills using military time.
3. Press Esc and then click anywhere on the worksheet to remove the highlighting.
1. Grab the Fill Handle and drag with your mouse to highlight cells D1 to D24. The
number 1 fills each cell.
2. Click the Auto Fill Options icon.
3. Choose the Fill Series radio button. The cells fill as a series starting with 1, 2, 3.
1. Go to cell E1.
2. Type Lesson 1.
3. Grab the Fill Handle and drag with your mouse to highlight cells E1 to E24.
4. The cells fill in as a series: Lesson 1, Lesson 2, Lesson 3, and so on.
Printing
The simplest way to print is to click the Print icon located on the Standard toolbar. Dotted
lines will appear on your screen after you click the print icon. The dotted lines indicate
the right, left, top, and bottom edges of your printed pages.
Print Preview
There are many print options. You can select print options options in Page Setup or in
Print Preview. In Print Preview, you can see the results of your selections onscreen. You
can use print options to:
Ms–Excel
you print landscape on an 8 1/2 by 11 sheet of paper, the length across the top of
your page will be 11 inches.
Scale your document. If your data is small in comparison to the page, you may
want to scale upward so the data fills the entire page. If your data is too large to fit
on the page, you may want to scale downward.
Specify how many pages wide and how many pages long you want your printed
document to be.
Select the paper size and print quality.
Set the first page number.
Set the size of your margins including your header and footer margins.
Center your spreadsheet horizontally and/or vertically on the page.
If you choose the Header/Footer tab, you can select headers and footers. A header is text
that appears at the top of every page. A footer is text that appears at the bottom of every
page. You can use headers and footers to insert page numbers, dates, and other
information.
To choose a header:
To choose a footer:
Click the Custom Header or Custom Footer button to customize your headers and footers.
Ms–Excel
Use the Left Section to place your options on the left side of the page, the Center Section
to place your options in the center of the page, and the Right Section to place your
optionds 9on the right side of the page.
The Sheet tab has options that allow you to choose which rows and columns will repeat at
the left and the top of the page. It also has options that allows you to determine whether
gridlines and/or row column headings print
Ms–Excel
PRACTICAL 1:
A B C D E F G H I J K L
1 Name Class Roll Paper Paper Paper Paper Marks Total Average Grade Remarks
No 1 2 3 4 Marks
2 Ali
9TH 10 22 55 55 22 400
3 Imran
9TH 11 34 47 37 77 400
4 Ahmed
9TH 12 44 32 60 65 400
5 Usman
9TH 13 36 66 50 45 400
6 Haroon
9TH 14 32 76 48 73 400
7 Faisal
9TH 15 44 58 67 39 400
8 Rehan
9TH 16 56 75 66 20 400
9 Awais
9TH 17 77 40 44 33 400
10 Tahir
9TH 18 30 22 44 44 400
Marks =SUM(D2:G2)
Average =AVERAGE(D2:G2)
Grade =IF(J2>80%,“A+”,IF(J2>70,“A”,IF(J2>55,“B”,IF(J2>40,
“C”,IF(J2>33,“D”,”E”)))))
Remarks = I F ( J 2 > 3 3 , “ P A S S ” , “ F A I L ” )
Ms–Excel
PRACTICAL 2:
A B C D E F G H I
1 Job Basic House Provident Income Gross Net
Name Medical
Status salary rent Fund Tax Pay pay
2 Hassan Executive 50000
3 Salman G.M 25000
4 Nadeem R.M 20000
5 Faisal Manager 18000
6 Akram In charge 15000
7 Farooq Officer 14000
8 Ahmad Clerk 10000
9 Yasir Clerk 10000
FORMULA:
House Rent =C2*45%
Medical =C2*10%
Provident Fund =C2*12%
Income Tax =C2*10%
Gross Pay =SUM(C2:E2)
Net Pay =H2-G2-F2
Ms–Excel
PRACTICAL 3:
Scholarship Statement:
A B C D E F G
1 Roll Obtaining Total Full Payable
Name Scholarship
No Marks Marks Fee Fee
2 111 Hassan 550 850 50000
3 112 Ahmad 777 850 50000
4 113 Maha 604 850 50000
5 114 Nadia 703 850 50000
6 115 Mohsin 557 850 50000
7 116 Ali 734 850 50000
8 117 Zeeshan 690 850 50000
9 118 Rida 567 850 50000
1) Enter Sample Data of Top Ten Boys & Girls on the basis of Academic
Achievements
2) Apply Formula to Calculate Scholarship on the following range of Marks.
a) 30% Scholarship of full fee will awarded to those who has marks
Between “500 to 600”.
b) 40% Scholarship of full fee will be awarded to those who secured
Marks between “600 to 700”.
c) 60% Scholarship of full fee will be awarded to those who secured above
“700”.
d) Apply formula to computer Payable Fee as
Payable Fee = Full Fee – Scholarship.
FORMULA:
Scholarship =IF(AND(C2>500,C2<=600),E2*30%,IF(AND
(C2>=600,C2<=700),E2*40%,IF(AND(C2>700),E2*60
%)))
Payable Fee =E2-F2
Compose By:- M. Qureeb Zeeshan
Checked By:- M.Sanaullah Zahid
Ghazani Road Street No. 2 Mohallah Ahmad Pura, Sheikhupura
Online Help: 0344-6615458
Zeeshan Computer Center, Sheikhupura 46
Ms–Excel
PRACTICAL 4:
A B C D E F G H I
1 Phone Local NWD Trunk Total Call Line Sales W.H Due
No. Calls Calls Calls Charges Rent Tax Tax Amount
2 10501 103 23 7
3 10529 511 12 5
4 34900 86 11 4
5 45003 180 8 12
6 34340 89 34 1
7 73232 401 23 2
8 45760 123 42 6
Use Formula for Calculate Sales Tax @ Rs.10% of the Total Call Charges.
Line Rent of Rs.170 is fixed for each Consumer per Telephone Line.
Apply formula to computer W.H Tax of Rs.50 will be charged if total call charges on
needed to Rs.1000.
Calculate Due Amount as Due Amount= Total Call Charges + Sales Tax +Line Rent
W.H Tax
FORMULA:
Total Calls Charges =(B2*2.20)+(C2*4.40)+(D2*7.00)
Sales Tax =C2*10%
W.H Tax =IF(E2>1000,50,0)
Due Amount =SUM(E2:H2)
Ms–Excel
PRCTICAL 5:
A B C D E F G H
1 Sr Name Designation Basic Conveyance Total Commission Gross
No Pay
2 1 Zeshan M.D 50,000 200000
3 2 Saleem G. Manager 30,000 150000
4 3 Nabeel Manger 15,000 120000
5 4 Azam Salesman 10,000 850000
6 5 Maqsood Salesman 15,000 500000
7 6 Aslam Salesman 7,000 100000
8 7 Umair Salesman 12,000 90000
9 8 Asim Salesman 10,000 130000
Calculate Gross Pay by using formula as “Gross Pay = Basic Pay + Conveyance +
Commission”.
FORMULA:
Conveyance = D 2 * 1 0 %
Commission = I F ( A N D ( F 2 > 5 0 0 0 0 , F 2 < = 1 0 0 0 0 0 ) , F 2 * 5 % ,
IF(AND(F2>100000,F2<=200000)F2*7%,
IF(AND(F2>200000),F2*10%)))
Gross Pay =D2+E2+G2
Ms–Excel
PRACTICAL 6:
A B C D E
1 SR Student Name Course Marks Eligibility
No. Offered
2 1 Zeeshan MCS 650
3 2 Ahmad BCS 750
4 3 Umair ICS 420
5 4 Saleem MCS 690
6 5 Moeed MBIT 750
7 6 Shalid MIS 640
8 7 Aslam DMS 540
9 8 Qamar BSC 700
10 9 Faisal ICS 480
11 10 nabeel A+ 600
FORMULA:
Eligibility =IF(AND(D2>660),“ELIGIBLE”,
IF(AND(D2<660),“NOT ELIGIBLE”))
Ms–Excel
PRCTICAL 7:
A B C D E F G H I
Manufacture
Agriculture
Sector wise
National
Income
Service
Sr. No.
Trade
Other
Year
total
1
2 1 1950 300
3 2 1960 350
4 3 1965 450
5 4 1970 500
6 5 1975 550
7 6 1980 600
8 7 1985 675
9 8 1990 700
10 9 1995 800
11 10 2001 900
Ms–Excel
PRCTICAL 8:
A B C D E F G H
1 Meter Consumer’s Pervious Current Gas Gas General Due
Number Name Reading Reading Consumed charge Sale tax amount
(Hm3)
2 80021 Ramzan 5000025 5085000
3 80022 Mubeen 5000040 5050000
4 80023 Kamran 4000000 4100000
5 80024 Haider 4000050 4150000
6 80025 Moeed 3203200 3285000
7 80026 Akram 6000000 6250000
8 80027 Riaz 606000 7000000
9 80028 Hameed 2525000 2605000
10 80029 Zeshan 1000000 1425000
FORMULA:
GAS CONSUMED =D3-C3
=IF(AND (E2>50000),E2/1000*3,IF (AND
GAS CHARGE E2>25000,E2<=50000),E2/1000*2.25,IF(AND
(E2>001,E2<=25000),E2/1100*1)))
SALE TAX =f2 *20%
DUE AMOUNT =SUM(F2:G2)
Ms–Excel
PRTICAL 9:
A B C D E F G H
1 Meter Previous Current Difference Electricity Surcharges GST Amount
Number Units Units Charges Payable
2 Ps-102 1045 1150
3 Ps-103 1049 1400
4 Ps-104 1305 1634
5 Ps-105 1025 1700
6 Ps-106 2020 2600
7 Ps-107 910 1000
8 Ps-108 4000 4200
9 Ps-109 1400 1630
10 Ps-110 1390 1500
11 Ps-111 2300 3200
Difference:
If Dif >=300 units then Rs/10 unit will be charged
If Dif >=200 units then Rs/7 unit will be charged
If Dif >=100 units then Rs/5 unit will be charged
If Dif >=0 units then Rs/2 unit will be charged
Surcharges:
Where surcharges is 12% of Electricity Charges
GST:
GST is 25 % of Electricity Charges
FORMULAS:
Difference =C3-B3
Electricity = I F ( A N D ( D 2 > 0 , D 2 < = 1 0 1 ) , D 2 * 2 , I F ( A N D ( D 2 > 1 0 1 , D 2 < = 2 0 1 ) , ( 1 0 0 * 2 )
Charges +(D2-100)*5,IF(AND(D2>201,D2<=301),(100*2)+(100*5)+(D2 -
100)*7,IF(AND(D2>301),(100*2)+(100*5)+(100*7),D2*10 ))))
Surcharges = D 2 * 1 2 %
GST =D2*25%
Amount =SUM(D2:G2)
Payable