{"id":67254,"date":"2023-11-08T10:28:58","date_gmt":"2023-11-08T04:58:58","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/"},"modified":"2025-11-06T11:37:16","modified_gmt":"2025-11-06T06:07:16","slug":"excel-formulas","status":"publish","type":"post","link":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/","title":{"rendered":"15 Excel Formulas with Examples"},"content":{"rendered":"\n<p>Do you ever feel lost with Excel formulas and calculations? Or maybe you're already comfortable with Excel, but want to learn advanced-level formulas?<\/p>\n\n\n\n<p>This guide explains the formulas with examples, starting from the basics that everyone should know to more advanced levels that will help you solve complex calculations.<\/p>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Academy Pro<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/excel-training-beginners-to-advanced\" class=\"courses-cta-title-link\">Microsoft Excel Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">Learn Excel the smart way! Our course teaches you all the essential tools and techniques to master spreadsheets, from formulas to charts, and improve your workflow in every task you do.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>10 Hrs<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>2 Projects<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/premium\/excel-training-beginners-to-advanced\" class=\"courses-cta-button\">\n                Learn Excel\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-excel-formulas\"><strong>What are Excel Formulas?<\/strong><\/h2>\n\n\n\n<p>Excel formulas are expressions that we use to perform calculations or manipulate data within a spreadsheet. They are made using predefined functions, mathematical operators, and cell references. Excel formulas are the backbone of data analysis. They help with tasks from basic operations like addition, multiplication, and subtraction to advanced <a href=\"https:\/\/www.mygreatlearning.com\/blog\/what-is-statistical-analysis\/\">statistical analysis<\/a>.<\/p>\n\n\n\n    <div class=\"courses-cta-container\">\n        <div class=\"courses-cta-card\">\n            <div class=\"courses-cta-header\">\n                <div class=\"courses-learn-icon\"><\/div>\n                <span class=\"courses-learn-text\">Free Course<\/span>\n            <\/div>\n            <p class=\"courses-cta-title\">\n                <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/excel-for-beginners\" class=\"courses-cta-title-link\">Excel for Beginners Free Course<\/a>\n            <\/p>\n            <p class=\"courses-cta-description\">Learn essential Excel skills for data analysis, including functions, formulas, and data visualization techniques. Master cell referencing, sorting, and creating charts and presentations.<\/p>\n            <div class=\"courses-cta-stats\">\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-user-icon\"><\/div>\n                    <span>Beginner Level<\/span>\n                <\/div>\n                <div class=\"courses-stat-item\">\n                    <div class=\"courses-stat-icon courses-star-icon\"><\/div>\n                    <span>7.5 hrs<\/span>\n                <\/div>\n            <\/div>\n            <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/excel-for-beginners\" class=\"courses-cta-button\">\n                Enroll Free\n                <div class=\"courses-arrow-icon\"><\/div>\n            <\/a>\n        <\/div>\n    <\/div>\n\n\n\n<p><strong>Important Note:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Formulas in Excel always start with an equal sign (=).<\/li>\n\n\n\n<li>If you make changes to the cell data that is referenced in the formula, Excel automatically re-calculates and updates the new result.<\/li>\n<\/ul>\n\n\n\n<script src=\"https:\/\/bossanova.uk\/jspreadsheet\/v4\/jexcel.js\"><\/script>\n<link rel=\"stylesheet\" href=\"https:\/\/bossanova.uk\/jspreadsheet\/v4\/jexcel.css\" type=\"text\/css\" \/>\n<script src=\"https:\/\/jsuites.net\/v4\/jsuites.js\"><\/script>\n<link rel=\"stylesheet\" href=\"https:\/\/jsuites.net\/v4\/jsuites.css\" type=\"text\/css\" \/>\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Roboto:wght@400;500;700&family=Fira+Code:wght@400;500&display=swap\" rel=\"stylesheet\">\n\n<style>\n    \/* === CSS ISOLATION: Prefix 'em-' used for Excel Masterclass === *\/\n    \n    .em-wrapper {\n        font-family: 'Roboto', sans-serif;\n        color: #333;\n        box-sizing: border-box;\n    }\n\n    .em-container {\n        max-width: 800px;\n        width: 100%;\n        margin: 0 auto;\n        box-sizing: border-box;\n    }\n\n    \/* --- Global Header --- *\/\n    .em-global-header { \n        background: #107c41; \n        color: white; \n        padding: 15px 20px; \n        border-radius: 8px;\n        margin-bottom: 30px;\n        display: flex;\n        justify-content: flex-start;\n        gap: 20px;\n        align-items: center;\n\n    }\n    .em-global-header h2 { margin: 0; font-weight: 500; display: flex; align-items: center; gap: 10px; color: white; }\n    .em-header-icon { background: white; color: #107c41; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-weight: bold; }\n\n    \/* --- Level Card --- *\/\n    .em-level-card {\n        background: white;\n        border-radius: 12px;\n        box-shadow: 0 2px 8px rgba(0,0,0,0.06);\n        margin-bottom: 40px;\n        overflow: hidden;\n        border: 1px solid #e0e0e0;\n    }\n\n    \/* Card Header *\/\n    .em-card-header {\n        background: #fff;\n        padding: 20px 25px;\n        border-bottom: 1px solid #f0f0f0;\n    }\n    .em-topic-title { margin: 0; color: #202124; font-weight: 500; }\n\n    \/* Content Stack *\/\n    .em-card-body { display: flex; flex-direction: column; }\n    \n    \/* Theory Section *\/\n    .em-theory-section { \n        padding: 25px; \n        border-bottom: 1px solid #eee; \n        background: #fff;\n    }\n    .em-topic-def { color: #4a4a4a; line-height: 1.6; margin-bottom: 20px; }\n    \n    .em-syntax-box { \n        background: #f8f9fa; border-radius: 6px; padding: 15px; margin-bottom: 20px; \n        border-left: 4px solid #107c41; font-family: 'Fira Code', monospace; \n        color: #d93025; overflow-x: auto; \n    }\n    \n    .em-pro-tip { \n       background-color: #fafafa; padding: 15px; \n       border-radius: 6px; border: 1px solid #fbc02d; color: #5f6368; line-height: 1.5;\n    }\n\n    \/* Task Section *\/\n    .em-task-section { \n        background: #e8f0fe; \n        padding: 20px 25px; \n        border-bottom: 1px solid #dadce0;\n        display: flex;\n        justify-content: space-between;\n        align-items: flex-start;\n        gap: 15px;\n        flex-wrap: wrap;\n    }\n    .em-task-content { flex: 1; min-width: 200px; }\n    .em-task-label { text-transform: uppercase; letter-spacing: 0.8px; color: #1967d2; font-weight: 700; margin-bottom: 8px; display: block; }\n    .em-task-text { color: #202124; line-height: 1.5; font-weight: 500; margin: 0; }\n    .em-task-text code { background: white; border: 1px solid #dadce0; padding: 3px 6px; border-radius: 4px; font-family: 'Fira Code', monospace; color: #188038; white-space: nowrap; }\n\n    \/* Buttons *\/\n    .em-btn-show {\n        background-color: white;\n        border: 1px solid #1967d2;\n        color: #1967d2;\n        padding: 8px 16px;\n        border-radius: 4px;\n        font-weight: 600;\n        cursor: pointer;\n        transition: background 0.2s;\n        white-space: nowrap;\n    }\n    .em-btn-show:hover { background-color: #e8f0fe; }\n\n    \/* Interactive Area *\/\n    .em-interactive-area { padding: 0; background: #fff; }\n\n    \/* Formula Bar *\/\n    .em-formula-bar-wrapper {\n        background: #fff;\n        padding: 10px 15px;\n        border-bottom: 1px solid #e0e0e0;\n        display: flex;\n        align-items: center;\n        height: 35px;\n    }\n    .em-fx-icon { font-family: serif; font-style: italic; font-weight: bold; color: #999; margin-right: 15px; user-select: none; }\n    .em-formula-input-container { flex-grow: 1; height: 100%; }\n    \/* Override JExcel input *\/\n    .em-formula-input-container input { border: none !important; outline: none !important; font-family: 'Fira Code', monospace; width: 100%; color: #333; }\n\n    \/* Spreadsheet Container *\/\n    .em-sheet-wrapper {\n        padding: 0;\n        overflow-x: auto; \n        -webkit-overflow-scrolling: touch;\n        border-bottom: 1px solid #eee;\n    }\n\n    \/* Success Footer *\/\n    .em-card-footer {\n        padding: 15px 25px;\n        background: #e6f4ea;\n        color: #137333;\n        font-weight: 600;\n        display: none; \n        align-items: center;\n        gap: 10px;\n        animation: em-slideUp 0.3s;\n    }\n    @keyframes em-slideUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }\n\n    \/* JSpreadsheet Overrides *\/\n    .jexcel_container { font-family: 'Roboto', sans-serif; }\n    .jexcel > thead > tr > td { background-color: #f8f9fa !important; color: #5f6368 !important; font-weight: 500 !important; font-size: 12px !important; }\n    .jexcel > tbody > tr > td { font-size: 14px !important; color: #000 !important; padding: 6px !important; }\n    .jexcel > tbody > tr > td.jexcel_row { background-color: #f8f9fa !important; color: #5f6368 !important; }\n    .jexcel_corner { background-color: #f8f9fa !important; }\n    \n<\/style>\n\n<div class=\"em-wrapper\">\n    <div class=\"em-container\">\n        \n        <div class=\"em-global-header\">\n            <h2 id=\"x-excel-formulas-list\"><div class=\"em-header-icon\">X<\/div> Excel Formulas List<\/h2>\n        <\/div>\n\n        <div id=\"em-course-list\"><\/div>\n\n    <\/div>\n<\/div>\n\n<script>\n\n\/\/ =========================================================\n\/\/  DATA CONFIGURATION\n\/\/ =========================================================\n\nconst courseData = [\n    \/\/ --- LEVEL 1: SUM ---\n    {\n        id: \"SUM\",\n        title: \"1. SUM Function\",\n        definition: \"The <b>SUM<\/b> function is the most basic and widely used function in Excel. It simply adds together a series of numbers, cell references, or ranges.\",\n        syntax: \"=SUM(number1, [number2], ...)\",\n        tip: \"You can use the shortcut <code>Alt<\/code> + <code>=<\/code> (in desktop Excel) to automatically insert the AutoSum function without typing.\",\n        task: \"Calculate the total cost in cell <b>B6<\/b>. Type <code>=SUM(B2:B5)<\/code>\",\n        answers: [{ cell: 'B6', value: '=SUM(B2:B5)' }], \n        data: [ ['Item', 'Cost'], ['Milk', 4.50], ['Bread', 2.00], ['Eggs', 3.50], ['Cheese', 6.00], ['TOTAL', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:150, mask: '$ #,##0.00', type: 'numeric' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;', 'A6':'font-weight:bold;', 'B6':'font-weight:bold; background-color:#e6f4ea;' },\n        validate: (sheet) => sheet.getValue('B6') == 16\n    },\n    \/\/ --- LEVEL 2: AVERAGE ---\n    {\n        id: \"AVERAGE\",\n        title: \"2. AVERAGE Function\",\n        definition: \"The <b>AVERAGE<\/b> function calculates the arithmetic mean of a group of numbers. It sums all the numbers in the range and divides by the count of those numbers.\",\n        syntax: \"=AVERAGE(number1, [number2], ...)\",\n        tip: \"Empty cells are ignored, but cells containing <code>0<\/code> are included in the calculation. Be careful with zeros!\",\n        task: \"Calculate average score in <b>B6<\/b>. Type <code>=AVERAGE(B2:B5)<\/code>\",\n        answers: [{ cell: 'B6', value: '=AVERAGE(B2:B5)' }],\n        data: [ ['Student', 'Score'], ['Alice', 85], ['Bob', 90], ['Charlie', 78], ['David', 92], ['AVG', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:150, type: 'numeric' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;', 'B6':'background-color:#e6f4ea;' },\n        validate: (sheet) => sheet.getValue('B6') == 86.25\n    },\n    \/\/ --- LEVEL 3: MAX\/MIN ---\n    {\n        id: \"MAXMIN\",\n        title: \"3. MAX & MIN\",\n        definition: \"These twin functions are used to find extremes in your data. <b>MAX<\/b> returns the largest value in a range, while <b>MIN<\/b> returns the smallest value.\",\n        syntax: \"=MAX(range) | =MIN(range)\",\n        tip: \"These are great for finding the highest salesperson, lowest test score, or date ranges (earliest\/latest date).\",\n        task: \"1. Find Highest sales in <b>B6<\/b> (MAX).<br>2. Find Lowest sales in <b>B7<\/b> (MIN).\",\n        answers: [{ cell: 'B6', value: '=MAX(B2:B5)' }, { cell: 'B7', value: '=MIN(B2:B5)' }],\n        data: [ ['Month', 'Sales'], ['Jan', 1200], ['Feb', 4500], ['Mar', 900], ['Apr', 3000], ['MAX', ''], ['MIN', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:150, mask: '$ #,##0', type: 'numeric' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B6') == 4500 && sheet.getValue('B7') == 900\n    },\n    \/\/ --- LEVEL 4: COUNT ---\n    {\n        id: \"COUNT\",\n        title: \"4. COUNT Function\",\n        definition: \"The <b>COUNT<\/b> function counts the number of cells that contain <b>numbers<\/b>. It does NOT count text, errors, or empty cells.\",\n        syntax: \"=COUNT(value1, [value2], ...)\",\n        tip: \"Dates are stored as numbers in Excel, so COUNT will include dates. Use COUNTA if you need to count text.\",\n        task: \"Count numeric entries in <b>B7<\/b>.\",\n        answers: [{ cell: 'B7', value: '=COUNT(B2:B6)' }],\n        data: [ ['Entry', 'Value'], ['Item 1', 100], ['Item 2', 'Error'], ['Item 3', 50], ['Item 4', 200], ['Item 5', 'N\/A'], ['COUNT', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:150 } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B7') == 3\n    },\n    \/\/ --- LEVEL 5: COUNTA ---\n    {\n        id: \"COUNTA\",\n        title: \"5. COUNTA Function\",\n        definition: \"The <b>COUNTA<\/b> (Count All) function counts cells that are <b>not empty<\/b>. It counts numbers, text, logical values, and even errors.\",\n        syntax: \"=COUNTA(value1, [value2], ...)\",\n        tip: \"Use this to count a list of names, products, or attendance where the data isn't just numbers.\",\n        task: \"Count RSVPs in <b>B7<\/b>.\",\n        answers: [{ cell: 'B7', value: '=COUNTA(B2:B6)' }],\n        data: [ ['Guest', 'RSVP'], ['John', 'Yes'], ['Sarah', 'Yes'], ['Mike', 'No'], ['Anna', ''], ['Steve', 'Yes'], ['TOTAL', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:150, type: 'text' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B7') == 4\n    },\n    \/\/ --- LEVEL 6: TRIM ---\n    {\n        id: \"TRIM\",\n        title: \"6. TRIM Function\",\n        definition: \"The <b>TRIM<\/b> function cleans up text by removing all extra spaces. It strips leading and trailing spaces and ensures only one space remains between words.\",\n        syntax: \"=TRIM(text)\",\n        tip: \"Essential for cleaning data exported from other databases (like SQL or SAP) which often have hidden 'ghost' spaces.\",\n        task: \"Clean text from A2 in cell <b>B2<\/b>.\",\n        answers: [{ cell: 'B2', value: '=TRIM(A2)' }],\n        data: [ ['Raw Text', 'Cleaned'], ['  Excel   is   Fun  ', ''] ],\n        columns: [ { width:250, type: 'text' }, { width:250, type: 'text' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B2') == \"Excel is Fun\"\n    },\n    \/\/ --- LEVEL 7: LEN ---\n    {\n        id: \"LEN\",\n        title: \"7. LEN Function\",\n        definition: \"The <b>LEN<\/b> function returns the length of a text string as a number of characters. This includes letters, numbers, special characters, and spaces.\",\n        syntax: \"=LEN(text)\",\n        tip: \"Often used with data validation to ensure zip codes (5 digits) or phone numbers are the correct length.\",\n        task: \"Count length of password in <b>B2<\/b>.\",\n        answers: [{ cell: 'B2', value: '=LEN(A2)' }],\n        data: [ ['Password', 'Length'], ['SuperSecret123!', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:150 } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B2') == 15\n    },\n    \/\/ --- LEVEL 8: CONCAT ---\n    {\n        id: \"CONCAT\",\n        title: \"8. CONCATENATE (&)\",\n        definition: \"Concatenation joins two or more text strings into one. You can use the ampersand <b>&<\/b> operator or the <b>CONCAT<\/b> function.\",\n        syntax: \"=text1 & \\\" \\\" & text2\",\n        tip: \"Don't forget to put a space inside quotes <code>\\\" \\\"<\/code> between cells if you want your words separated!\",\n        task: \"Combine First and Last name in <b>C2<\/b>.\",\n        answers: [{ cell: 'C2', value: '=A2 & \" \" & B2' }],\n        data: [ ['First', 'Last', 'Full Name'], ['James', 'Bond', ''] ],\n        columns: [ { width:150, type: 'text' }, { width:150, type: 'text' }, { width:200, type: 'text' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;', 'C1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('C2') == \"James Bond\"\n    },\n    \/\/ --- LEVEL 9: CASING ---\n    {\n        id: \"CASING\",\n        title: \"9. UPPER, LOWER, PROPER\",\n        definition: \"These functions change the case of text. <b>UPPER<\/b> converts to all caps, <b>LOWER<\/b> to all lowercase, and <b>PROPER<\/b> capitalizes the first letter of each word.\",\n        syntax: \"=UPPER(text) | =PROPER(text)\",\n        tip: \"PROPER is perfect for fixing lists of names that were typed inconsistently (e.g., 'john doe' -> 'John Doe').\",\n        task: \"1. Uppercase A2 in <b>B2<\/b>.<br>2. Proper Case A3 in <b>B3<\/b>.\",\n        answers: [{ cell: 'B2', value: '=UPPER(A2)' }, { cell: 'B3', value: '=PROPER(A3)' }],\n        data: [ ['Input', 'Result'], ['hello world', ''], ['jOhN dOe', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:200, type: 'text' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B2') == \"HELLO WORLD\" && sheet.getValue('B3') == \"John Doe\"\n    },\n    \/\/ --- LEVEL 10: LEFT\/RIGHT ---\n    {\n        id: \"LEFTRIGHT\",\n        title: \"10. LEFT & RIGHT\",\n        definition: \"These extraction functions pull characters from the start (<b>LEFT<\/b>) or end (<b>RIGHT<\/b>) of a text string based on the number of characters you specify.\",\n        syntax: \"=LEFT(text, num_chars)\",\n        tip: \"Commonly used to extract Area Codes from phone numbers or State codes from Zip+State strings.\",\n        task: \"1. First 3 digits in <b>B2<\/b>.<br>2. Last 4 digits in <b>C2<\/b>.\",\n        answers: [{ cell: 'B2', value: '=LEFT(A2, 3)' }, { cell: 'C2', value: '=RIGHT(A2, 4)' }],\n        data: [ ['Phone', 'Area', 'Last 4'], ['555-0199', '', ''] ],\n        \/\/ FIX: Ensure Phone column is text\n        columns: [ { width:180, type: 'text' }, { width:150 }, { width:150 } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;', 'C1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B2') == \"555\" && sheet.getValue('C2') == \"0199\"\n    },\n    \/\/ --- LEVEL 11: MID ---\n    {\n        id: \"MID\",\n        title: \"11. MID Function\",\n        definition: \"The <b>MID<\/b> function extracts a specific number of characters from the <b>middle<\/b> of a text string, given a starting position and length.\",\n        syntax: \"=MID(text, start_num, num_chars)\",\n        tip: \"Unlike LEFT\/RIGHT, you must tell Excel exactly where to start counting (1 is the first character).\",\n        task: \"Extract 'AB' from A2 in <b>B2<\/b>. (Start 4, Length 2).\",\n        answers: [{ cell: 'B2', value: '=MID(A2, 4, 2)' }],\n        data: [ ['SKU', 'ID'], ['99-AB-100', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:150 } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B2') == \"AB\"\n    },\n    \/\/ --- LEVEL 12: IF ---\n    {\n        id: \"IF\",\n        title: \"12. IF Function\",\n        definition: \"The <b>IF<\/b> function is one of Excel's most powerful tools. It tests a condition and returns one value if TRUE, and a different value if FALSE.\",\n        syntax: \"=IF(logical_test, value_if_true, value_if_false)\",\n        tip: \"You can nest IF statements inside each other to test multiple conditions (e.g., Grade A, B, C).\",\n        task: \"In <b>C2<\/b>: If Score > 50, 'Pass', else 'Fail'.\",\n        answers: [{ cell: 'C2', value: '=IF(B2>50, \"Pass\", \"Fail\")' }],\n        data: [ ['Name', 'Score', 'Result'], ['Mike', 45, ''], ['Sarah', 80, ''] ],\n        columns: [ { width:150, type: 'text' }, { width:100, type: 'numeric' }, { width:150 } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;', 'C1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('C2') == \"Fail\"\n    },\n    \n    \/\/ --- LEVEL 16: TODAY ---\n    {\n        id: \"TODAY\",\n        title: \"13. TODAY\",\n        definition: \"The <b>TODAY<\/b> function returns the current date. It is dynamic, meaning it updates automatically every time the worksheet recalculates.\",\n        syntax: \"=TODAY()\",\n        tip: \"This function takes no arguments. If you want a static date that doesn't change, press <code>Ctrl<\/code> + <code>;<\/code>.\",\n        task: \"Insert today's date in <b>B2<\/b>.\",\n        answers: [{ cell: 'B2', value: '=TODAY()' }],\n        data: [ ['Desc', 'Date'], ['Today', ''] ],\n        columns: [ { width:200, type: 'text' }, { width:200 } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => { const val = sheet.getValue('B2'); return val !== \"\" && new Date(val).toString() !== 'Invalid Date'; }\n    },\n  \n    \/\/ --- LEVEL 18: ROUND ---\n    {\n        id: \"ROUND\",\n        title: \"14. ROUND Function\",\n        definition: \"The <b>ROUND<\/b> function rounds a number to a specified number of digits. Standard rounding rules apply (1-4 down, 5-9 up).\",\n        syntax: \"=ROUND(number, num_digits)\",\n        tip: \"Use <code>ROUNDUP<\/code> or <code>ROUNDDOWN<\/code> if you want to force the direction of the rounding.\",\n        task: \"Round A2 to 2 decimals in <b>B2<\/b>.\",\n        answers: [{ cell: 'B2', value: '=ROUND(A2, 2)' }],\n        data: [ ['Original', 'Rounded'], [3.14159, ''] ],\n        columns: [ { width:200, type: 'numeric' }, { width:200 } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B2') == 3.14\n    },\n    \/\/ --- LEVEL 19: SUBSTITUTE (THE CRITICAL FIX) ---\n    {\n        id: \"SUBSTITUTE\",\n        title: \"15. SUBSTITUTE\",\n        definition: \"<b>SUBSTITUTE<\/b> replaces specific text in a string with new text. It matches the exact characters you specify.\",\n        syntax: \"=SUBSTITUTE(text, old_text, new_text)\",\n        tip: \"Use SUBSTITUTE when you know the <i>text<\/i> to replace. Use REPLACE when you know the <i>position<\/i> of the text.\",\n        task: \"Change '2023' to '2024' in <b>B2<\/b>.\",\n        answers: [{ cell: 'B2', value: '=SUBSTITUTE(A2, \"2023\", \"2024\")' }],\n        data: [ ['Old Name', 'New Name'], ['Report 2023', ''] ],\n        \/\/ FIX: CRITICAL 'type: text' prevents \"2023\" being parsed as number, fixing e.split error\n        columns: [ { width:200, type: 'text' }, { width:200, type: 'text' } ],\n        style: { 'A1':'font-weight:bold; background-color: #f3f3f3;', 'B1':'font-weight:bold; background-color: #f3f3f3;' },\n        validate: (sheet) => sheet.getValue('B2') == \"Report 2024\"\n    }\n];\n\n\/\/ =========================================================\n\/\/  LOGIC: RENDER ALL LEVELS\n\/\/ =========================================================\n\nlet completedCount = 0;\nconst completedLevels = new Set();\n\/\/ =========================================================\n\/\/  CUSTOM FORMULA LOGIC (MANUAL OVERRIDES)\n\/\/ =========================================================\n\n\/\/ 6. SUBSTITUTE\nwindow.SUBSTITUTE = function(text, oldText, newText) {\n    if (!text) return \"\";\n    let str = String(text); \n    let cleanOld = cleanVal(oldText);\n    let cleanNew = cleanVal(newText);\n    \n    return str.split(cleanOld).join(cleanNew);\n};\nfunction init() {\n    const container = document.getElementById('em-course-list');\n    \n    courseData.forEach((level, index) => {\n        \/\/ 1. Create Layout\n        const card = document.createElement('div');\n        card.className = 'em-level-card';\n        card.innerHTML = `\n            <div class=\"em-card-header\">\n                <h3 class=\"em-topic-title\" class=\"em-topic-title\" id=\"level-title\">${level.title}<\/h3>\n            <\/div>\n            <div class=\"em-card-body\">\n                <div class=\"em-theory-section\">\n                    <div class=\"em-topic-def\">${level.definition}<\/div>\n                    <div class=\"em-syntax-box\">${level.syntax}<\/div>\n                    <div class=\"em-pro-tip\"><b> Tip:<\/b> ${level.tip}<\/div>\n                <\/div>\n                <div class=\"em-task-section\">\n                    <div class=\"em-task-content\">\n                        <span class=\"em-task-label\">Your Task<\/span>\n                        <div class=\"em-task-text\">${level.task}<\/div>\n                    <\/div>\n                    <button class=\"em-btn-show\" onclick=\"showAnswer(${index})\">Show Answer<\/button>\n                <\/div>\n            <\/div>\n            <div class=\"em-interactive-area\">\n                <div class=\"em-formula-bar-wrapper\">\n                    <span class=\"em-fx-icon\">fx<\/span>\n                    <div class=\"em-formula-input-container\" id=\"formula-bar-${index}\"><\/div>\n                <\/div>\n                <div class=\"em-sheet-wrapper\">\n                    <div id=\"spreadsheet-${index}\"><\/div>\n                <\/div>\n            <\/div>\n            <div class=\"em-card-footer\" id=\"footer-${index}\">\n                \ud83c\udf89 Correct! Level Completed.\n            <\/div>\n        `;\n        container.appendChild(card);\n\n        \/\/ 2. Initialize Spreadsheet\n        jspreadsheet(document.getElementById(`spreadsheet-${index}`), {\n            data: level.data,\n            columns: level.columns,\n            style: level.style,\n            minDimensions: [5, 5],\n            allowInsertRow: false,\n            allowInsertColumn: false,\n            allowDeleteRow: false,\n            contextMenu: false,\n            wordWrap: true,\n            \n            \/\/ Connect Unique Formula Bar\n            formulabar: document.getElementById(`formula-bar-${index}`),\n\n            \/\/ Live Validation\n            onchange: function(instance, cell, x, y, value) {\n                const sheet = instance.jexcel; \n                validateLevel(index, sheet);\n            }\n        });\n    });\n}\n\n\/\/ Function to validate logic separate from render\nfunction validateLevel(index, sheet) {\n    const level = courseData[index];\n    let isCorrect = false;\n    try {\n        isCorrect = level.validate(sheet);\n    } catch(e) { console.log(e); }\n\n    const footer = document.getElementById(`footer-${index}`);\n    \n    if (isCorrect) {\n        footer.style.display = 'flex';\n        if (!completedLevels.has(index)) {\n            completedLevels.add(index);\n            updateGlobalProgress();\n        }\n    } else {\n        footer.style.display = 'none';\n    }\n}\n\n\/\/ Function triggered by \"Show Answer\" button\nfunction showAnswer(index) {\n    const level = courseData[index];\n    const sheetEl = document.getElementById(`spreadsheet-${index}`);\n    const sheet = sheetEl.jexcel;\n\n    if(level.answers && level.answers.length > 0) {\n        level.answers.forEach(ans => {\n            \/\/ Apply formula\/value\n            sheet.setValue(ans.cell, ans.value);\n            \/\/ Trigger validation immediately in case simple onChange misses it\n            validateLevel(index, sheet);\n        });\n    }\n}\n\nfunction updateGlobalProgress() {\n    \/\/ Optional global progress if element exists\n    const progressEl = document.getElementById('em-globalProgress');\n    if(progressEl) {\n        progressEl.innerText = `${completedLevels.size} \/ ${courseData.length} Completed`;\n    }\n    if(completedLevels.size === courseData.length) {\n        alert(\"\ud83c\udf89 Congratulations! You have mastered all Excel formulas!\");\n    }\n}\n\n\/\/ Start\ninit();\n\n<\/script>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"frequently-asked-questions\">Frequently Asked Questions<\/h2>\n\n\n\n<p><strong>Q: Can Excel formulas handle large datasets?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> Yes, Excel formulas are designed for working with big data. They can make calculations on thousands of rows at a time. However, when you have massive datasets,&nbsp;your computer's speed and memory might affect performance. Consider using Excel's built-in tools for large datasets or explore alternative solutions if necessary.<\/p>\n\n\n\n<p><strong>Q: I have a large dataset and need to find a specific value. What can I do?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> Consider using VLOOKUP. It searches a table for a specific value in one column and returns data from a different column in the same row. (Note: VLOOKUP has limitations, use INDEX and MATCH for more complex scenarios.)<\/p>\n\n\n\n<p><strong>Q: My formula displays errors! What's wrong?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> There can be several reasons. Check for typos, incorrect cell references, or data inconsistencies. Excel's =ISERROR function can also help identify error cells.<\/p>\n\n\n\n<p><strong>Q: Can formulas eliminate manual data analysis?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> Excel formulas are powerful tools that reduce the need for manual calculations. They should, however, not replace data analysis completely. Instead of eliminating it, they make your manual analysis more efficient and accurate.<\/p>\n\n\n\n<p>If you want to enhance Excel productivity and efficiency by reducing the need for manual mouse clicks, then you should know about the <a href=\"https:\/\/www.mygreatlearning.com\/blog\/commonly-used-excel-shortcuts\/\">Most Used Excel Shortcuts<\/a>.<\/p>\n\n\n\n<p><strong>Q: Are Excel formulas universal across all Excel versions?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> The core Excel formulas you rely on remain consistent across most versions. However, newer versions often introduce additional functions and improved features to enhance your experience.<\/p>\n\n\n\n<p><strong>Q: Can I use formulas to format cells based on certain conditions?<\/strong><\/p>\n\n\n\n<p><strong>A:<\/strong> Yes! Conditional formatting lets you apply formatting rules based on formula results. For example, highlight cells exceeding a value with a specific color.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This comprehensive guide will help you to master Excel formulas. Learn essential and advanced functions with examples to boost productivity, streamline calculations, and enhance data analysis in your spreadsheets.<\/p>\n","protected":false},"author":41,"featured_media":67262,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9],"tags":[36822],"content_type":[36248],"class_list":["post-67254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-science","tag-excel","content_type-career-guide"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>15 MS Excel Formulas with Examples<\/title>\n<meta name=\"description\" content=\"Master Excel formulas effortlessly with this Guide. Learn how to perform calculations and manipulate cell contents with ease.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"15 Excel Formulas with Examples\" \/>\n<meta property=\"og:description\" content=\"Master Excel formulas effortlessly with this Guide. Learn how to perform calculations and manipulate cell contents with ease.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-08T04:58:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-06T06:07:16+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1254\" \/>\n\t<meta property=\"og:image:height\" content=\"836\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Great Learning Editorial Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/Great_Learning\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Great Learning Editorial Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"15 Excel Formulas with Examples\",\"datePublished\":\"2023-11-08T04:58:58+00:00\",\"dateModified\":\"2025-11-06T06:07:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/\"},\"wordCount\":445,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/iStock-1145981284.jpg\",\"keywords\":[\"excel\"],\"articleSection\":[\"Data Science and Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/\",\"name\":\"15 MS Excel Formulas with Examples\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/iStock-1145981284.jpg\",\"datePublished\":\"2023-11-08T04:58:58+00:00\",\"dateModified\":\"2025-11-06T06:07:16+00:00\",\"description\":\"Master Excel formulas effortlessly with this Guide. Learn how to perform calculations and manipulate cell contents with ease.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/iStock-1145981284.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/iStock-1145981284.jpg\",\"width\":1254,\"height\":836,\"caption\":\"excel formulas\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/excel-formulas\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Data Science and Analytics\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/data-science\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"15 Excel Formulas with Examples\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"15 MS Excel Formulas with Examples","description":"Master Excel formulas effortlessly with this Guide. Learn how to perform calculations and manipulate cell contents with ease.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/","og_locale":"en_US","og_type":"article","og_title":"15 Excel Formulas with Examples","og_description":"Master Excel formulas effortlessly with this Guide. Learn how to perform calculations and manipulate cell contents with ease.","og_url":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","article_published_time":"2023-11-08T04:58:58+00:00","article_modified_time":"2025-11-06T06:07:16+00:00","og_image":[{"width":1254,"height":836,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg","type":"image\/jpeg"}],"author":"Great Learning Editorial Team","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/Great_Learning","twitter_site":"@Great_Learning","twitter_misc":{"Written by":"Great Learning Editorial Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"15 Excel Formulas with Examples","datePublished":"2023-11-08T04:58:58+00:00","dateModified":"2025-11-06T06:07:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/"},"wordCount":445,"commentCount":0,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg","keywords":["excel"],"articleSection":["Data Science and Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/","url":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/","name":"15 MS Excel Formulas with Examples","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg","datePublished":"2023-11-08T04:58:58+00:00","dateModified":"2025-11-06T06:07:16+00:00","description":"Master Excel formulas effortlessly with this Guide. Learn how to perform calculations and manipulate cell contents with ease.","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg","width":1254,"height":836,"caption":"excel formulas"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/excel-formulas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Data Science and Analytics","item":"https:\/\/www.mygreatlearning.com\/blog\/data-science\/"},{"@type":"ListItem","position":3,"name":"15 Excel Formulas with Examples"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg",1254,836,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284-150x150.jpg",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284-300x200.jpg",300,200,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284-768x512.jpg",768,512,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284-1024x683.jpg",1024,683,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg",1254,836,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284.jpg",1254,836,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284-640x836.jpg",640,836,true],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284-96x96.jpg",96,96,true],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/05\/iStock-1145981284-150x100.jpg",150,100,true]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"This comprehensive guide will help you to master Excel formulas. Learn essential and advanced functions with examples to boost productivity, streamline calculations, and enhance data analysis in your spreadsheets.","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/67254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=67254"}],"version-history":[{"count":61,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/67254\/revisions"}],"predecessor-version":[{"id":114492,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/posts\/67254\/revisions\/114492"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/67262"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=67254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=67254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=67254"},{"taxonomy":"content_type","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/content_type?post=67254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}