![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 13
|
Not realy understand when to use Offset function and how to use it, special when combine another function with offset, such as "=sum(offset(rng1, 0, rng2-1)", what does Offset really mean? Thanks a lot
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
And what is rng1 and rng2 in the formula you mention? |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 13
|
Read Excel Help of Offset function a couple of times, but still have a problem to apply it! in what kind of circumstance should use it? also how to combine offset with other functions?
Rng1 and Rng2 is defined name of two datas. The name can be changed base on your perference. |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
http://www.mrexcel.com/board/viewtop...c=6611&forum=2 BTW, You didn't tell what rng1 and rng2 stand for! |
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Mar 2002
Posts: 13
|
Thanks a lot.
Rng1 is named for "product range", Rng2 for "choice range". Sorry not clarify it last post |
|
|
|
|
|
#6 |
|
New Member
Join Date: Mar 2002
Posts: 13
|
Aladin,
Read your link, it is very helpful. Ask a stupid question, the formula that you used is: =sum(offset($B$2, match(d2, A:A, 0)-e1-1, 0,E1, 1) Why $B$2 not $B$1? What is $B$1 and $B$2? Thanks a bunch!!!!! |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|