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

Data Analysis

  • Error Bars in Excel
  • Conditional Formatting New Rule with Formulas in Excel
  • Conditional Formatting Rules in Excel
  • Add Outline to Data in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS

References

  • Perform case-sensitive Lookup in Excel
  • Merge tables with VLOOKUP in Excel
  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • Last row number in range
  • Excel Advanced Lookup using Index and Match Functions

Data Validations

  • Excel Data validation number multiple 100
  • Excel Data validation must begin with
  • Excel Data validation must not contain
  • Excel Data validation exists in list
  • Excel Data validation allow weekday only

How to use Excel OFFSET function

by

This Excel tutorial explains how to use the OFFSET function with syntax and examples.

Excel OFFSET function Description

The Microsoft Excel OFFSET function returns a reference to a range that is offset a number of rows and columns from another range or cell.

OFFSET function is a built-in function in Excel that is categorized as a Lookup/Reference Function. The OFFSET function can be entered as part of a formula in a cell of a worksheet.

Worked Example:   Average last 5 values in Excel

Explanation: Based on the example above, the following OFFSET function return:

=OFFSET(A1, 1, 2, 1, 1)
Result: reference to cell C2   (and thus would display $7.23)

=OFFSET(C3, -1, -2, 1, 1)
Result: reference to cell A2   (and thus would display 10567)

Syntax

The syntax for the OFFSET function in Microsoft Excel is:

OFFSET( range, rows, columns, [height], [width] )

Arguments

range
The starting range from which the offset will be applied.
rows
The number of rows to apply as the offset to the range. This can be a positive or negative number.
columns
The number of columns to apply as the offset to the range. This can be a positive or negative number.
height
Optional. It is the number of rows that you want the returned range to be. If this parameter is omitted, it is assumed to be the height of range.
width
Optional. It is the number of columns that you want the returned range to be. If this parameter is omitted, it is assumed to be the width of range.

Returns

The OFFSET function returns a reference.

Worked Example:   Count visible rows only with criteria in Excel

Click link to see more example on how to use Offset in Excel.

Worked Example:   Sum every n rows in Excel

 

Post navigation

Previous Post:

SUBSTITUTE function vs REPLACE function in Excel

Next Post:

Count cells between dates in Excel

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

Logical Functions

  • Check multiple cells are equal in Excel
  • IFERROR function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function example in Excel

Date Time

  • Get work hours between dates and times in Excel
  • WEEKNUM function: Description, Usage, Syntax, Examples and Explanation
  • Get last weekday in month in Excel
  • Convert text timestamp into time in Excel
  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group arbitrary text values in Excel
  • Group times into unequal buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel

General

  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • Check if multiple cells have same value with case sensitive in Excel
  • How to get original price from percentage discount in Excel
  • How to choose page/paper size in Excel before Printing
  • How to get Excel workbook path only
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning