We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13
Function Categories in Excel
1) Mathematical and trigonometric functions
2) Date and time functions 3) Text functions 4) Logical functions 5) Statistical functions 6) Financial functions 7) Lookup and reference functions 8) Database functions Date & Time Functions • Format: DD/MM/YYYY • To get the year of a date, use the YEAR function. Ex: =Year(A1) • Note: use the MONTH and DAY function to get the month and day of a date. • To add a number of days to a date: Ex: =A1+5 • To add a number of years, months and/or days: = Date( Year(A1)+4, Month(A1)+2, Day(A1)+5) • Current Date & Time: To get the current date and time, use the NOW function. =Now() • Hour, Minute, Second: To return the hour, use the HOUR function. =Hour(A1) Note: use the MINUTE and SECOND function to return the minute and second. • Time Function: To add a number of hours, minutes and/or seconds, use the TIME function. =Time(Hour(A1)+2 , Minute(A1)+5, Second(A1)+10) Text Functions in Excel
• 1. Left (): You can use the Left function when
you want to extract the leftmost characters from a string. Syntax =left(text, num_char) 2. Right(): Similarly, you can also use the Right function to extract the rightmost characters from a string. Example: 3. Len (): Len function in Excel helps you to know the length of a string that is number of characters in a string. Syntax = LEN(text) • Note – Spaces are included while calculating length. Ex: 4. Mid (): Mid function in Excel is used to extract the characters from the middle of a string. Syntax = MID(text, start_char, num_chars) Ex: =Mid( excel, 3,2) //RETURNS ce
• 5. Find (): Find function in Excel is used when
you want to know the position of certain characters in a particular string. Syntax =FIND(find_text, within_text,[start_num]) Ex: = Find(“c”,A1) //A1= excel, returns 3 6. Proper (): Proper function in Excel capitalizes each word in the string that is, it converts the case into proper case. Syntax =PROPER(“I love my india”) Returns I Love My India 7. Rept (): Rept function in Excel is used when you want a certain text to be repeated certain number of times. Syntax =REPT(“hello”, 5) Returns hellohellohellohellohello 8. Trim(): Trim function in Excel removes the unnecessary spaces from a particular string. Syntax =TRIM(“ GIBS – management institute “) Returns GIBS- management institute 9. Upper(): Upper function in Excel converts the text into Upper case from lower case. Syntax =UPPER(Text ) 10. Substitute (): Substitute function in Excel helps to replace existing text with a new text in a particular string. Syntax =SUBSTITUTE(text, old_text, new_text, instance number) 11. Concatenate (): Concatenate function in Excel helps to join the text of two or more cells. Syntax =CONCATENATE(text1, text2….) Logical Function 1. AND: Returns TRUE if all of the arguments evaluate to TRUE. =AND(A2>=10, B2<5) The formula returns TRUE if a value in cell A2 is greater than or equal to 10, and a value in B2 is less than 5, FALSE otherwise. 2. OR: Returns TRUE if any argument evaluates to TRUE. =OR(A2>=10, B2<5) The formula returns TRUE if A2 is greater than or equal to 10 or B2 is less than 5, or both conditions are met. If neither of the conditions it met, the formula returns FALSE. 3. NOT: Returns the reversed logical value of its argument. I.e. If the argument is FALSE, then TRUE is returned and vice versa. =NOT(A2>=10) The formula returns FALSE if a value in cell A1 is greater than or equal to 10; TRUE otherwise. 4. XOR: Returns a logical Exclusive Or of all arguments. =XOR(A2>=10, B2<5) The formula returns TRUE if either A2 is greater than or equal to 10 or B2 is less than 5. If neither of the conditions is met or both conditions are met, the formula returns FALSE. Database functions • DAVERAGE: Calculates the average of values in a field of a list or database, that satisfy specified conditions • DCOUNT: Returns the number of cells containing numbers in a field of a list or database that satisfy specified conditions • DCOUNTA: Returns the number of non-blank cells in a field of a list or database, that satisfy specified conditions • DGET: Returns a single value from a field of a list or database, that satisfy specified conditions • DMAX: Returns the maximum value from a field of a list or database, that satisfy specified conditions • DMIN: Returns the minimum value from a field of a list or database, that satisfy specified conditions Statistical functions
• Average: To calculate the average of a range of
cells, use the AVERAGE function. • Median: To find the median (or middle number), use the MEDIAN function. • Mode: To find the most frequently occurring number, use the MODE function. • Standard Deviation: To calculate the standard deviation, use the STEDV function. • Min: To find the minimum value, use the MIN function. OR • Small: To find the second smallest number, use the following SMALL function. • Small(range,position)
• Max: To find the maximum value, use the MAX
function. OR • Large: To find the third largest number, use the following LARGE function. • Large(range,position)