MS-Excel XP Lesson 5
Exponentiation 1.A1 2 A2 3 A3 =A1^A2 B1 =2^4 2.^ for exponentiation
ROUND Function 1.Round a number to a specified number of digits. 2.A1 A2 =ROUND(A1,3) A3 =ROUND(A1,2) A4 =ROUND(A1,1) A5 =ROUND(A1,0) B1 12.5 B2 =ROUND(B1,0) B3 13.5 B4 =ROUND(B3,0) B5 =ROUND(12.875,2) B6 =ROUND(12.865,2)
ROUND Function 1.Insert menu, Function menu item, 2.Select category as Math & Trig 3.Select ROUND function and click ok 4.Select values to num and num_digits fields 5.Click ok =ROUND(AVERAGE(A1:A5),0)
INT Function 1.Rounds a number down to the nearest integer. 2.A1 A2 =INT(A1) A3 =INT(12.45) A4 =INT(13.689) 3. Insert menu, Function menu item, 4. Select category as Math & Trig 5. Select INT function and click ok 6. Select value to number field 7. Click ok
MOD Function 1.Returns the remainder after a number is divided by a divisor. 2.A1 10 A2 3 A3 =MOD(A1,A2) A4 =MOD(5,2) A5 =MOD(3,4) A6 =MOD(4,3) 3. Insert menu, Function menu item, 4. Select category as Math & Trig 5. Select MOD function and click ok 6. Select values to number and divisor fields 7. Click ok
IF Function 1.Checks whether a condition is met, and returns one value if TRUE, and another value if FALSE. =IF(CONDITION,TRUE Value, FALSE Value) A1 45 A2 50 A3 65 B1 =IF(A1>=50,”PASS”, “FAIL”) B2 to B3 drag formula in B1 3.= equals to 4.<> not equals to 5.< less than 6.> greater than 7.<= less than or equals to 8.>= greater than or equals to
IF Function 1.Insert menu, Function menu item 2.Select category as Logical 3.Select IF function and click ok 4.Select values to logical_test, value_if_true and value_if_false fileds 5.Click ok
Nested IF Functions 1.A1 MARKS A2 40 A3 50 A4 60 A5 70 A6 80 A7 90 B1 GRADE B2 =IF(A2>=75,”A”,IF(A2>=65,”B”,IF(A2>=55,”C”,IF(A2>=55,”S”,”F”)))) B3 to B7 drag formula in B2
Nested IF Functions 1.A1 MARKS A2 40 A3 50 A4 60 A5 70 A6 80 A7 90 B1 GRADE B2 =IF(A2<45,”F”,IF(A2<55,”S”,IF(A2<65,”C”,IF( A2<75,”B”,”A”)))) B3 to B7 drag formula in B2
TODAY Function 1.Returns the current date formatted as a date. 2.A1 =TODAY() 3.A2 Select Insert menu Select Function menu item Select category as Date & Time Select TODAY function Click ok 4.You can formatting date in a cell using format cells option
DATE Function 1.Returns the number that represents the date in MS- Excel date-time code. 2.=DATE(Year, Month, Day) 3.A1 =DATE(2006,6,12) A2 =DATE(1979,11,7) A3 Select insert menu and function menu item Select category as Date & Time Select DATE function and click ok Select values to year, month, day fields Click ok
DAY Function 1.Returns the day of the month, a number from 1 to 31 2.A1 =DAY(TODAY()) A2 =DAY(DATE(1979,11,7)) A3 =DATE(1980,10,30) A4 Select insert menu and function menu item Select category as Date & Time Select DAY function and click ok Select value (A3) to serial_no field Click ok
MONTH Function 1.Returns the month, a number from 1(January) to 12 (December) 2.A1 =MONTH(TODAY()) A2 =MONTH (DATE(1979,11,7)) A3 =DATE(1980,10,30) A4 Select insert menu and function menu item Select category as Date & Time Select MONTH function and click ok Select value (A3) to serial_no field Click ok
YEAR Function 1.Returns the year of a date, an integer in the range 1900 to A1 =YEAR(TODAY()) A2 =YEAR (DATE(1979,11,7)) A3 =DATE(1980,10,30) A4 Select insert menu and function menu item Select category as Date & Time Select YEAR function and click ok Select value (A3) to serial_no field Click ok
WEEKDAY Function 1.Returns a number from 1 to 7, identifying the day of the week of a date 2.A1 =WEEKDAY(TODAY(),1) 1=Sunday B1 =WEEKDAY(TODAY(),2) 1=Monday A2 =WEEKDAY (DATE(1979,11,7),1) B2 =WEEKDAY (DATE(1979,11,7),2) A3 =DATE(1980,10,30) A4 Select insert menu and function menu item Select category as Date & Time Select WEEKDAY function and click ok Select values (A3) to serial_no field and 1 or 2 to return_type field Click ok
WEEKDAY Function Return type = 1 1=Sunday, 2:=Monday,…, 7=Saturday Return type = 2 1=Monday, 2=Tuesday,…………..,7=Sunday
NOW Function 1.Returns the current date and time formatted as a date and time. 2.A1 =NOW() 3.A2 Select Insert menu Select Function menu item Select category as Date & Time Select NOW function Click ok 4.You can formatting time in a cell using format cells option