OaklandJim
Well-known Member
- Joined
- Nov 29, 2018
- Messages
- 833
- Office Version
- 365
- Platform
- Windows
I did see some similar posts but nothing seemed to give me the answer. I apologize if this has been answered (numerous times)...
I named a horizontal one row range with 26 cells. I tried to use Index and offset to access a specific cell. Got the #SPILL result which, I've come to learn indicates that excel thinks I am accessing an entire array rather than one specific element (cell) of the named range.
'=IF(bInclude, OFFSET(Item1_Target,rcChart3ColIndex-1,0), 0)
'=IF(bInclude, Index(Item1_Target,rcChart3ColIndex), 0)
What simple concept am I missing?
Jim
I named a horizontal one row range with 26 cells. I tried to use Index and offset to access a specific cell. Got the #SPILL result which, I've come to learn indicates that excel thinks I am accessing an entire array rather than one specific element (cell) of the named range.
'=IF(bInclude, OFFSET(Item1_Target,rcChart3ColIndex-1,0), 0)
'=IF(bInclude, Index(Item1_Target,rcChart3ColIndex), 0)
What simple concept am I missing?
Jim