Excel Practise Work
Excel Practise Work
SUM, AVERAGE, MAX, MIN, AND SIMPLE "IF" CONDITION. Marks Sheet
S# Name Test1 Test2 Test3 Total AVG Remarks AutoSum
In Microsoft Excel, adds numbers automatically with the SUM
1 Zahid 35 24 24 83 27.6666667 FAIL function. Microsoft Excel suggests the range of cells to be
added. If the suggested range is incorrect, drag through the
2 Akber 56 78 45 179 59.6666667 GOOD range you want, and then press ENTER.
3 Nida 12 13 23 48 16 FAIL In Word, inserts an = (Formula) field that calculates and displays
the sum of the values in table cells above or to the left of the cell
4 Moon 56 76 34 166 55.3333333 GOOD containing the insertion point.
5 Noor 26 75 87 188 62.6666667 GOOD Average
6 Faisal 53 56 78 187 62.3333333 GOOD Returns the average (arithmetic mean) of the arguments.
Min
Calculate Total, Average, Maximum, Minimum and Remarks by using Returns the smallest number in a set of values.
Excel Functions. If you feel problem to solve see the help that is given
IF Condition
below. Returns one value if a condition you specify evaluates to TRUE
and another value if it evaluates to FALSE.
Syntax
IF(logical_test,value_if_true,value_if_false)
Solution
Type in Cell C10 =MAX(C3:C9)
Type in Cell D10 =MIN(D3:D9)
Type in Cell G3 and Copy the formula =AVERAGE(C3:E3)
Shakeel Ahmad
Nested "IF" Conditions. GRADE SHEET
Student Name Roll# Test1 Test2 Test3 Test4 Test5 TOTAL Marks Obtained Per% Remarks Grade
Sana Khan 101 45 67 87 86 35 500 320 64% good B
WHAT IS THIS?
M. Ali 102 23 76 68 54 76 500 297 59% bad fail Nested IF Condition:
Kamran Saeed 103 34 67 78 75 82 500 336 67% good B Up to seven IF functions can be nested as value_if_true and value_if_false arguments
to construct more elaborate tests.
Nadia Barlas 104 94 89 79 90 88 500 440 88% exlnt A+
Nadeem Syed 105 23 56 74 33 67 500 253 51% bad fail An Example of Nested "IF" Condition
Soluttion
Type in Cell I3 =SUM(C3:G3)
Type in Cell J3 =I3/H3*100
Type in Cell K3 =IF(J3>=80,"EXLT",IF(J3>=70,"V.GOOD",IF(J3>=60,"GOOD","BAD")))
Shakeel Ahmad
SALES REPORT OF COCA COLA BEVERAGE
Employee
NAME BASIC SALE1 SALE2 SALE3
Code
Solution
Type in Cell G3 =SUM(D3:F3)
Type in Cell H3 =IF(G3>=1000,C3*35%,IF(G3>=800,C3*25,"TRY AGAIN"))
ALLOWANCE1
ALLOWANCE2
ALLOWANCE3
TOT.SALE
IF(AND(
ND) Condition Returns TRUE if all arguments are TRUE;
returns FALSE if any argument is FALSE.
0),1000,500) Syntax
IF(AND(logical1,logical2,...),"True",'False")
Month SalesPerson Qtr1 Qtr2 Qtr3 Total Sale R1 R2 R3 R4 R5 R6 R7
JAN Smith 0 8 9 17
JAN Gibbs 6 9 4 19
JAN Henery 7 8 1 16
FEB John 4 3 2 9
FEB Alen 7 6 4 17
MARCH Disoza 1 0 7 8
MARCH Smith 9 8 6 23
R4 =IF(COUNT(C2:E2)=3,"Y","N")
R5 =IF(COUNTIF(C2:E2,">5")>1,"Y","N")
R6 =IF(SUMIF(C2:E2,">5")>15,"Y","N")
R7 =IF(AVERAGE(C2:E2)>5,"Y","N")
R8 =IF(B2="Smith",SUM(C2:E2),"NOT")
R9 =IF(OR(B2="Smith",B2="John"),SUM(C2:E2),"NOT")
Shakeel Ahmad
Sm.Total Sm. & Joh. Total
"IF"
G "IF"
are getting some new
u are getting some new
Condition.
" Condition.
*R = Remarks
*Sm = Smith
*Joh = John
Shakeel Ahmad
VLOOKUP FUNCTION Grade Book Lookup_Value
Student Name ID# Test1 Test2 Test3 Test4 Test5 Total M. Obtain Per% Grade
WHAT IS THIS
Haider 6 67 56 89 68 80 500
Ali 3 56 57 78 46 47 500 Vlookup
Searches for a value in the leftmost column of a table, and then returns a value in the same row from a
Babar 4 78 89 88 90 87 500 column you specify in the table. Use VLOOKUP instead of HLOOKUP when your comparison values are
located in a column to the left of the data you want to find.
Zahid 1 98 99 91 95 90 500
Faisal 7 34 23 22 12 67 500 Syntax
Ameen VLOOKUP(lookup_value,table_array,col_index_num)
2 67 78 89 67 97 500
Rasool 5 24 34 34 23 34 500 Lookup_value is the value to be found in the first column of the array. Lookup_value can be a value, a
reference, or a text string.
Qadir 8 67 84 66 77 86 500 Table_array is the table of information in which data is looked up. Use a reference to a range or a range
Yahya 9 23 46 57 87 90 500
name, such as Database or List.
Alia 10 45 67 45 78 88 500
Col_index_num is the column number in table_array from which the matching value must be returned.
Grading Criteria
0% FAIL
Table_Array is the 40% D
complete table of 50% C
information
60% B
Col_Index is the
70% A Column# of
80% A+ Table_Array
Shakeel Ahmad
SORTING AND FILTER WHAT IS THIS?
NAME BASIC SALE1 SALE2 SALE3 TOT.SALE
SORTING
Z 2500 450 250 400 1100 Sort Command is used to arrange tha Information in selected
rows or lists Alphabetically, Numerically or by date in Ascending
Y 4000 240 200 124 564 order or Descending order. A TO Z or Z TO A, 1 TO 100……or
Q 2000 150 250 400 800 100 TO 1, 1-1-1998…..to….30-12-2002
DATA>SORT
N 2500 200 300 250 750
F 3400 56 67 89 212 FILTER
The quickest way to select only those items you want to display
D 3500 365 456 345 1166 in a list.
C 5000 45 67 678 790 DATA>FILTER>AUTO FILTER
C 3000 56 78 89 223
B 7000 346 890 456 1692
B 6000 245 666 78 989
B 5600 456 345 67 868
B 2400 150 100 400 650
B 2200 145 234 50 429
SALARY FOR THE MONTH
A 5000 367 78 98 543
A 4000 356 67 89 512
A 3400 340 56 360 756
A 3000 123 45 67 235 N Z
A 2300 230 56 345 631 23% 23%
A 2200 100 300 500 900
Z
Y
Q1 Sort Sheet in Ascending Order (Sort by Name in Ascending Order and then by Basic Descending Order) Q
Q2 Filter The Records (Basic >3000 and Total Sale <500 N
Tips Q
18%
STEPS FOR SORTING
STEP# 1 Select the above sheet from Cell# A2:F21
STEP# 2 Go into Data Menu and select Sort command Y
You will see a Sorting Window now select Ascending or Descending order and select the 36%
Column# by using sort by option and then by option.
Shakeel Ahmad
CHARTS
SHEET 1
Pakistan VS Australia
1st Match 2nd Match 3rd Match 4th Match 5th Match
Pakistan 234 301 298 156 213 WHAT IS THIS?
Australia 235 256 289 158 214
Method 1
About Charts
Create a Column Chart of SHEET1 Charts are visually appealing and make it easy for users to see
Select Sheet # 1 from A4 TO F6, Press F11 Function Key the Quick Chart Will be created on a new sheet. comparisons, patterns, and trends in data. For instance, rather
than having to analyze several columns of worksheet numbers,
you can see at a glance whether scores are falling or rising , or
how the Pakistan's score compare to the Australian score.
SHEET2 You can create a chart on its own sheet or as an embedded object
on a worksheet. You can also publish a chart on a Web page. To
NAME TOTAL SALE create a chart, you must first enter the data for the chart on the
SHAH 10000 worksheet. Then select that data and use the Chart Wizard to step
ALI 8900 through the process of choosing the chart type and the various
chart options.
KAMAL 3450
SONIA 6789 A chart is linked to the worksheet data it's created from and is
SANA 12345 updated automatically when you change the worksheet data.
ZIA 13456
YASEEN 10988 Create a Chart
QAMAR 6789 Select the cells that contain the data that you want to appear in the
ALAM 45677 chart.
Method 2
Create a Pie Chart of SHEET 2 Click Chart Wizard Button or go into the Insert menu and select
Select Sheet # 2 from A14 TO B23, Click on Chart Wizard Icon and follow all instructions. Chart Command than follow the all instructions carefully.
IMPORTANT
You can make a quick chart by pressing
F11 key, it will be a Column Chart but you
can change the Type by using Chart
Wizard Toolbar.
Shakeel Ahmad
COUNT FUNCTION
What is This?
COUNTBLANK
Counts empty cells in a specified range of cells.
Syntax
5 Type Here COUNTBLANK(range)
=COUNTBLANK(A18:A24) Range is the range from which you want to count
6 the blank cells.
9
Remarks
Cells with formulas that return "" (empty text) are
7 also counted. Cells with zero values are not counted.
8
Shakeel Ahmad
SumIf & CountIf Functions
WHAT IS THIS
Emp. Name Basic Bonus SumIf Adds the cells specified by a given criteria.
Kashif 4000 2000 CountIf Counts the Cells specified by a given criteria.
Ali 3000 1500
Noman 2500 1250 Syntax
Sidra 6000 1200 =SUMIF(range,"criteria")
Romana 4000 2000 =COUNTIF(range,"criteria")
Nasir 7000 700
Faisal 5000 2500
Nadeem 4000 2000 Sum the Bonus that have value
>2000 using Sumif Function.
Jalal 2500 1250
Rufi 5000 2500
Ayjaz 3000 1500
Lilly 6000 1200
Count the Bonus that have value
� >2000 using Sumif Function.
�
Solution
Type in Cell C17 =SUMIF(C5:C16,">2000")
Type in Cell C18 =COUNTIF(C5:C16,">2000")
Shakeel Ahmad
A B C D E F G H I J K L M
1 WHAT IS THIS?
2
3 DDB, SLN, SYD METHODS DDB
4 Returns the depreciation of an asset for a specified period using the
5 Cost of Computer 30000 double-declining balance method .
6 Salvage Value 5000 Syntax
7 Life 10 DDB(cost,salvage,life,period)
8 YEARLY DEPRECIATION
9 SLN
10 Period in Years Double Declining Straight Line Sum of Years Digit Returns the straight-line depreciation of an asset for one period.
11 1 Syntax
12 2 SLN(cost,salvage,life)
13 3
14 4
15 5
16 6 SYD
17 7 Returns the sum-of-years' digits depreciation of an asset for a specified period.
18 8 Syntax
19 9 SYD(cost,salvage,life,period)
20 10
21
22 Solution
23 Double Declining Rs.6,000.00 =DDB($B$5,$B$6,$B$7,A11) Type in Cell b11
24 Straight Line Rs.2,500.00 =SLN($B$5,$B$6,$B$7) Type in Cell C11
25 Sum of Years Digit Rs.4,545.45 =SYD($B$5,$B$6,$B$7,A11) Type in Cell D11
26
Shakeel Ahmad
PIVOT TABLE REPORT
NAME BASIC REGION SALE1 SALE2 SALE3 TOT.SALE WHAT IS THIS?
ALI 5000 EAST 367 78 98 543 Pivot Table?
BABAR 4000 WEST 356 67 89 512 A PivotTable report is an interactive table that you can use to quickly
summarize large amounts of data. You can rotate its rows and columns
SAFDAR 3400 EAST 340 56 360 756 to see different summaries of the source data, filter the data by
ZIA 3000 NORTH 135 45 67 247 displaying different pages, or display the details for areas of interest.
BILL 2300 SOUTH 230 56 345 631 When to use a Pivot Table Report
Use a PivotTable report when you want to compare related totals,
ALI 2200 EAST 100 300 500 900 especially when you have a long list of figures to summarize and you
SILVESTER 7000 WEST 346 890 456 1692 want to compare several facts about each figure. Use PivotTable
reports when you want Microsoft Excel to do the sorting, subtotaling,
NOMAN 6000 SOUTH 245 666 78 989 and totaling for you.
BABAR 5600 NORTH 456 345 67 868
YOUSUF 2400 EAST 150 100 400 650
AZIZ 2200 WEST 145 234 50 429
AKRAM 5000 EAST 45 67 678 790
ALI 3000 EAST 56 78 89 223
RAO 3500 SOUTH 365 456 345 1166
MALIK 3400 NORTH 56 67 89 212
AFSAR 2500 WEST 200 300 250 750
RAEES 2000 SOUTH 150 250 400 800
RASHEED 4000 EAST 240 200 124 564
ZIA 2500 SOUTH 450 250 400 1100
From the group of field button on the right, drag the fields that you want onto the ROW and Column area
in the diagram.
To include a data field drag the field onto the DATA area.
Note: Data area is a different summary function to calculate the numeric fields
You should place all Numeric Data Fields in this area
You can include more than one fields in this area
STEP#7 When you are satisfied with the layout, press OK, and press Finish.
Shakeel Ahmad
Subtotals
Person Name Type Unit Sold Unit Price Total Price
Ayjaz TV 4 10000 40000
Ayjaz TV 3 10000 30000
Ayjaz Car 1 200000 200000
Babar TV 1 10000 10000
Babar Printer 1 6000 6000 WHAT IS THIS?
Faisal Computer 3 50000 150000
Faisal Ribbon 4 300 1200 Subtotal?
Faisal Scanner 2 3000 6000
Kashif Computer 5 50000 250000 Microsoft Excel can automatically summarize data by
Nadeem Computer 7 50000 350000 calculating subtotal and grand total values in a list. To use
automatic subtotals, your list must contain labeled columns
Nadeem TV 6 10000 60000 and the list must be sorted on the columns for which you want
Nadeem Car 2 200000 400000 subtotals.
Nadeem Printer 5 6000 30000
Nadeem Dimm 10 500 5000
Rufi VCR 4 12000 48000
Rufi Printer 5 6000 30000
Rufi Computer 6 50000 300000
Rufi Ribbon 9 300 2700
Zubair Car 1 200000 200000
Zubair VCR 2 12000 24000
STEP# 1 Sort the list by the column for which you want to
Calculate subtotals.
STEP# 2 Select data from A2 to E22
STEP# 3 On the Data menu, click Subtotals.
You will see a new window
STEP# 4 In the At each change in box, click the column that
contains the group for which you want subtotals.
STEP# 5 In the Use function box, click the function you want to
use to calculate the subtotals.
STEP# 6 In the Add subtotal to box, select the check boxes for
the columns that contain the values for which you
want to subtotals.
STEP# 7
Shakeel Ahmad
Conditional Formatting
What is This?
Conditional Formatting allows you to change the formatting applied
to cell depending on the current value of the cell. This can make
auditing large worksheets much faster by automatically highlighting
exceptions. Conditional Formatting allows you to apply up to three
separate conditions to a cell.
4
Cells H10:H14 contain three Conditional Formatting rules that will 7
change the formatting of the cells depending on the values entered
text
into the cells.
1
To see the conditions applied to the cells, select cell H10, and then 15
click Conditional Formatting on the Format menu.
To see the conditions applied to the cells, select cell H19, and then
click Conditional Formatting on the Format menu.
10 4
20 5
30
40 8
50
Data Validation
Data Validation allows you to set up restrictions for the values that
WHAT IS THIS?
can be entered into a cell. The following examples present several
DATA VALIDATION
common scenarios for using Data Validation.
Data Validation allows yo
Data Validation Example #1 - Restricting Entry to Numeric Values can be entered into a ce
common scenarios for us
Cells H9:H13 have been formatted with a validation rule that
restricts cell entries to numeric values. This example utilizes the STEPS:
Stop style for the Error alert, which prevents you from making an 1. Go into Data Menu an
invalid entry into the selected cell.
2. Set the Validation Cri
To see the Validation settings for this example, select cell H9, and
then click Validation on the Data menu.
To see the Validation settings for this example, select cell H19,
and then click Validation on the Data menu.
Cells H30:H34 have been formatted with a validation rule that will
alert you if you do not enter a whole number between 1 and 10.
This example utilizes the Information style for the Error alert, which
informs you of an invalid entry, but allows you to keep the current
value.
To see the Validation settings for this example, select cell H30,
and then click Validation on the Data menu.
To see the Validation settings for this example, select cell H41,
and then click Validation on the Data menu.
WHAT IS THIS?
DATA VALIDATION
Data Validation allows you to set up restrictions for the values that
can be entered into a cell. The following examples present several
common scenarios for using Data Validation.
STEPS:
1. Go into Data Menu and secect the command "Validation"
Bob
Chris
David
John
Mike
Perry
Randal
Steve
Tim
Auditing Toolbars
Trace Dependents
New Comments
Trace Precedents
Instructions EXAMPLES
Use of Precedents and Dependents
ITEM LIST
Mouse Keyboard Printer Joystick TOTAL
UNIT PRICE 100 200 10000 1200 11500
QUANTITY 20 20 5 10 55
TOTAL PRICE 2000 4000 50000 12000 68000
GRAND TOTAL 68000
Step1 Go into Tools Menu and place mouse pointer on Auditing Command and then click on Show Auditing Tool Ba
Step2 Now Place the Cell Pointer on Cell# F31, and then click on Trace Precedents Button
One blue tracer arrow will be appeared.
Step3 Place the Cell Pointer on Cell# B33, and click on Trace Dependents Button
Now two tracer arrows will be appeared.
Step4 If you want to remove all Tracing Arrows click on Remove All Arrows Button.
EXAMPLES
7,$E$2:$E$7)
7,$F$2:$F$7)
BIG PAYROLL SHEET
EMP
NAME BASIC DESIGNATION H_RENT CONVEYANCE SPECIAL ALL.#1 T_ALL.S SPECIAL ALL.#2 I_TAX ALL.S_GT G_SALARY PF_DEDUCTION HB_ADVANCE HB_DEDUCTION T_DEDUCTIONS
A Rs. 25,000.00 DIRECTOR 13,750.00 3,750.00 6,250.00 23,750.00 5000 3750 28750 Rs. 53,750.00 10,750.00 650,000.00 13,750.00 28,250.00
B Rs. 25,000.00 DIRECTOR 13,750.00 3,750.00 6,250.00 23,750.00 5000 3750 28750 Rs. 53,750.00 10,750.00 600,000.00 13,750.00 28,250.00
C Rs. 15,000.00 ASSISTANT MANAGER 8,250.00 2,250.00 2,250.00 12,750.00 3000 750 15750 Rs. 30,750.00 3,075.00 500,000.00 6,000.00 9,825.00
D Rs. 10,000.00 OFFICER 5,500.00 1,500.00 1,000.00 8,000.00 2000 200 10000 Rs. 20,000.00 1,000.00 400,000.00 4,000.00 5,200.00
E Rs. 10,000.00 OFFICER 5,500.00 1,500.00 1,000.00 8,000.00 2000 200 10000 Rs. 20,000.00 1,000.00 425,000.00 4,000.00 5,200.00
F Rs. 6,000.00 TYPIST 3,300.00 900.00 300.00 4,500.00 0 200 4500 Rs. 10,500.00 200.00 350,000.00 1,200.00 1,600.00
G Rs. 4,000.00 PEON 2,200.00 600.00 200.00 3,000.00 0 200 3000 Rs. 7,000.00 200.00 300,000.00 800.00 1,200.00
H Rs. 15,000.00 ASSISTANT MANAGER 8,250.00 2,250.00 2,250.00 12,750.00 3000 750 15750 Rs. 30,750.00 3,075.00 250,000.00 3,000.00 6,825.00
I Rs. 10,000.00 OFFICER 5,500.00 1,500.00 1,000.00 8,000.00 2000 200 10000 Rs. 20,000.00 1,000.00 200,000.00 1,000.00 2,200.00
J Rs. 10,000.00 OFFICER 5,500.00 1,500.00 1,000.00 8,000.00 2000 200 10000 Rs. 20,000.00 1,000.00 225,000.00 2,000.00 3,200.00
K Rs. 6,000.00 TYPIST 3,300.00 900.00 300.00 4,500.00 0 200 4500 Rs. 10,500.00 200.00 - 400.00
L Rs. 4,000.00 PEON 2,200.00 600.00 200.00 3,000.00 0 200 3000 Rs. 7,000.00 200.00 150,000.00 400.00 800.00
TOTAL: 140000 77000 21000 22000 120000 28000 21000 148000 288000 32450 4050000 49900 92950
D3 =55%*B3
E3 =15%*B3 Calculate Present Value and Future Value Use Sum IF Function
F3 =IF(C3="DIRECTOR",25%*B3,IF(C3="MANAGER",20%*B3,IF(C3="ASSISTANT MANAGER",15%*B3,IF(C3="OFFICER",10%*B3,5%*B3)))) Rate 10% Range is (K3:K14)
G3 =D3+E3+F3 Years 2 Sum the Values >20000 in G_Salary
H3 =IF(G3>5000,20%*B3,0) Deposits 1,000 Formulas Ans formula
I3 =IF(B3>20000,15%*B3,IF(B3>15000,10%*B3,IF(B3>10000,5%*B3,200))) PV= 1736 =PV(K18,K19,K20) Rs. 169,000.00 =SUMIF(K3:K14,">20000")
J15 =G15+H15 FV= 2,100 =FV(K18,K19,K20) Sum the Values <20000 in G_Salary
K3 =B3+J3 Calculate Payment(PMT) Rs. 35,000.00 =SUMIF(K3:K14,"<20000")
L3 =IF(C3="DIRECTOR",20%*K3,IF(C3="MANAGER",15%*K3,IF(C3="ASSISTANT MANAGER",10%*K3,IF(C3="OFFICER",5%*K3,200)))) Rate 0.92% Sum the Values=20000 in G_Salary
K15 =B15+J15 Month 300 Rs. 80,000.00 =SUMIF(K3:K14,"=20000")
L3 =IF(C3="DIRECTOR",20%*K3,IF(C3="MANAGER",15%*K3,IF(C3="ASSISTANT MANAGER",10%*K3,IF(C3="OFFICER",5%*K3,200)))) Loan 100000 Fromula
N3 =IF(M3>500000,55%*B3,IF(M3>350000,40%*B3,IF(M3>200000,20%*B3,IF(AND(M3<=200000,M3>0),10%*B3,0)))) PMT= 983.01 =PMT(K24,K25,K26,)
O3 =I3+L3+N3 =PV(Rate, Number of Periods, Payment)
Instructions for FILTER =FV(Rate, Number of Periods, Payment)
Select All Data with Headings, Go into Data Menu, Click Filter, Select Auto Filter, Click DragDown Arrow of BASIC, Go into Custom and Select ">" type 20000 and Press OK. (RANGE IS A2:O14) =PMT(Rate, Number of Periods, Payment)
Filter Records BASIC > 20000
EMP_NAME BASIC DESIGNATION H_RENT CONVEYANCE SPECIAL ALL.#1 T_ALL.S SPECIAL ALL.#2 I_TAX ALL.S_GT G_SALARY PF_DEDUCTION HB_ADVANCE HB_DEDUCTION T_DEDUCTIONS
A Rs. 25,000.00 DIRECTOR 13750 3750 6250 23750 5000 3750 28750 53750 10750 650000 13750 28250
B Rs. 25,000.00 DIRECTOR 13750 3750 6250 23750 5000 3750 28750 53750 10750 600000 13750 28250
Max, Min, Average Find Value of Cell A5 in column#2 and #3 by using Vlookup Function
Max Basic =
Min Basic=
Rs
Rs
25,000.00 =MAX(B3:B14)
4,000.00 =MIN(B3:B14) Column # 3 ASSISTANT MANAGER
The VLOOKUP range is A2:C14
=VLOOKUP(A5,A2:C14,3,TRUE)
Note
Average G_salary 23666.6666666667 =AVERAGE(K3:K14) Column # 2 15000 =VLOOKUP(A5,A2:C14,2,TRUE) Create a Bar Chart
Range
How to use this Assignment
Emp-name+G-Salary
Use IF Condition with AND Chart Range & IF Condition Range Use IF Condition with OR Chart & IF Condition Range
PAYROLL
Open a worksheet Program
EMP_NAME BASIC EMP_NAME G_SALARY
60000
Make a Database with the all fields as
10000 =IF(OR(I44="A",I44="B"),10000,5000) 10000 A
=IF(AND(D44="A",E44>20000),10000,5000) A Rs. 25,000.00 53750 A
B
described above
D44=EMP-NAME AND E44=BASIC 5000 B Rs. 25,000.00 I44=EMP_NAME Cell Address 10000 B 53750 50000
C Fill the required fields then apply the
Cell Addresses 5000 C Rs. 15,000.00 Description 5000 C 30750 D
different functions as explained in detail in
40000 E
Description 5000 D Rs. 10,000.00 5000 D 20000
If the value of I44 F this sheet.
5000 E Rs. 10,000.00 5000 E 20000
If the value of D44 equals to "A" equals to "A" OR "B" 30000 G
Refer to the correct cell Addresses in
5000 F Rs. 6,000.00 5000 F 10500 H
AND E44 is greater then 20000 then assign 10000 in inserting formulas.
5000 G Rs. 4,000.00 5000 G 7000 20000 I
then assing 10000 in C44 H44 J
5000 H Rs. 15,000.00 5000 H 30750
otherwise put 5000 in C44 5000 I Rs. 10,000.00
otherwise put 5000 in 5000 I 20000
10000
K
L
<> 5000 J Rs. 10,000.00
H44 5000 J 20000
<> 0
5000 K Rs. 6,000.00 5000 K 10500 G_SALARY
5000 L Rs. 4,000.00 5000 L 7000
Make Chart Easily
Sort the Chart Range EMP_NAME G_SALARY
BASIC
Data in descending order L 7000
Select the Data with Mouse.
K L A Go into Insert Menu and click Chart or Click Chart
J Highlight all Data by Mouse K 10500 Icon in Standard Toolbars.
I A B
C D
Go into Data Menu J 20000 The Chart window appears.
E F Click Sort I 20000
Select Chart Type than click on Next Button.
Now Check your Chart Range.
H B G H Select Emp_Name in Sortby H 30750 Click Next.
I J
Create a Pie Chart Click Descending Button G 7000 Then Give the Chart Title and use other Chart options
K L
F
in Chart Wizard Window.
Range G E D C and then Click OK F 10500 Click Next.
Emp-nam+Basic E 20000 Select "As Object In" then click Finish.
The Chart is Ready.
D 20000
C 30750
Use "Count If" Function Calculate "VAR" and "Stdev" B 53750
ITEM JANUARY Name Score A 53750
Computer 100 Amir Sohail 100
Mouse 250 Inzemam 45
Keyboard 200 Afridi 56
Fan 150 Moeen Khan 78
Tv 300 =VAR(E69:E72) 594.916666666667
Total 1000 =STDEV(E69:E72) 24.3909136086918
CountIF= 2
=COUNTIF(B69:B73,">200")
IRR
Returns the internal rate of return for a series of cash flows represented by the numbers in values. These cash
flows do not have to be even, as they would be for an annuity. However, the cash flows must occur at regular
intervals, such as monthly or annually. The internal rate of return is the interest rate received for an investment
consisting of payments (negative values) and income (positive values) that occur at regular periods.
Examples
Suppose you want to start a restaurant business. You estimate it will cost $70,000 to start the business and expect
to net the following income in the first five years: $12,000, $15,000, $18,000, $21,000, and $26,000. B1:B6 contain
the following values: $-70,000, $12,000, $15,000, $18,000, $21,000 and $26,000, respectively.
Solution
Cost (Cost or Investment must be with (-) Minus Sign
Income of Year-1
Income of Year-2
Income of Year-3
Income of Year-4
Income of Year-5
1 To calculate the investment's internal rate of return after four years:
=IRR(J6:J10) equals -2.12 percent
2 To calculate the internal rate of return after five years:
=IRR(J6:J11) equals 8.66 percent
3 To calculate the internal rate of return after two years, you need to include a guess:
=IRR(J6:J8,-10%) equals -44.35 percent
rs in values. These cash
s must occur at regular
ceived for an investment
gular periods.
-70000
12000
15000
18000
21000
26000
-2%
9%
-44%
Food Sales Person Name Cost Each Item Sold
Cheese & Tomato Baker £0.35 17
Tuna &Tomato Zambi £0.35 12
Sandwiches Tomato & Cucumber Cethy £0.35 5
Egg & Maranade Armor £0.35 2
Q2. Calculate Stocking by using "IF" Logical Function. Tips: [Item Sold is greater than 15, Print "Restock" otherwise Print "
Q4. Calculate Bonus by using VLOOKUP Function. Tips: [The Rate Table is Given Below use this table and use Item Sold
Q5. Calculate Maximum, Minimum and Average by using Excel Built-in Functions. (3 pts.)
Q6. Filter the Sheet. Tips: [ Show only "Baker's" Records]. (3 pts.)
Total Time (1/2 hr)
Q2. Calculate Stocking by using "IF" Logical Function. Tips: [Item Sold is greater than 15, Print "Restock" otherwise Print "
Q4. Calculate Bonus by using VLOOKUP Function. Tips: [The Rate Table is Given Below use this table and use Item Sold
Q5. Calculate Maximum, Minimum and Average by using Excel Built-in Functions. (3 pts.)
Q6. Filter the Sheet. Tips: [ Show only "Baker's" Records]. (3 pts.)
Q7. Sort the Sheet. Tips: [Sort by "Sales Man Name" for Sendwiches in Ascending order]. (2 pts.)
Q8. Create a Pivote Table Report. Tips: [Use "Sales Man Name" and "Food" at Row area and "Total Cost" at Data area of P
Q9. Create a Pie Chart. Tips: [ Use only "Food" and "Item Sold Field" for Crisps]. (2 pts.)
Q10. Apply Conditional Formatting on Column Stocking Tips: [ If the results is Restock the Font Color should be red other w
should be Green]. (3 pts)
Q11. Apply Validation Rules. Tips: [ Apply these rules on "Item Sold" Column, the Number > 30 should be Invalid otherwise
Data by using Auditing Tool]. (5 pts).
Total Cost Stocking Bonus
his table and use Item Sold Field for Bonus] (4 pts)
t "Restock" otherwise Print "Stock"] (2 pts.)
his table and use Item Sold Field for Bonus] (4 pts)
ts.)
INSTRUCTIONS
Q1. Create a worksheet given above the doted line. 5 PTS
Total Points 35
Tour of London
Asim Director 10 15 17 13
Nabeel Officer 0 12 20 8
Faisal Assistant 15 12 0 14
Nadeem Director 7 14 9 13
Aijaz Director 12 5 6 2
Sajjad Officer 13 24 10 6
Sub Total
Grand Total £
INSTRUCTIONS
Q1. Create a Worksheet given above the doted line 5pts
Q2. Calculate Average & Total 5pts
Q3. Calculate Remarks using IF Condition 5pts
IF TOTAL>50 "BAD"
IF TOTAL >40 "GOOD" Else "VGOOD"
Q4. Paste IF Condition as a Text 2pts
Q5. Calculate Sub Totals 3pts
Q6. Calculate Grand Total 5pts
Q8. Calculate Suggestion 5pts
Calculate Suggestion using IF Condition with Average
IF Average > 10 "Please Take Care" "OK
Q.9 Create a Pie Chart of Name & Total 5pts
Total Points 35
July 20, 2002 to January 15, 2003
INSRUCTIONS
INSTRUCTIONS FOR SHEET1
Q1 Create the worksheets given above the doted lines
Q3 Paste all Formulas of Sheet1 and Sheet two as a text at the end of the Sheets.
Total Points
SHEET 2
ATION COMPARISON
Calculator
1000
4
100
5 pts
5 pts
5 pts
5 pts
10 pts
5 pts
35
WORLD CUP
ONE DAY CRICKET MATCH REPORT
TEAM NAME MATCH1 MATCH2 MATCH3 TOTAL WON LOST AVG SCORE TOTAL WORLD RANKING REMARKS
Australia 235 325 345 905 3
Bangladesh 120 111 67 298 0
Canada 156 201 189 546 1
England 234 167 178 579 2
India 344 289 290 923 3
Pakistan 278 321 322 921 3
South Africa 320 278 290 888 3
West Indies 221 189 190 600 2
INSTRUCTIONS
Total Time Allowed 25 Minutes
Total Marks = 25
Q1 Design the given sheet (3pts)
Q2 Calculate LOST Matches by using Formula (3pts)
Q3 Calculate Average Score by using Excel Function (2pts)
Q4 Calculate the Total of Two Greatest Values from Three Matches by using Proper Excel Formulas (3pts)
Q5 Calculate World Ranking by using IF condition (5pts)
Tips:
IF the Team Won All Three Matches & Average Score is Greater than or Equals to 300, Ranking will be 1st
IF the Team Won Only Two Matches & Average Score is Greater than or Equals to 200, Ranking will be 2nd
Otherwise Ranking will be 3rd.
Q6 Calculate Remarks by using IF Condition (2pts)
Tips:
IF the World Ranking is 3 the team is POOR
If the World Ranking is 2 the team is GOOD
If the World Ranking is 1 the team is EXLT
Q7 Create a Pivot Table Report on a new worksheet (4pts)
Use Team Names, Won Matches and Average Score for Pivot Table
Q8 Apply Filter Command "Show EXLT Teams Only" (3pts)
SOLUTION
G4 ==> =3-F4
H4 ==> =AVERAGE(B4:D4)
I4 ==> =SUM(B4:D4)-MIN(B4:D4)
J4 ==> =IF(AND(F4>2,H4>=300),"1",IF(AND(F4>1,H4>=200),"2","3"))
K4 ==> =IF(J4="3","POOR",IF(J4="2","GOOD","EXLT"))
INSTITUTE OF COST AND MANAGEMENT ACCOUNTANTS OF PA
NAME BASIC SALARY GRADE SEX LOCATION HOUSE RENT MEDICAL CONV.
Zahida 3000 17 F Gulshan
Hamid 2800 16 M Malir
Benson 2500 15 M Orangi
Ali 4000 19 M Landhi
Dawar 4500 20 M Steel Town
Yasmin 4500 20 F Korangi
Ali 4500 20 M Gulbarg
Nomana 3000 17 F F.B. Area
Badar 2800 16 M Clifton
Ali 3000 17 M Gulshan
Chachar 2500 14 M Nazimabad
Bushra 4000 19 F F.B. Area
Condition:
HOUSE RENT: Grade>=15, 10% of Basic, Grade>17, 13% of Basic, Grade>19, 20% of Basic
of Basic.
MEDICAL: Grade>=15, 12% of Basic, Grade>17, 15% of Basic, Grade>19, 22% of Basic O
of Basic.
CONV. Grade>=15 and Sex=F and Location is either Korangi, Landhi, Steel Town, 30%
Otherwise 20% of Basic, Grade>19, 35% of Basic.
I. TAX: 5% of Basic
______________________________________________________________________________
INSTRUCTIONS:
SOLUTION
FOR H. RENT =IF(C6>19,B6*20%,IF(C6>17,B6*13%,IF(C6>=15,B6*10%,B6*8%)))
FOR MEDICAL =IF(C6>19,B6*22%,IF(C6>17,B6*15%,IF(C6>=15,B6*12%,B6*10%)))
PAYROLL SHEET
I. TAX GROSS NET STATUS
Clerk.
__________________________
="Landhi",E6="Steel Town")),B6*30%,B6*20%))
National Beverage (Coca Cola)
RATE TABLE
Sale Limit Bonus Remarks
1 0 Out
100 0 Bad
200 0 Poor
300 1000 Fair
400 2000 Good
600 5000 Exlt
INSTRUCTIONS
Q1 Calculate Commission and Remarks using VLOOKUP Function
Q2 Calculate Total Commission on Basic
Q3 Make a Pivot Table Report and show only Emp-Name, Region and Total Commission
=VLOOKUP(D12,$A$4:$B$9,2)
=VLOOKUP(D12,$A$4:$C$9,3)
=C12*E12%
TOTAL SALARY
UNITS RATES
<50 2.5
<100 3 50
<200 5 100
<300 7 100
>300 10
Summary Report
INSTRUCTIONS
50 88 46 3
67 79 2
78 67 90 3
90 87 89 2
0 0 0 0
78 56 2
34 56 78 1
0 0 0 0
33 56 87 3
67 76 65 1
56 53 78 3
78 45 3
0 0 0 0
67 76 2
Not Allowed"))