CONTENT
Introduction Excel
Mathematical Functions
Text Function
Date And Time Functions
Logical Functions
Data Validation And Filter
Microsoft excel
Microsoft excel interface
Microsoft Excel Formulas
A formula is a simple calculation
We can use *,/,+,-,or ()
Formula will ALWAYS starts with an = sign . Here are some examples of a few formulas
=A1+A2
=A1*A2
=A1/A2
Mathematical functions
SUM FUNCTION
The SUM function adds values .You can add individual or Range values
=SUM (number 1, [number 2], [number 3],….)
AVERAGE FUNCTION
AVERAGE Function calculates the average of numbers provided as arguments
=AVERAGE (number 1, [number 2], [number 3],….)
MAX FUNCTION
In Excel MAX Function returns the largest numeric value in a range of values
=MAX (number 1, [number 2], [number 3],….)
MIN FUNCTION
In Excel MIN Function returns the Smallest numeric value in a range of values
=Min (number 1, [number 2], [number 3],….)
ROUND FUNCTION
The Excel ROUND Function returns a number rounded to a given number of digits .
=ROUND (number 1, [number 2], [number 3],….)
SUMIF FUNCTION
The Excel SUMIF Function returns the sum of cells that meet a single condition.
=SUMIF (range, criteria, [sum_range])
COUNT FUNCTION
The Excel COUNT Function returns the count of values that are numbers, generally cells that contain numbers.
=COUNT (value1,[value 2],…)
COUNTA FUNCTION
The Excel COUNTA Function returns the count of cells that contain text, logical values, error values and empty text(““). COUNTA does not count empty
=COUNTA (value1,[value 2],…)
COUNTIF FUNCTION
Use COUNTIF, one of the statistical functions, to count the number of cells that meet a criterion.
=COUNTIF (range, criteria)
Overall Exercise
Text functions
LEFT FUNCTION
Left function is a type of text function in excel which is used to give the number of characters from the start from the string which is from left to right
For an example if we use this function as = LEFT(“SARATH”,2). This will be give us SA as the result
=LEFT (text, [num chars])
RIGHT FUNCTION
The Excel RIGHT Function extracts a given number of characters from the right side of supplied text string which is from Right to left
For an example if we use this function as = RIGHT(“SARATH”,2). This will be give us HT as the result
=RIGHT(text, [num chars])
CONCATENATE FUNCTION
The word concatenate is just another way of saying combine “or “ “ to join together ”.
The CONCATENATE function allows you to combine text from different cell into one cell
=CONCATENATE (text1, text2. [text3],….)
LOWER FUNCTION
The LOWER function converts all letters in the specified string to lowercase. The LOWER function is a built –in function in Excel that is categorized as a string / text funciton
=LOWER (text)
UPPER FUNCTION
=UPPER (text)
MID FUNCTION
The Excel MID Function extracts a given number of characters from Middle of a supplied text string .
For an example if we use this function as = MID(“apple’’,2,3). This will be give us ‘’ppl as the result
=MID(text, start_ num ,num_ chars)
PROPER FUNCTION
The Excel PROPER Function sets the first character in each word to uppercase and the rest to lowercase.
The PROPER Function is a built – in function in excel that is categorized as string /text function
=PROPER(text)
TRIM FUNCTION
The Excel TRIM Function strips extra spaces from text , leaving only a single space between and no space character at the start or end the text
=TRIM(text)
REPT FUNCTION
The Excel REPT Function repeats characters a given number of times
for example =REPT(“ y”,5)returns “ yyyyy”
=REPT(text)
TYPE FUNCTION
The Excel TYPE Function returns a numeric code representing “type” in 5 characters number =1, text =2, logical =4, error =16, and array =64 . Use TYPE when the operation of a formula depends on the type of value in a particular cell
=TYPE(value)
EXACT FUNCTION
The Excel EXACT Function compares two text strings , it returns TRUE if they are the same , and FLASE if not EXACT is case sensitive
=EXACT(text1,text2)
HYPERLINK FUNCTION
The HYPERLINK Function can build links to files such as MS Word , MS Excel, MS Power point and pictures
Overall Exercise
DATE & TIME functions
NOW FUNCTION
The Excel EXACT NOW Function returns the current date and time , updated continuously when a work sheet is changed or opened.
You can format the value returned by NOW as a date , or as a date with time by applying a number format
=NOW ( )
TODAY FUNCTION
The Excel TODAY Function returns the current , updated continuously when a work sheet is changed or opened.
You can format the value returned by TODAY using any standard date format .
= TODAY ( )
YEAR FUNCTION
The Excel YEAR Function returns the year component of a date as a 4 digit number .You can use the YEAR Function to exact a year number from a date into a cell.
You can format the value returned by TODAY using any standard date format .
= YEAR (date )
MONTH FUNCTION
The Excel MONTH Function exacts the MONTH from the given date as number between 1 to 12 . You can use the MONTH Function to exact a month number from a date into a cell.
= MONTH (date )
DAY FUNCTION
The Excel DAY Function returns the day of the month as a number between 1 to 31 from a given date . You can use the DAY Function to exact a day number from a date into a cell.
= DAY (date )
HOUR FUNCTION
The Excel HOUR Function returns the hour component of a time as a number between 0-23 . For example , with a time of 9.30 AM , HOUR will return 9 . You can use the HOUR Function to exact the hour into a cell.
= HOUR (serial _number)
MINUTE FUNCTION
The Excel MINUTE Function extract the minute component of a time as a number between 0-59. For example , with a time of 9.45 AM , minute will return 45 . You can use the MINUTE Function to exact the MINUTE into a cell.
= MINUTE (serial _number)
SECOND FUNCTION
The Excel SECOND Function extract the SECOND component of a time as a number between 0-59. For example , with a time of 9:10:15 AM , the second will return 15. You can use the SECOND Function to exact the SECOND into a cell.
= SECOND (serial _number)
TIME FUNCTION
The Excel TIME Function is built function that allows you create a time with individual hour, minute, and second components . The time function is useful when you want to assemble a proper time inside the formula
= TIME (hour, minute, second)
EDATE FUNCTION
The Excel EDATE Function returns a date on the same day of the month, the month is the past or future . You can use EDATE to calculate expiration dates, maturity dates , and other due dates
= EDATE (start_date , month)
Overall Exercise
LOGICAL FORMULAS AND FUNCITONS
IF FUNCTION
The IF Function can perform a logical test and return one value for a TRUE result, and another for a FLASE result
= IF (logical_test, [value_if _true], [value_if_flase] )
VLOOKUP FUNCTION
VLOOKUP is an excel function to lookup and retrieve data from a specific column in table . VLOOKUP support approximation and exact matching
= VLOOKUP ( value ,table, col _index, [range_lookup])
AND FUNCTION
The Excel AND Function is a logical function used to require more than one condition at the same time . AND returns either TRUE or FLASE.
= AND ( logical 1, [logical 2]…)
OR FUNCTION
The OR Function is a logical function to the test multiple conditions at the same time .
OR returns either TRUE or FLASE
= OR ( logical 1, [logical 2]…)
Overall Exercise
DATA VALIDATION AND FILTER FUNCITONS
DATA VALIDATION FUNCTION
Data validation is a feature in excel used to control what a user can enter into a cell . For example , you could use the data validation to make sure a value is number between 1 and 6 , make sure a data occurs in the next 30 days, or make sure a text entry less than 25 characters.
FILTER FUNCTION
The Excel FILTER Function filters a range of data based on a supplied criteria , and exacts matching records.
Overall Exercise
EXCEL MACROS
Automate repetitive tasks and work faster in Microsoft Excel
What is a Macro? A recorded or programmed set of instructions that performs tasks automatically.
WHY USE MACROS?
• Save time on repetitive work
• Reduce manual errors
• Apply the same steps consistently
HOW TO CREATE ONE
• Enable the Developer tab
• Select Record Macro
• Perform the steps, then Stop Recording
COMMON USES
• Format reports and tables
• Clean and organize data
• Create summaries and routine reports
Tip: Save macro-enabled workbooks as Excel Macro-Enabled Workbook (*.xlsm).
Security: Enable macros only in files from trusted sources.