III B.COM-SJC February 9, 2016 III.B.Com - Excel Practical EX:1. Enter the following data in an Excel worksheet and save it salary.xlsx. Sl.No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Employee Name Abinau Bindra Madhu Chapra Gokul Lindsey Kevin Komal Beena Lakshmanan Gandhi Donald Peiterson Longfellow Kavitha Priya Willson Murugan Ganesan Moorthy Lokmanya Patel Steffi Fiorina Gangadhar Krishnan Mohan Oprah Hemelatha Uma Zeenath Barath BASIC DA HRA CCA GROSS PF IT DED NET 10000 2000 1800 840 14640 1318 1464 2782 11858 9500 1900 1710 798 13908 1252 1391 2643 11265 12500 9800 6820 9850 4520 6580 9850 6550 4500 9500 7500 6500 8500 7500 7750 4850 9852 12450 11650 11750 12500 6500 7500 9500 8500 5000 9000 12000 1. Fill the BASIC, DA, HRA, CCA, GROSS, PF, IT, DED, NET column using the following guidelines. a) DA is equal to 20 % of Basic b) HRA is equal to 15% of Basic+DA c) CCA is equal to 7 % of Basic+DA d) Gross =Basic+DA+HRA+CCA e) PF is equal to 9% of Gross f) IT is equal to 10% of Gross g) DED is equal to PF+IT h) Net = Gross-Ded 2. Copy the entire table to a word document and save it as salary.doc 3. Copy the entire worksheet to another worksheet . 4. Name the first worksheet as salary1 and the second worksheet as salary2 5. Go to salary1 worksheet make changes in the formula as below a) DA is equal to 15 % of Basic b) HRA is equal to 12% of Basic+DA c) CCA is equal to 5 % of Basic+DA d) PF is equal to 5% of Gross e) IT is equal to 12% of Gross 1 III B.COM-SJC EX: 2. Enter the following data in an excel worksheet and name it as cia.xlsx D.NO MID100 MID(35) END100 END(35) ASN(25) ATTN 05UCO201 A2 B2 C2 21 05UCO202 26 42 11 05UCO203 11 27 15 05UCO204 36 49 12 05UCO205 12 28 13 05UCO206 28 43 14 05UCO207 68 78 21 05UCO208 25 31 19 05UCO210 37 33 13 05UCO212 28 38 12 05UCO213 27 13 9 05UCO214 45 29 13 05UCO215 17 24 8 05UCO216 77 57 21 05UCO217 10 58 15 05UCO218 36 42 10 05UCO219 71 67 18 05UCO220 77 66 20 05UCO221 42 73 12 05UCO222 31 42 11 05UCO223 59 63 19 05UCO224 14 16 6 05UCO225 21 46 14 05UCO226 50 50 18 05UCO227 71 57 6 05UCO229 25 46 13 05UCO230 17 23 6 February 9, 2016 TOT(100) 3 5 4 4 4 2 3 1 2 5 4 4 1 2 4 3 5 2 3 5 5 4 3 3 1 4 1 a) b) c) d) Fill the MID(35) and END(35) column converting the marks into 35 equivalent and find the total. =(a2*.35) Find out how many rows and columns are there in a worksheet using. Practice using arrow keys, Tab, shift +tab, home, end, ctrl+home, ctrl+end, F5, ctrl+G, PgUp and PgDn keys. e) Practice different methods of selecting cells using a) Shift+arrow keys b) using F8, c) by entering cell address, d) using mouse, e)using keyboard f) Practice: a) select entire row, b) select entire column, c) select entire sheet. g) Type the following in a word document and name it as course.doc =IF(H2>=40,"PASS","FAIL") 2 III B.COM-SJC February 9, 2016 EX:3. Prepare the following table, find total for each product and for each region, also prepare a graph Product Dolls Truks Puzzles Region1 Region2 Region3 350 1275 650 1325 1370 800 1650 1525 1100 EX:4. Enter the following data in an excel worksheet and name it as cia.xlsx D.NO MID100 MID(35) END100 END(35) ASN(25) ATTN TOT(100) 05UCO201 18 29 21 3 05UCO202 26 42 11 5 05UCO203 11 27 15 4 05UCO204 36 49 12 4 05UCO205 12 28 13 4 05UCO206 28 43 14 2 05UCO207 68 78 21 3 05UCO208 25 31 19 1 05UCO210 37 33 13 2 =IF(H2>=40,"PASS","FAIL") 1. Fill the MID(35) and END(35) column converting the marks into 35 equivalent and find the total. 2. Find out how many rows and columns are there in a worksheet using. 3. Practice using arrow keys, Tab, shift +tab, home, end, ctrl+home, ctrl+end, F5, ctrl+G, PgUp and PgDn keys. 4.Practice different methods of selecting cells using a) Shift+arrow keys b) using F8, c) by entering cell address, d) using mouse, e)using keyboard 5. Practice: a) select entire row, b) select entire column, c) select entire sheet. EX:5. Create the following table in Excel and find the result using IF function =IF(AND(B2>=40,C2>=40,D2>=40,E2>=40,F2>=40),“PASS”,“FAIL”) For grade =IF(H2>=75,"Distinction",IF(H2>=60,"First",IF(H2>=50,"Second","Third"))) Name Ganesan Moorthy Lokmanya Patel Steffi Ganesan Moorthy Lokmanya Patel TAMIL ENGLISH MATHS HISTORY SCIENCE TOTAL 40 45 80 78 90 50 52 54 54 40 82 42 52 25 58 58 25 60 89 78 45 87 47 39 58 87 90 89 45 39 29 45 70 40 48 45 39 52 59 49 90 40 69 64 28 RESULT Class 3 III B.COM-SJC February 9, 2016 EX :6. Following are the sales of Maruti Vehicles in Tamilnadu. Region-wise Sales Product Chennai Trichy Madurai Kovai Maruti-800 200 235 250 175 Omni 250 275 350 325 Alto 400 300 350 400 Swift 175 150 150 200 WaganoR 200 225 175 250 200 Versa 250 200 250 a)Prepare a table in Excel and use the following functions. SUM, AVERAGE, MIN, MAX for each product and for each region and insert a ‘comment’ in the appropriate cell. b) Also prepare appropriate graph. EX: 7. Sales of Maruti car in different regions of TN are given below, using Pivot table generate as many tables as possible. REGION South East West North East South North South South East West North South East West West North North South East PLACE Madurai Kovai Trichy Chennai Kovai Madurai Chennai Madurai Nellai ERODE Trichy villupuram Palayamkottai Ooty Tanjore TRICHY Chennai Chennai Madurai ERODE NUMBER M800 ALTO A_STAR SWIFT OMNI ECO DZIRE 3005 10 20 20 20 5 20 20 3049 25 10 10 10 8 10 45 3654 21 25 40 41 7 20 12 3055 5 10 50 25 9 30 60 3000 4 20 30 30 8 10 32 3045 5 32 20 10 4 21 10 3048 8 12 10 20 10 3 20 3045 7 2 10 14 12 2 12 3025 10 10 23 12 4 4 14 3021 1 20 20 10 5 12 35 3025 2 30 12 30 8 12 21 3028 8 12 45 20 9 13 40 3030 3 10 12 10 22 15 20 3031 12 20 10 20 10 19 14 3029 50 30 30 10 16 15 32 3050 20 30 20 20 20 20 23 3003 10 10 10 15 13 23 24 3008 10 25 16 16 16 15 25 3007 15 15 15 18 45 16 26 3017 17 8 14 20 24 20 30 4 III B.COM-SJC February 9, 2016 EX :8. Enter the following and do as instructed below Particulars Opening Bank Balance: Expenditures Wages: Electricity: Overheads: Materials: Total (expenditures) Sales Income: Profit for this quarter Closing bank balance: Quarter-1 160,000 Quarter-2 Quarter-3 Quarter-4 33,500 8,500 10,000 50,000 22,500 8,500 12,000 65,000 23,000 9,500 13,900 75,000 23,400 10,600 16,800 75,000 130,000 132,900 133,900 134,100 1. Enter in formulae to calculate 'Total (expenditures) for each quarter. (The sum of all the individual expenditures) 2. Enter in formulae to calculate the 'Profit' for each quarter. (Sales income less Total expenditures) 3. Enter in formula to calculate the closing balance for each quarter (The Opening balance plus the profits) 4. Enter in formulae for the 'Opening balance' for each quarter after the first one Ex.9: Name Ganesan Moorthy Lokmanya Patel Steffi Ganesan Moorthy Lokmanya Patel TAMIL ENGLISH MATHS HISTORY SCIENCE TOTAL RESULT GRADE 40 45 80 78 90 333 PASS 50 52 54 54 40 250 PASS 82 42 52 25 58 259 FAIL 58 25 60 89 78 310 FAIL 45 87 47 39 58 276 FAIL 87 90 89 45 39 350 FAIL 29 45 70 40 48 232 FAIL 45 39 52 59 49 244 FAIL 90 40 69 64 28 291 FAIL =IF(AND(B2>=40,C2>=40,D2>=40,E2>=40,F2>=40),"PASS","FAIL") 5 III B.COM-SJC February 9, 2016 Ex.10: RESULT AND GRADE USING IF and AND CONDITIONS and Conditional Formating D.NO MID100 MID(35) END100 END(35) ASN(25) ATTN TOT(100) Result GRADE GRADE 05UCO201 100 35 100 35 25 5 100 PASS Distinction Distinction 05UCO202 78 27.3 42 14.7 11 5 58 PASS Second Second 05UCO203 11 3.85 27 9.45 15 4 32.3 FAIL Third FAIL 05UCO204 23 8.05 10 3.5 12 4 27.55 FAIL Third FAIL 05UCO205 78 27.3 28 9.8 13 4 54.1 PASS Second Second 05UCO206 28 9.8 43 15.05 14 2 40.85 PASS Third Third 05UCO207 68 23.8 78 27.3 21 3 75.1 PASS Distinction Distinction 05UCO208 60 21 31 10.85 19 1 51.85 PASS Second Second 05UCO210 10 3.5 12 4.2 21 2 30.7 FAIL Third FAIL =IF(H3>=40,"PASS","FAIL") =IF(H3>=75,"Distinction",IF(H3>=60,"First",IF(H3>=50,"Second","Third"))) =IF(H3>=75,"Distinction",IF(H3>=60,"First",IF(H3>=50,"Second",IF(H3>=40,"Third","FAIL")))) Functions in Excel Predefines and built-in formulas are called ‘functions’. A formula or a function always starts with an “=” symbol. a) b) c) d) e) Mathematical functions Statistical functions Date and Time functions Logical functions Text functions a) M Mathematical functions =SUM() =ROUND() =SQRT() =ABS() =TRUNC() b) Statistical functions =MAX() =MIN() =AVERAGE() =COUNT() =COUNTA() =COUNTBLANK() =COUNTIF() =SUMIF() 6 III B.COM-SJC February 9, 2016 c) Logical Functions – are used to make a decision based upon a value within the spreadsheet. It evaluates the value and makes decision. Upon checking, one value is returned, if the condition is true, otherwise a different value is returned if the condition is false. =AND() =NOT() =OR() =IF() d) Date and time functions – date should be entered in correct format, otherwise it will not be treated as date. Date is aligned right. The default date format in excel is month/day/year =NOW() =DAY() =MONTH() =YEAR() =TODAY() =WEEKDAY() e) Text Functions =CANCATENATE() This funcition joins several text strings into one text string Eg. CONCATENATE (“ I AM”, “BASHA”) =LEN() This is used to return the number of characters in a text string Eg: =LEN(“I LOVE MY COUNTRY”) =LOWER() This converts all upper case letters in a text string to lower case Eg: =LOWER(“ WHAT ARE YOU DOING?”) Eg: =LOWER(A31) =UPPER() This converts all lower case letters in a text string into upper case. Eg: =upper(“what are you doing?”) =TRIM() Removes all spaces from a text string except for single spaces between words Eg: =TRIM(“I AM OK ARE OK?”) =PROPER() This capitalizes the first letter in each word of a text Eg: =PROPER(“ are you going to college or film”?) Some Examples : COUNTIF This function is used to count cells within a range of cells that meet a specified criterion. a. b. c. d. =COUNTIF(A1:A10,20) =COUNTIF(B8:B28,50000) =COUNTIF(B9:B29,">=50000") =COUNTIF(A10:A30,"LUCAS") SUMIF 7 III B.COM-SJC February 9, 2016 This function is used to return values from a specified range that meets the condition/criteria. =SUMIF(B8:B29,50000) =SUMIF(B9:B30,">50000") =SUMIF (A10:A30,"LUCAS") YEAR =YEAR() This function returns the year of particular cell Ig. =YEAR(A3) MONTH =MONTH() This function returns the MONTH of particular cell/date =MONTH(A3) Day =DAY() This function returns the DAY of particular cell =DAY (A3) =TODAY() This function fetches the current date (of the system) =NOW This function returns current date and time =WEEKDAY() This returns the weekday, in number To find out weekday(in words), using IF…. =IF(A6=1,"Sunday",IF(A6=2,"Monday",IF(A6=3,"Tuesday",IF(A6=4,"Wednessday",IF(A6=5,"Thursday",I F(A6=6,"Friday","Saturday")))))) =IF(A6=1,"Sunday",IF(A6=2,"Monday",IF(A6=3,"Tuesday",IF(A6=4,"Wednessday",IF(A6=5,"Thursday",I F(A6=6,"Friday",IF(A6=7,"Saturday",""))))))) Logical Function They are used to make a decision based upon a value within the spreadsheet/worksheet. It evaluates the value and makes decision One value is, if the condition is true, otherwise a different value is returned if the condition is false. AND() - This returns value true if all the arguments are true and returns false, if one or more argument is false. NOT() – This reverses the value of its argument. OR() – This returns true, if any argument is true and returns false only when all arguments are false. 8