Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • Lookup entire row in Excel
  • Convert text string to valid reference in Excel using Indirect function
  • How to get first column number in range in Excel
  • Count rows with at least n matching values

Data Analysis Examples

  • How to add Trendline to a chart in Excel
  • How to create running total in an Excel Table
  • Conditional Formatting New Rule with Formulas in Excel
  • Get column name from index in Excel Table
  • How To Filter Data in Excel

Data Validation Examples

  • Excel Data validation specific characters only
  • Excel Data validation must contain specific text
  • Excel Data validation no punctuation
  • Excel Data validation date in next 30 days
  • Excel Data validation unique values only

Offset in Excel

by

The OFFSET function in Excel returns a cell or range of cells that is a specified number of rows and columns from a cell or range of cells.

OFFSET function Syntax;

OFFSET(reference, rows, cols, [height], [width])

1. The OFFSET function below returns the cell that is 3 rows below and 2 columns to the right of cell A2. The OFFSET function returns a cell because the height and width are both set to 1.

Worked Example:   Average last 5 values in Excel

Result:

2. The OFFSET function below returns the 1 x 2 range that is 8 rows below and 1 column to the right of cell A2. The SUM function calculates the sum of this range.

Worked Example:   Sum every n rows in Excel

Result:

Note: to return a range (without calculating the sum), select a range of the same size before you insert the OFFSET function. If you want to return a cell or range of cells that is a specified number of rows above or columns to the left, enter a negative number.

Post navigation

Previous Post:

Advanced Filter in Excel

Next Post:

Excel If, Nested If, And/Or Criteria Examples

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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
  • FIXED function: Description, Usage, Syntax, Examples and Explanation
  • SUBSTITUTE function: Description, Usage, Syntax, Examples and Explanation
  • How to strip html from text or numbers in Excel
  • How to get first word in Excel
  • How to strip numeric characters from cell in Excel
  • Calculate retirement date in Excel
  • Get first Monday before any date in Excel
  • ISOWEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • Convert text date dd/mm/yy to mm/dd/yy in Excel
  • TODAY function: Description, Usage, Syntax, Examples and Explanation
  • YIELDMAT function: Description, Usage, Syntax, Examples and Explanation
  • PMT, RATE, NPER, PV and FV Financial Functions in Excel
  • CUMIPMT function: Description, Usage, Syntax, Examples and Explanation
  • YIELDDISC function: Description, Usage, Syntax, Examples and Explanation
  • XNPV function: Description, Usage, Syntax, Examples and Explanation
© 2022 xlsoffice . All Right Reserved. | Teal Smiles