A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Nesting Address function within Index function



 
 
Thread Tools Display Modes
  #1  
Old November 4th, 2004, 11:14 PM
mserber
external usenet poster
 
Posts: n/a
Default Nesting Address function within Index function

I'm trying to use a nested Address function within an Index function, but I'm
getting errors. Here's a sample of my function which is giving me an error I
cannot figure out:

=INDEX(address(20,1,1,true):address(30,4,1,true),1 ,2)

With this function, I'm trying to get the contents of the first row, second
column from an array that begins in cell A20 and ends in cell D30. I want to
use the address function because I will not know the beginning and ending
cell of the array.
  #2  
Old November 4th, 2004, 11:27 PM
Aladin Akyurek
external usenet poster
 
Posts: n/a
Default


mserber Wrote:
I'm trying to use a nested Address function within an Index function,
but I'm
getting errors. Here's a sample of my function which is giving me an
error I
cannot figure out:

=INDEX(address(20,1,1,true):address(30,4,1,true),1 ,2)

With this function, I'm trying to get the contents of the first row,
second
column from an array that begins in cell A20 and ends in cell D30. I
want to
use the address function because I will not know the beginning and
ending
cell of the array.


Is it not?...

=INDEX(A2030,1,2)


--
Aladin Akyurek
------------------------------------------------------------------------
Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165
View this thread: http://www.excelforum.com/showthread...hreadid=275462

  #3  
Old November 5th, 2004, 01:09 AM
James R-S
external usenet poster
 
Posts: n/a
Default

What do you mean when you say you will not know the beginning and ending cell
of the array?

James.

"mserber" wrote:

I'm trying to use a nested Address function within an Index function, but I'm
getting errors. Here's a sample of my function which is giving me an error I
cannot figure out:

=INDEX(address(20,1,1,true):address(30,4,1,true),1 ,2)

With this function, I'm trying to get the contents of the first row, second
column from an array that begins in cell A20 and ends in cell D30. I want to
use the address function because I will not know the beginning and ending
cell of the array.

  #4  
Old November 5th, 2004, 03:01 AM
Max
external usenet poster
 
Posts: n/a
Default

Think you need to use INDIRECT() ..

Try something like :

=INDEX(INDIRECT(ADDRESS(20,1,1,TRUE)&":"&ADDRESS(3 0,4,1,TRUE)),1,2)

--
Rgds
Max
xl 97
---
Please respond in thread
xdemechanik atyahoodotcom
----
"mserber" wrote in message
...
I'm trying to use a nested Address function within an Index function, but

I'm
getting errors. Here's a sample of my function which is giving me an

error I
cannot figure out:

=INDEX(address(20,1,1,true):address(30,4,1,true),1 ,2)

With this function, I'm trying to get the contents of the first row,

second
column from an array that begins in cell A20 and ends in cell D30. I want

to
use the address function because I will not know the beginning and ending
cell of the array.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keeping old customer address when they move house. Russell General Discussion 8 July 19th, 2004 12:24 PM
Function address from VB? compound General Discussion 2 July 13th, 2004 09:16 PM
Nesting a nested function with {..} Dave R. Worksheet Functions 0 November 8th, 2003 01:09 AM
INDEX Function Jerzy Worksheet Functions 1 October 5th, 2003 10:18 AM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.