Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joe Blow
 
Posts: n/a
Default Address func in array reference


Hi,

I am trying to use ADDRESS(B1-1,1,4,1) in a MIN function, the result
is and should be A307. The sub step I am looking for would be
MIN(ARC!A4:A307)

Such as MIN(ARC!A4:ADDRESS(B1-1,1,4,1))

but I get an error message. Any pointers on how I can make this work?

Thanks,
Joe
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Hey Joe,

=MIN(INDIRECT("ARC!A4:"&ADDRESS(B1-1,1,4,1)))

Or, more simply

=MIN(INDIRECT("ARC!A4:A"& B1-1))

HTH,
Bernie
MS Excel MVP

"Joe Blow" wrote in message
...

Hi,

I am trying to use ADDRESS(B1-1,1,4,1) in a MIN function, the result
is and should be A307. The sub step I am looking for would be
MIN(ARC!A4:A307)

Such as MIN(ARC!A4:ADDRESS(B1-1,1,4,1))

but I get an error message. Any pointers on how I can make this work?

Thanks,
Joe



  #3   Report Post  
Joe Blow
 
Posts: n/a
Default

On Mon, 7 Feb 2005 13:11:11 -0500, "Bernie Deitrick" <deitbe @
consumer dot org wrote:

Hey Joe,

=MIN(INDIRECT("ARC!A4:"&ADDRESS(B1-1,1,4,1)))

Or, more simply

=MIN(INDIRECT("ARC!A4:A"& B1-1))

HTH,
Bernie
MS Excel MVP

"Joe Blow" wrote in message
.. .

Hi,

I am trying to use ADDRESS(B1-1,1,4,1) in a MIN function, the result
is and should be A307. The sub step I am looking for would be
MIN(ARC!A4:A307)

Such as MIN(ARC!A4:ADDRESS(B1-1,1,4,1))

but I get an error message. Any pointers on how I can make this work?

Thanks,
Joe



Thanks So Much Bernie!

Your most eloquent solution worked like a charm!
Joe
  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default

Bernie Deitrick wrote...
....
Or, more simply

=MIN(INDIRECT("ARC!A4:A"& B1-1))

....

Simpler still,

=MIN(OFFSET(ARC!A4,0,0,B1-3))

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
How do I return an entire row of data from a reference array? tvmodica Excel Worksheet Functions 2 January 7th 05 08:52 PM
Using result from ADDRESS function as a cell reference itself LShutzberg Excel Worksheet Functions 3 December 12th 04 11:18 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


All times are GMT +1. The time now is 04:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"