Tag: Text Functions in Excel

  • Complete List of Excel Functions 2025 – Categorized Guide with Descriptions for Excel 365

    In Microsoft Excel 365 (latest version, 2025), there are over 500 built-in functions.

    📊 Function Count Overview

    Excel VersionApprox. Number of FunctionsNotes
    Excel 2003~ 330 functionsMostly math, text, logical, financial
    Excel 2007~ 340 functionsAdded new statistical & financial functions
    Excel 2010~ 350 functionsIntroduced new functions like AGGREGATE
    Excel 2013~ 380 functionsAdded more engineering & cube functions
    Excel 2016~ 470 functionsAdded TEXTJOIN, IFS, MAXIFS, MINIFS, CONCAT
    Excel 2019~ 480 functionsSimilar to 2016 with some enhancements
    Excel 365≈ 520+ functionsIncludes Dynamic Array functions (FILTER, SORT, UNIQUE, RANDARRAY, SEQUENCE) and Lambda functions

    🔑 Categories of Functions in Excel

    1. Math & Trigonometry – SUM, ROUND, SIN, COS, etc.
    2. Statistical – AVERAGE, MEDIAN, STDEV, VAR, etc.
    3. Logical – IF, AND, OR, IFERROR, IFS.
    4. Text – LEFT, RIGHT, MID, TEXTJOIN, CONCAT, VALUE.
    5. Date & Time – TODAY, NOW, EOMONTH, DATEDIF.
    6. Lookup & Reference – VLOOKUP, HLOOKUP, INDEX, MATCH, XLOOKUP.
    7. Financial – NPV, IRR, PMT, FV.
    8. Engineering – COMPLEX, DELTA, CONVERT.
    9. Information – ISERROR, ISNUMBER, TYPE.
    10. Database – DSUM, DCOUNT.
    11. Cube – CUBEMEMBER, CUBEVALUE.
    12. Web / Dynamic Array (Excel 365) – FILTER, SORT, UNIQUE, SEQUENCE, RANDARRAY.
    13. Lambda & Custom Functions (Excel 365) – LAMBDA, MAP, REDUCE, MAKEARRAY, BYROW, BYCOL.

    1. Math & Trigonometry Functions

    FunctionDescription
    SUMAdds all numbers in a range
    SUMIFAdds numbers in a range that meet a condition
    SUMIFSAdds numbers that meet multiple conditions
    ROUNDRounds a number to a specified number of digits
    ROUNDUPRounds a number up, away from zero
    ROUNDDOWNRounds a number down, towards zero
    INTRounds a number down to the nearest integer
    TRUNCTruncates a number to a specified number of digits
    POWERReturns a number raised to a power
    SQRTReturns the square root of a number
    ABSReturns the absolute value of a number
    MODReturns the remainder after division
    PIReturns the value of π
    SINReturns the sine of an angle
    COSReturns the cosine of an angle
    TANReturns the tangent of an angle
    ASINReturns the arcsine of a number
    ACOSReturns the arccosine of a number
    ATANReturns the arctangent of a number
    ATAN2Returns the arctangent of two numbers (x, y)

    2. Statistical Functions

    FunctionDescription
    AVERAGEReturns the average of numbers
    AVERAGEIFReturns the average of numbers that meet a condition
    AVERAGEIFSReturns the average of numbers that meet multiple conditions
    COUNTCounts the number of numeric values
    COUNTACounts all non-empty cells
    COUNTBLANKCounts empty cells
    COUNTIFCounts cells that meet a condition
    COUNTIFSCounts cells that meet multiple conditions
    MAXReturns the maximum value in a range
    MINReturns the minimum value in a range
    MEDIANReturns the median of numbers
    MODEReturns the most frequent number
    STDEV.PStandard deviation for the entire population
    STDEV.SStandard deviation for a sample
    VAR.PVariance for the entire population
    VAR.SVariance for a sample
    RANK.EQReturns the rank of a number
    RANK.AVGReturns the rank with average in case of ties

    3. Logical Functions

    FunctionDescription
    IFReturns one value if condition is TRUE, another if FALSE
    ANDReturns TRUE if all conditions are TRUE
    ORReturns TRUE if any condition is TRUE
    NOTReverses the logical value
    IFERRORReturns a value if no error, otherwise specified value
    IFSChecks multiple conditions in order
    SWITCHEvaluates expressions against a list of values
    TRUEReturns logical TRUE
    FALSEReturns logical FALSE

    4. Text Functions

    FunctionDescription
    CONCATCombines text from multiple ranges or strings
    TEXTJOINJoins text with a delimiter, ignoring blanks
    LEFTReturns the first characters of a string
    RIGHTReturns the last characters of a string
    MIDReturns characters from the middle of a string
    LENReturns the length of a string
    TRIMRemoves extra spaces
    UPPERConverts text to uppercase
    LOWERConverts text to lowercase
    PROPERCapitalizes the first letter of each word
    REPLACEReplaces characters in a string
    SUBSTITUTEReplaces occurrences of text with new text
    VALUEConverts text to a number
    FINDFinds the position of text in a string (case-sensitive)
    SEARCHFinds the position of text (not case-sensitive)

    5. Date & Time Functions

    FunctionDescription
    TODAYReturns the current date
    NOWReturns the current date and time
    DATECreates a date from year, month, day
    TIMECreates a time from hour, minute, second
    DAYReturns the day of a date
    MONTHReturns the month of a date
    YEARReturns the year of a date
    HOURReturns the hour of a time
    MINUTEReturns the minute of a time
    SECONDReturns the second of a time
    EOMONTHReturns the last day of the month
    WORKDAYReturns a date after adding working days
    NETWORKDAYSCounts working days between two dates
    DATEDIFReturns difference between two dates

    6. Lookup & Reference Functions

    FunctionDescription
    VLOOKUPLooks up a value vertically in a table
    HLOOKUPLooks up a value horizontally in a table
    XLOOKUPAdvanced lookup (vertical or horizontal)
    INDEXReturns the value of a cell in a table based on row & column
    MATCHReturns the relative position of a value in a range
    OFFSETReturns a cell or range offset by rows and columns
    ROWReturns the row number
    COLUMNReturns the column number
    ROWSCounts the number of rows in a range
    COLUMNSCounts the number of columns in a range
    CHOOSEReturns a value from a list based on index number
    HYPERLINKCreates a clickable hyperlink

    7. Financial Functions

    FunctionDescription
    PMTCalculates loan payment
    FVFuture value of an investment
    PVPresent value of an investment
    NPVNet present value
    IRRInternal rate of return
    RATEInterest rate per period
    PPMTPrincipal portion of a loan payment
    IPMTInterest portion of a loan payment
    CUMIPMTCumulative interest payment
    CUMPRINCCumulative principal payment

    8. Engineering Functions

    FunctionDescription
    COMPLEXReturns a complex number
    IMABSAbsolute value of a complex number
    IMAGINARYImaginary coefficient of a complex number
    IMREALReal coefficient of a complex number
    DELTAChecks equality of two numbers
    CONVERTConverts a number from one measurement unit to another

    9. Information Functions

    FunctionDescription
    ISNUMBERChecks if a value is a number
    ISTEXTChecks if a value is text
    ISBLANKChecks if a cell is blank
    ISERRORChecks if a value is any error
    ISERRChecks if a value is an error except #N/A
    TYPEReturns the type of a value

    10. Database & Cube Functions

    FunctionDescription
    DSUMSum values that meet database criteria
    DCOUNTCount values in a database
    DGETExtract a single value from a database
    DMAXMaximum in database based on criteria
    DMINMinimum in database based on criteria
    CUBEMEMBERReturns a member from cube
    CUBEVALUEReturns value from cube
    CUBEMEMBERPROPERTYReturns member property from cube

    11. Dynamic Array & New Excel 365 Functions

    FunctionDescription
    FILTERReturns filtered array based on condition
    SORTSorts array of values
    SORTBYSorts array by another array
    UNIQUEReturns unique values from a range
    SEQUENCEGenerates a sequence of numbers
    RANDARRAYReturns array of random numbers
    XMATCHReturns position of a value in a range (better than MATCH)

    12. LAMBDA & Custom Functions (Excel 365)

    FunctionDescription
    LAMBDACreates reusable custom functions
    MAPApplies a LAMBDA to each element in an array
    REDUCEReduces an array to a single value using LAMBDA
    MAKEARRAYCreates an array using LAMBDA
    BYROWApplies LAMBDA row-wise
    BYCOLApplies LAMBDA column-wise

    💡 Tip: With Excel 365, you can combine dynamic arrays and LAMBDA functions to create an unlimited number of custom calculations, so technically the “number of functions” is infinite if you include user-defined ones.


  • Exploring LEFT Function in Text Manipulation

    Exploring LEFT Function in Text Manipulation

    The LEFT function is a widely used text manipulation function in various programming languages and spreadsheet applications, such as Excel. Its primary purpose is to extract a specified number of characters from the left side of a text string. The syntax of the LEFT function typically involves providing the text string and the number of characters to be extracted from the left.

    Syntax:

    LEFT(text, num_chars)
    • text: This is the text string from which you want to extract characters.
    • num_chars: This argument specifies the number of characters to extract from the left side of the text string.

    Basic Usage:

    Let’s start by looking at the basic usage of the LEFT function with a simple example.

    Example 1:

    =LEFT("Hello, World!", 5)

    In this example, the text string is “Hello, World!” and we want to extract the first 5 characters from the left. The result of this formula would be “Hello.”

    Explanation:

    • The LEFT function takes the text string “Hello, World!” as its first argument.
    • The second argument, 5, specifies that we want to extract 5 characters from the left side of the text.
    • As a result, the function returns “Hello,” which is the first 5 characters of the input text.

    Additional Parameters:

    The LEFT function can also be used with dynamic or variable values. For example, you can reference a cell that contains the desired number of characters to be extracted.

    Example 2:

    =LEFT(A1, B1)

    In this case:

    • A1 contains the text string, e.g., “Data Processing.”
    • B1 contains the number of characters to be extracted, e.g., 4.

    The result of this formula would be “Data.”

    Nesting LEFT Function:

    The LEFT function can be nested within other functions to perform more complex text manipulations. Nesting involves using the result of one LEFT function as the input for another.

    Example 3:

    =LEFT(LEFT("Nested Example", 6), 4)

    In this example:

    • The inner LEFT function extracts the first 6 characters from the text “Nested Example,” resulting in “Nested.”
    • The outer LEFT function then extracts the first 4 characters from the result of the inner function.
    • The final result is “Nest.”

    Practical Examples with Nesting:

    Example 4:

    =LEFT(CONCATENATE("First", " ", "Last"), 5)

    Here, the CONCATENATE function combines the strings “First” and “Last” with a space in between. The LEFT function then extracts the first 5 characters from the concatenated result. The output is “First.”

    Example 5:

    =LEFT(MID("Nested Example", 3, 6), 4)

    In this case:

    • The MID function extracts a substring from “Nested Example” starting from the 3rd character and spanning 6 characters, resulting in “sted E.”
    • The LEFT function then extracts the first 4 characters from the result of the MID function, yielding “sted.”

    Example 6:

    =LEFT(IF(A1="Condition", "True Result", "False Result"), 6)

    Here, the IF function checks a condition in cell A1. If the condition is true, it returns “True Result”; otherwise, it returns “False Result.” The LEFT function then extracts the first 6 characters from the result of the IF function.

    Summary:

    LEFT function is a valuable tool for text manipulation in various applications. Its ability to extract a specified number of characters from the left side of a text string makes it versatile for tasks such as data cleaning, formatting, and analysis. Additionally, when combined with other functions and nested within formulas, the LEFT function can be part of more advanced and customized text processing operations.