Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to calculate current stock or inventory in Excel
  • How To Create Pareto Chart in Excel
  • How to create dynamic reference table name in Excel
  • Use Data Form to input, edit and delete records in Excel
  • Example of COUNTIFS with variable table column in Excel

References

  • Approximate match with multiple criteria in Excel
  • Get nth match with INDEX / MATCH in Excel
  • Left Lookup in Excel
  • Multi-criteria lookup and transpose in Excel
  • Last row number in range

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation with conditional list
  • Excel Data validation no punctuation
  • Excel Data validation unique values only
  • Excel Data validation only dates between

Category: Others

Excel Tutorials for beginners, Intermediates and experts.

How to calculate percent of students absent in Excel

by

To calculate percent of students attending a class, given a total class size and the number of students attending, you can use a simple formula that divides students absent (calculated by subtracting attending from total) by the total. The result must be formatted using the percentage number format. Formula =(total-attended)/total Note: when working manually, percentage results …

Continue Reading

List sheet names with formula in Excel

by

To list worksheets in an Excel workbook, you can use a 2-step approach: (1) define a named range called “sheetnames” with an old macro command and (2) use an INDEX formula to retrieve sheet names using the named range. Formula =GET.WORKBOOK(1)&T(NOW()) Note: because this formula relies on a macro command, you’ll need to save as a macro-enabled workbook …

Continue Reading

List worksheet index numbers in Excel

by

To list the index numbers of sheets in an Excel workbook, you can enter the sheet names, then use a formula based on the SHEET and INDIRECT functions. The SHEET function then returns the current index for each sheet as listed. Formula =SHEET(INDIRECT(name&”!A1″)) Explanation In the example shown, the formula in C5 is: =SHEET(INDIRECT(B5&”!A1″)) How …

Continue Reading

How to get Excel workbook path only

by

If you want to get the workbook path (directory) only, you can do so with a formula that uses the LEFT and the FIND function. The result will look something like this: Drive:\path\to\file\ //Windows Drive:path:to:file: //Mac Formula =LEFT(CELL(“filename”,A1),FIND(“[“,CELL(“filename”,A1))-1) Explanation How the formula works The cell function is used to get the full file name and …

Continue Reading

How to create dynamic worksheet reference in Excel

by

To create a formula with a dynamic sheet name you can use the INDIRECT function. Note: The point of this approach is it lets you to build a formula where the sheet name is a dynamic variable. So, for example, you could change a sheet name (perhaps with a drop down menu) and pull in information …

Continue Reading

Create dynamic workbook reference to another workbook in Excel

by

To build a dynamic worksheet reference – a reference to another workbook that is created with a formula based on variables that may change – you can use a formula based on the INDIRECT function. See example below: Formula =INDIRECT(“‘[“&workbook&”]”&sheet&”‘!”&ref) Explanation In the example shown, the formula in E6 is: =INDIRECT(“‘[“&B6&”]”&C6&”‘!”&D6) How this formula works …

Continue Reading

How to calculate decrease by percentage in Excel

by

If you need to decrease a number by a certain percentage, you can use a simple formula that multiplies the number times the percent – 1. Formula =number*(1-percent) Explanation In the example, the active cell contains this formula: =C6*(1-D6) In this case, Excel first calculates the result of 1 – the value in D6 (.2) …

Continue Reading

How to calculate percent sold in Excel

by

To calculate percentage sold, you can use a simple formula that divides sold amount by the total amount. Formula =sold/total Note: when working manually, percentage results are calculated by dividing one number by another, then multiplying by 100 to express as a percentage. However, because Excel can display decimal or fractional values automatically as a percentage by applying …

Continue Reading

How to calculate percent of goal in Excel

by

If you need to calculate percent of goal, you can do so with a simple formula that divides the actual by the goal amount, with the result formatted using the percentage number format. This same formula can be used to calculate things like percent of target, percent of budget, percent of forecast, and so on. …

Continue Reading

How to increase by percentage in Excel

by

If you need to increase a number by a certain percentage, you can use a simple formula that multiplies the number times the percent + 1. Formula =number*(1+percent) Explanation How this formula works In the example, the active cell contains this formula: =C6*(1+D6) In this case, Excel first calculates the result of 1 + the …

Continue Reading

How to calculate total from percentage in Excel

by

If you have an amount and the percentage that the amount represents of a total, you can calculate the total with a formula that simply divides the amount by the percentage. Formula = amount / percent Explanation In the example, the active cell contains this formula: =C6/D6 Excel simply divides the value in cell C6 …

Continue Reading

How to calculate profit margin percentage in Excel

by

If you need to calculate a profit margin, you can easily do so with a simple formula that uses the sale price and the cost. Formula =(price-cost)/price Explanation In the example shown, the first formula looks like this: =(B4-C4)/B4 Make sure you use parentheses to control the order of operations. Note that the result will …

Continue Reading

How to calculate percentage of total in Excel

by

To calculate percent of a total (i.e. calculate a percent distribution), you can use a formula that simply divides an amount by the total. Formula =amount/total Explanation In the example shown, the formula in D6 is: =C6/$C$11 Note: the result is formatted with Percentage number format to show 25%, 10%, etc. How the formula works In the …

Continue Reading

How to generate random number weighted probability in Excel

by

To generated a random number, weighted with a given probability, you can use a helper table together with a formula based on the RAND and MATCH functions. Formula =MATCH(RAND(),cumulative_probability) Explanation In the example shown, the formula in F5 is: =MATCH(RAND(),D$5:D$10) How this formula works This formula relies on the helper table visible in the range …

Continue Reading

How to generate random date between two dates in Excel

by

To generate random dates between two dates, you can use the RANDBETWEEN function, together with the DATE function. See example below: Formula =RANDBETWEEN(date1,date2) Explanation In the example shown, the formula in B5 is: =RANDBETWEEN(DATE(2016,1,1),DATE(2016,12,31)) This formula is then copied down from B5 to B11. The result is random dates between Jan 1, 2016 and Dec …

Continue Reading

Find Most Frequently Occurring Word in Excel Worksheet

by

Example of how to find the most frequently occurring word in an Excel Worksheet. You can use the MODE function to find the most frequently occurring number. However, the MODE function only works with numbers. You can use the COUNTIF function to count the number of occurrences of each word. However, we are looking for a single formula that returns the most …

Continue Reading

Delete Blank Rows at Once in Excel

by

When you have empty rows cluttering your spreadsheet and you need to tighten it up, easy and fast? Removing blank rows is the first thing you should do! This example teaches you how to delete blank rows or rows that contain blank cells. 1. On the Home tab, in the Editing group, click Find & Select. 2. …

Continue Reading

Freeze and Unfreeze Panes in Excel

by

If you have a large table of data in Excel, it can be useful to freeze rows or columns. This way you can keep rows or columns visible while scrolling through the rest of the worksheet. Freeze Top Row To freeze the top row, execute the following steps. 1. On the View tab, in the Window group, click …

Continue Reading

Index and match on multiple columns in Excel

by

This tutorial shows how to calculate Index and match on multiple columns in Excel  using the example below; Formula {=INDEX(range1,MATCH(1,MMULT(–(range2=critera), TRANSPOSE(COLUMN(range2)^0)),0))} Explanation To lookup a value by matching across multiple columns, you can use an array formula based on the MMULT, TRANSPOSE, COLUMN, and INDEX. In the example shown, the formula in H4 is: {=INDEX(groups,MATCH(1,MMULT(–(names=G4), TRANSPOSE(COLUMN(names)^0)),0))} where …

Continue Reading

Currency vs Accounting Format in Excel

by

The Currency format and the Accounting format in Excel are very similar to each other. This example shows the difference. 1. Enter the following values. 2. The Currency format places the dollar sign right next to the number. 3. The Accounting format aligns the dollar signs at the left edge of the cell and displays a dash for zero values. Note: …

Continue Reading

Lock Cells in a Worksheet Excel

by

Lock specific areas of a worksheet You can lock cells in Excel if you want to protect cells from being edited. In this example, we will lock cell A2. Before you start: by default, all cells are locked. However, locking cells has no effect until you protect the worksheet. So when you protect a worksheet, all your cells (=worksheet) will …

Continue Reading

Mark Workbook as Final in Excel

by

To help prevent changes to a final version of an excel file, you Mark a workbook as final. Only use this feature to discourage editing. Users can still edit the workbook. Here are steps to Mark a workbook as final below: 1. Open a workbook. 2. On the File tab, click Info. 3. Click Protect Workbook, Mark as …

Continue Reading

How to Insert Cells, Row and Rows in Excel

by

To quickly insert a row in Excel, select a row and use the shortcut keys CTRL SHIFT +. To quickly insert multiple rows, select multiple rows and use the same shortcut. Insert Row To insert a row in Excel, execute the following steps. 1. Select a row. 2. Right click, and then click Insert. Result: Note: instead of …

Continue Reading

How to Delete Cells, Row and Rows in Excel

by

To quickly delete a row in Excel, select a row and use the shortcut key CTRL – (minus sign). To quickly delete multiple rows, select multiple rows and use the same shortcut. Delete Row To delete a row in Excel, execute the following steps. 1. Select a row. 2. Right click, and then click Delete. Result: Note: …

Continue Reading

Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’

by

Formula auditing in Excel allows you find and correct errors in formulas. Also, displays the relationship between formulas and cells using Trace Precedents, Remove Arrows, Trace Dependents, Show Formulas, Error Checking and Evaluate Formula. The example below helps you master Formula Auditing quickly and easily. Trace Precedents You have to pay $96.00. To show arrows that indicate which cells are used …

Continue Reading

Customize Ribbon In Excel

by

Excel Ribbon: Navigation, Customizing and Collapsing.  Navigate through Excel Ribbon Excel Ribbon are directly below File, Home, Insert, Page layout, Formulas, Data, Review and View tabs. Excel selects the ribbon’s Home tab when you open a workbook. You can checkout our previous post on Working with Excel ribbon. Customize Excel Ribbon The essence of customizing the ribbon is mainly …

Continue Reading

Excel Default Templates

by

Book.xltx and Sheet.xltx are two special templates you can create and add to the XLStart folder. As a result, Excel uses Book.xltx as the basis for new workbooks and Sheet.xltx as the basis for new worksheets. Book.xltx To create Book.xltx, execute the following steps. 1. Create a workbook. For example, change the row height of all rows on the …

Continue Reading

Excel Operators

by

Excel Operators are simply functions used to perform/calculate Mathematical Operations. Although the Excel Operators are not, strictly speaking, Excel Functions, they are frequently used with Excel Functions and as a part of Excel Formulas. Therefore we have provided a brief explanation of Excel Operators in the following page: Excel Operators Excel Mathematical Operators – used to …

Continue Reading

44 Practical Excel IF function Examples

by

This chapter takes you through 44 IF function Questions and Answers in Excel. EXCEL IF function tests a user-defined condition and returns one result if the condition is TRUE, and another result if the condition is FALSE Here are practical examples of  IF function test in Excel: Question 1: In Microsoft Excel, I’m trying to use the IF …

Continue Reading

Spell Check in Excel

by

Learn how to check the spelling of text in Excel. You can also add words to your custom dictionary or AutoCorrect list. 1. Open a worksheet with some spelling errors. 2. On the Review tab, in the Proofing group, click Spelling. 3. Select a suggestion and click Change to correct the misspelling in cell A2. 4. Click Change …

Continue Reading

AutoRecover file that was never saved in Excel

by

Excel periodically saves a copy of your Excel file. Learn how to recover a file that was never saved and how to recover a file that has been saved at least once. If Excel crashes, it displays the Document Recovery Pane, the first time you open Excel again. This is a quick way to recover the …

Continue Reading

Zoom Worksheet in Excel

by

Use the buttons on the View tab to zoom to a specific percentage and to zoom to a selection. In most cases, you can use the minus and plus symbols in the status bar to quickly zoom the document. 1. To quickly zoom the document, use the minus and plus symbols in the status bar. To zoom …

Continue Reading

AutoFit Column Width, AutoFit Row Height in Excel

by

You probably know how to change the width of a column in Excel, but do you know how to automatically fit the widest entry in a column? AutoFit Column Width The default width of a column is 64 pixels. 1. You can change the width of a column by clicking and dragging the right border of the column …

Continue Reading

Hide and Unhide Columns or Rows in Excel

by

Only show just the data that you need to see or print by hiding columns or rows in Excel. Sometimes it can be useful to hide columns or rows. Hide To hide a column, execute the following steps. 1. Select a column. 2. Right click, and then click Hide. Result: Note: to hide a row, select a row, …

Continue Reading

How to Create Calendar in Excel

by

This example describes how to create a calendar in Excel (2019 calendar, 2020 calendar, etc). If you are in a hurry. Note: the instructions below do not teach you how to format the worksheet. We assume that you know how to change font sizes, font styles, insert rows and columns, add borders, change background colors, etc. This is what …

Continue Reading

Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel

by

Paste Special Transpose Transpose Function Use the ‘Paste Special Transpose’ option to switch rows to columns or columns to rows in Excel. You can also use the TRANSPOSE function. Paste Special Transpose To transpose data, execute the following steps. 1. Select the range A1:C1. 2. Right click, and then click Copy. 3. Select cell E2. 4. Right …

Continue Reading

Advanced Number Formats in Excel

by

Excel has many built-in formats. You can select standard number formats such as General, Number, Currency, Accounting, Short Date, Long Date, Time, Percentage, Fraction, Scientific, Text on the home tab of the ribbon using the Number Format menu. If you cannot find the right format, you can create a custom number format. N/B: A custom number …

Continue Reading

Excel Ribbon Quick Overview For Beginners

by

Ribbon in Excel Function Excel ribbon is a strip of buttons and icons located above the work area that was first introduced in Excel 2007 version. The ribbon replaces the menus and toolbars found in earlier versions of Excel. Working with and Understanding Excel Ribbon Above the ribbon are a number of tabs, such as …

Continue Reading

3D SUMIF for multiple worksheets in Excel

by

This tutorial shows how to 3D SUMIF for multiple worksheets in Excel using the example below; Formula =SUMPRODUCT(SUMIF(INDIRECT (“‘”&sheets&”‘!”&”range”),criteria, INDIRECT(“‘”&sheets&”‘!”&”sumrange”))) Explanation To conditionally sum identical ranges that exist in separate worksheets, all in one formula, you can do so with the SUMIF function + INDIRECT, wrapped in SUMPRODUCT. In the example, the formula looks like …

Continue Reading

Subtotal by invoice number in Excel

by

This tutorial shows how to Subtotal by invoice number in Excel using the example below; Formula =IF(COUNTIF(range,criteria)=1,SUMIF(range,criteria,sumrange,””) Explanation To subtotal values by invoice number, you can use a formula based on COUNTIF and SUMIF. In the example shown, the formula in E5 is: =IF(COUNTIF($B$5:B5,B5)=1,SUMIF($B:$B,B5,$D:$D),””) How this formula works This formula uses COUNTIF with an expanding range to …

Continue Reading

Posts navigation

  • 1
  • 2
  • 3
  • Next

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel
  • Extract multiple matches into separate rows in Excel
  • How to use Excel NOT Function
  • XOR function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert date string to date time in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • DATEVALUE function: Description, Usage, Syntax, Examples and Explanation
  • Get work hours between dates in Excel
  • Add workdays no weekends in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • How to randomly assign people to groups in Excel
  • Group times into unequal buckets in Excel
  • Running count group by n size in Excel
  • Map inputs to arbitrary values in Excel

General

  • Lock Cells in a Worksheet Excel
  • How to calculate percent change in Excel
  • Sum by group in Excel
  • Freeze and Unfreeze Panes in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning