Excel Practicals
-
Upload
roshan-karunarathna -
Category
Documents
-
view
74 -
download
2
Transcript of Excel Practicals
Current Sales
165<=100>100 and <=150
Sales value i>150 and <=200>200 and <=250>250
Hint :You May use if and AND fuctions
Month quarterJanuary First Quarter
February First Quarter
March First Quarter
April Second Quarter
May Second Quarter indicate which months fall in to which quarter.
June Second Quarter Hint :You May use if and OR fuctions
July Third Quarter
August Third Quarter
SeptemberThird Quarter
October Fourth Quarter
November Fourth Quarter
December Fourth Quarter
Calculate The Price After Tax
Net AmountTax PercentageTax AmountSales Using IF$100.00 8 $8.00 $108.00 $8.00$250.00 10 $25.00 $275.00 $25.00$599.00 0 $0.00 $599.00 No Tax$124.69 0 $0.00 $124.69 No Tax
$25.99 8 $2.08 $28.07 $2.08$91.50 10 $9.15 $100.65 $9.15
$241.00 8 $19.28 $260.28 $19.28$91.00 10 $9.10 $100.10 $9.10
$11.88 8 $0.95 $12.83 $0.95
Sale<$100 3%Sale=>100 and 5%Sale>=500 8%
sale comission$175.00 $8.75 $14.00$999.00 $79.92 49.95$245.00 $12.25 19.6
$1,256.00 $100.48 62.8$2,500.00 $200.00 125
$99.00 $2.97 2.97$12.00 $0.36 0.36
$245.00 $12.25 19.6$399.00 $19.95 31.92$502.00 $40.16 25.1
$1,000.10 $80.01 50.005
Value1 Value 2 Result1 0 First Value is Ok Sf0 1 Second Value is OK FS0 0 Both Values Are False r1 1 OK OK0 1 Second Value is OK FS0 1 Second Value is OK FS0 0 Both Values Are False r1 1 OK OK1 0 First Value is Ok Sf1 1 OK OK
A Company has a policy for individual commisions depending on sales,as shown below
1/13/2011
check the number can be divided by 4
Value Varient A(using int div normal div using int1 cant 0 0.25 can't6 cant 1 1.5 can't
3.5 cant 0 0.875 can't8 ok 2 2 can5 cant 1 1.25 can't
6.6 cant 1 1.65 can't64 ok 16 16 can72 ok 18 18 can38 cant 9 9.5 can't
Excersice 2…..
Show invali values Hint-use IF,TYPE and ANDValue check
1 1 1 15 1 5 5
excel 2 invalid invalid12 1 12 12
4 1 4 42,45 2 invalid invalid
12.5 1 12.5 12.51 0 invalid
42.99 1 42.99 42.99
Excersice 3…………
Value Check1 12 43 94 165 256 367 498 64
9 8110 10011 12112 14413 0
Exercise 4 -Today functionPrint Date is past future or today
Date Varient1/8/2011 Past1/9/2011 Past
1/10/2011 Past1/11/2011 Past1/12/2011 Past 4/8/20231/13/2011 Past1/14/2011 Past1/15/2011 Past1/16/2011 Past1/17/2011 Past1/18/2011 Past1/19/2011 Past1/20/2011 Past
Excersice 5……number first part second partk309090890 k30 9090890k319090891 k31 9090891k329090892 k32 9090892k309090893 k30 9090893k309090894 k30 9090894k309090895 k30 9090895k309090896 k30 9090896k309090897 k30 9090897
Excersice 6………….children 8university 10
Excersice 7…..
Invalid no Valid No153- -153 -153 312- -12 -12178- -178 -178
8890- -8890 -88908417.99- -8417.99 -8417.99513- -513 -5136- -6 -678- -78 -781746.98- -1746.98 -1746.98
Excersice 8……..
Invalid Number 21
105
Excersice 9…………
Names first name first name2Last NameWill smith 10 Will smithVara Miller Vara MillerKasun Jayananda Kasun JayanandaArjuna Rathnayake Arjuna RathnayakeDanusha Samarakkodi Danusha SamarakkodiMohamad Akram MohamadAkram
1/14/2011
Excersice 1………….
MID function….
names Last Name first nam Full NameWill smith smith Will Will smithVara Miller Miller Vara Vara MillerKasun JayanandJayananda Kasun Kasun JayanandaArjuna Rathnay Rathnayake Arjuna Arjuna RathnayakeDanusha SamaraSamarakkodi Danusha Danusha SamarakkodiMohamad Akra Akram MohamadMohamad Akram
number cross sum1111 4 24 42356 16 99 162478 21 135 21
1245 12 75 122147 14 70 142589 24 158 242541 12 98 121236 12 66 123254 14 86 142871 18 161 181463 14 113 143179 20 108 202854 19 145 196579 27 151 27
text a text b Exact ifHello hello 0 TRUEthis is an exampthis is an Example FALSE TRUEBemd bemd FALSE TRUETapTop laptop FALSE FALSE
123 123 TRUE TRUE10/3/2003 Monday FALSE FALSE
hi you hi you FALSE FALSE123456 1234567 FALSE FALSE
Excersice 2……………
Old Value New Value6253 6253 6253.002356 2356 2356.004875 4875 4875.00 nbme1456 1456 1456.00 name258 258 258.001478 1478 1478.0023598 23598 ###2583 2583 2583.0014758 14758 ###
57615 57615
Excersice 3………………Old new Try
OW-345-XY OW345-XY OW-345XYAW-111-B41 AW111-B41 AW-111B41AW-111-B42 AW111-B42 AW-111B42AW-111-B623 AW111-B623 AW-111B623
AW-111-B7X3 AW111-B7X3 AW-111B7X3WE-980-C1 WE980-C1 WE-980C1WEI-9876-C2 WEI9876-C2 WEI-9876C2WXYT-989-C3 WXYT989-C3 WXYT-989C3
Exsercise 4………old new
123 SUBSTITUTE(A265,one-23 #NAME?1521 substitute(substitute(A266,1,"one-"),2,"-two)3658
25421
1472145
254
substitute(Substitute(substitute(substitute(substitute(asc,1,"one-"),2,"-two),3,"three"),4,"four"),5,"five-")
Excersice 9……
part1 part2 part3 part4 part5 resultKI 125 HI1 18 CIA KI-125-HI1-18-CIA-KI- 125- HI1- 18- CIAGF 256 HI2 19 HGT GF-256-HI2-19-HGTGF- 256- HI2- 19- HGTGT 365 HI3 18 SDD GT-365-HI3-18-SDDGT- 365- HI3- 18- SDDNH 354 HI4 18 SDA NH-354-HI4-18-SD NH- 354- HI4- 18- SDAGD 258 HI5 19 SDS GD-258-HI5-19-SDSGD- 258- HI5- 19- SDSVF 231 HI6 19 QWE VF-231-HI6-19-QWVF- 231- HI6- 19- QWENM 258 HI7 19 DFG NM-258-HI7-19-DFNM- 258- HI7- 19- DFGFE 254 HI8 18 DFG FE-254-HI8-18-DFGFE- 254- HI8- 18- DFG
substitute(Substitute(substitute(substitute(substitute(asc,1,"one-"),2,"-two),3,"three"),4,"four"),5,"five-")
GF- 256- HI2- 19- HGTGT- 365- HI3- 18- SDDNH- 354- HI4- 18- SDAGD- 258- HI5- 19- SDSVF- 231- HI6- 19- QWENM- 258- HI7- 19- DFGFE- 254- HI8- 18- DFG