The OFFSET syntax looks good to me. It is returning a range that is xx rows tall by one column wide, starting at G32.
There are a few times that I've used dynamic named ranges and they didn't work. I suspect that this happens when the function requires a range, and it isn't smart enough to know that it is getting one when using a named formula such as created with the OFFSET. So how are you trying to use these dynamic named ranges?
I prefer to use INDEX for my dynamic named ranges. Doing so avoids making formulas using the named range volatile. Volatile formulas (ones that use volatile functions like OFFSET, RAND, NOW or TODAY) must recalc every time anything changes in any open workbook. If you use these named ranges a lot, your recalc time can get sluggish.
=trades!$G$32:INDEX(trades
Brad
Main Topics
Browse All Topics





by: patrickabPosted on 2006-04-14 at 05:38:40ID: 16452842
steve0412,
oTTom,1), where boTTom is defined as =COUNTA(trades!$A$32:$A$13 2)-1.
,height,wi dth)
2)-1 wide. I somehow doubt that you want that. Instead I suggest that you most probably want:
Tom,1,1) for columns defined by =COUNTA(trades!$A$32:$A$13 2)-1
m,0,1,1) for rows defined by =COUNTA(trades!$A$32:$A$13 2)-1
I think you have the parameters in the wrong place. You've got:
=OFFSET(trades!$G$32,0,0,b
whereas OFFSET() is defined as:
OFFSET(reference,rows,cols
The way you have set it up is that OFFSET() will return data =COUNTA(trades!$A$32:$A$13
=OFFSET(Trades!$G$32,0,BoT
or perhaps
=OFFSET(Trades!$G$32,BoTTo
Patrick