PC Review


Reply
Thread Tools Rate Thread

How to create a Range with Address()

 
 
Steve McLeod
Guest
Posts: n/a
 
      18th Dec 2008
I can use this formula, =INDIRECT(ADDRESS(10,2)), but I haven't figured out
how to specify a range as in =INDIRECT(ADDRESS(10,2) & ":" & ADDRESS(30,6)).
I can put the range address into a cell and then reference the cell with
INDIRECT, but it would be nice to imbed the range address calculation inside
the INDIRECT function and save the step.
--
Pictou
 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      18th Dec 2008
Your initial try is actually correct! It's just a matter of using it the
right way. For example:

=SUM(INDIRECT(ADDRESS(1,2) & ":" & ADDRESS(10,10)))

will work just fine
--
Gary''s Student - gsnu200820


"Steve McLeod" wrote:

> I can use this formula, =INDIRECT(ADDRESS(10,2)), but I haven't figured out
> how to specify a range as in =INDIRECT(ADDRESS(10,2) & ":" & ADDRESS(30,6)).
> I can put the range address into a cell and then reference the cell with
> INDIRECT, but it would be nice to imbed the range address calculation inside
> the INDIRECT function and save the step.
> --
> Pictou

 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      18th Dec 2008
The worksheet Address function only handles a single cell.

Are you sure you need that Indirect and Address combination, how about

=OFFSET(A1,10-1,2-1,30-10+1,6-2+1)

Regards,
Peter T

"Steve McLeod" <(E-Mail Removed)> wrote in message
news:AA1073DC-5EA7-4126-8314-(E-Mail Removed)...
>I can use this formula, =INDIRECT(ADDRESS(10,2)), but I haven't figured out
> how to specify a range as in =INDIRECT(ADDRESS(10,2) & ":" &
> ADDRESS(30,6)).
> I can put the range address into a cell and then reference the cell with
> INDIRECT, but it would be nice to imbed the range address calculation
> inside
> the INDIRECT function and save the step.
> --
> Pictou



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New range overwrites other range in create sheet macro wcollatz Microsoft Excel Programming 1 25th May 2009 08:52 PM
New range overwrites other range in create sheet macro wcollatz Microsoft Excel Programming 1 25th May 2009 05:45 PM
How to create a range address with ADDRESS function? Steve McLeod Microsoft Excel Worksheet Functions 1 18th Dec 2008 02:02 PM
getting the absolute range address from a dynamic named range junoon Microsoft Excel Programming 2 21st Mar 2006 01:29 PM
Create/copy combo boxes in one range if condition is met in a different range LB Microsoft Excel Programming 4 30th Sep 2005 12:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:34 AM.