Real-world application of OFFSET

Indystick

Board Regular
Joined
Mar 2, 2018
Messages
60
I teach a college class on decision making through spreadsheet modeling and I am currently putting together a lesson on using OFFSET. I'm looking for real-world examples where OFFSET is used. I don't need the specifics (e.g., the formula text, data, etc.) rather simply examples (e.g., I use OFFSET to calculate a six month rolling average).

Thanks in advance!
 

Some videos you may like

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
52,949
Office Version
365
Platform
Windows
Are you talking about the Excel function "OFFSET" or the VBA function "OFFSET"?

Some Excel VBA examples:
- In a Worksheet_Change procedure, when column A is changed, your want to update some other column in the same row
- You want to find the first blank cell in a column after the last populated cell in that column

You may want to take a look here too: https://www.ablebits.com/office-addins-blog/2015/02/11/excel-offset-function/
 

Indystick

Board Regular
Joined
Mar 2, 2018
Messages
60
Hi, sorry I wasn't clear. OFFSET Excel function. I'll check out that link! I'm also hoping others may have uses that aren't listed there.
 
Last edited:

Intermedius

New Member
Joined
Oct 12, 2012
Messages
25
Hi, sorry I wasn't clear. OFFSET Excel function. I'll check out that link! I'm also hoping others may have uses that aren't listed there.
My current application is very similar to Joe4's 2nd example.

I pull a particular forecast report from SAP ECC and the data is not in perfect table format, i.e. the unique identifier appears on a different row than and within the same column as it's description. I use offset to pull the data into an adjacent column on the same row.

My 2nd application is to manipulate volatile data with a scrollbar from the Developers tab.
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,095,198
Messages
5,442,987
Members
405,212
Latest member
Arnie58

This Week's Hot Topics

  • Copy entire row if CountA <>0 to another sheet
    [B]I want to copy entire row if CountA <>0 for column J7:AM7 (headers on J6:AM6) and so on till the last used cell is column D and paste the...
  • Select last used Row in Table
    I have created a Table in a Worksheet which is locked to prevent user errors and protect formula. Some of the cells require freetext entries which...
  • excel workbook: do not allow certain file name
    Hello all, Don't think this has ever been asked before, but how do I restrict file save [Before_Save Event] if the name of the file being saved...
  • fixing problem autofilter
    hello i need help about my code when i search by code in textbox it doesn't show anything this is my data [ATTACH type="full"...
  • “Weight”
    Hi, i’ve got a long sheet filled with weights such as kg,g,L & ml. i can build a formula to convert kg into g and liter into ml. How ever, my...
  • How to capitalize everything before a certain character?
    In column A, I have some text: Hello good day.mp3 Hello good day.flac etc. I'd like to capitalize everything before the period. I don't need the...
Top