ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   OFFSET (https://www.excelbanter.com/excel-worksheet-functions/150346-offset.html)

Roger H[_2_]

OFFSET
 
When is it useful to use OFFSET function.
I'm not sure I understand exactly what it's for but think it may be useful!?

bj

OFFSET
 
the offset is useful for simplifying formulas when you want to define a range
for different purposes when the only one cell in the range is easily
identified.
for example
you might have a worksheet with a block of information about an individual
with the name in just the upper left cell in the block .the offset() could be
used to get information relative to the location of the name.

Because the offset can define a range, it can be used inside lookup()
formulas. or othe formulas


"Roger H" wrote:

When is it useful to use OFFSET function.
I'm not sure I understand exactly what it's for but think it may be useful!?


Arvi Laanemets

OFFSET
 
Hi

1. To return a value from cell a fixed number of rows and cells apart from
base cell, like
=OFFSET($A$1,1,4)
(the example returns value from cell E2)

2. To return a range of fixed dimension which starts a fixed number of rows
and cells apart from base cell, like
=SUM(OFFSET($A$1,1,4,3,1))
(the example sums values from range E2:E4)
NB! When using OFFSET to determine a range, it MUST be a part of a formula
which requires a range there. Or you use it in named range definition
(dynamic ranges).



--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"Roger H" wrote in message
...
When is it useful to use OFFSET function.
I'm not sure I understand exactly what it's for but think it may be
useful!?





All times are GMT +1. The time now is 11:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com