Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
T De Villiers
 
Posts: n/a
Default Quick Explanation


=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:10"))))

This array formula averages the 10th largest values in the Range
A1:A60,
I understand it:

so its taking the average value of

LARGE(A1:A60,1), LARGE(A1:A60,2), LARGE(A1:A60,3)..........

But how does ROW(INDIRECT("1:10") return the array 1,2,3,....


Thanks


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=469109

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

It just does.

If you type =ROW(1:10) in a cell and use F9 to evaluate it, you will see
{1;2;3;...;10}. INDIRECT(ROW("1:10")) is doing the same thing, just passing
a string to INDIRECT to stop Excel from updating it when you move the
formula.

=ROW(A1) returns an array, even a single element array, always.

--
HTH

Bob Phillips

"T De Villiers"
wrote in message
news:T.De.Villiers.1vnjqb_1127210724.3351@excelfor um-nospam.com...

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:10"))))

This array formula averages the 10th largest values in the Range
A1:A60,
I understand it:

so its taking the average value of

LARGE(A1:A60,1), LARGE(A1:A60,2), LARGE(A1:A60,3)..........

But how does ROW(INDIRECT("1:10") return the array 1,2,3,....


Thanks


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile:

http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=469109



  #3   Report Post  
Biff
 
Posts: n/a
Default

Hi!

You don't need the Indirect:

=AVERAGE(LARGE(A1:A60,ROW($1:$10)))

Making the ROW argument absolute does the same thing as Indirect.

Biff

"T De Villiers"
wrote in message
news:T.De.Villiers.1vnjqb_1127210724.3351@excelfor um-nospam.com...

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:10"))))

This array formula averages the 10th largest values in the Range
A1:A60,
I understand it:

so its taking the average value of

LARGE(A1:A60,1), LARGE(A1:A60,2), LARGE(A1:A60,3)..........

But how does ROW(INDIRECT("1:10") return the array 1,2,3,....


Thanks


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile:
http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=469109



  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

What happens if you delete rows 2:8 or insert more rows above row 11?

(Although, with the data in A1:A60, I'm not sure if the user would do that.)

Biff wrote:

Hi!

You don't need the Indirect:

=AVERAGE(LARGE(A1:A60,ROW($1:$10)))

Making the ROW argument absolute does the same thing as Indirect.

Biff

"T De Villiers"
wrote in message
news:T.De.Villiers.1vnjqb_1127210724.3351@excelfor um-nospam.com...

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:10"))))

This array formula averages the 10th largest values in the Range
A1:A60,
I understand it:

so its taking the average value of

LARGE(A1:A60,1), LARGE(A1:A60,2), LARGE(A1:A60,3)..........

But how does ROW(INDIRECT("1:10") return the array 1,2,3,....


Thanks


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile:
http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=469109


--

Dave Peterson
  #5   Report Post  
Biff
 
Posts: n/a
Default

That's a good point!

But then, why isn't *EVERY* formula written for that possibility?

At some point robustness = overkill!

Biff

"Dave Peterson" wrote in message
...
What happens if you delete rows 2:8 or insert more rows above row 11?

(Although, with the data in A1:A60, I'm not sure if the user would do
that.)

Biff wrote:

Hi!

You don't need the Indirect:

=AVERAGE(LARGE(A1:A60,ROW($1:$10)))

Making the ROW argument absolute does the same thing as Indirect.

Biff

"T De Villiers"

wrote in message
news:T.De.Villiers.1vnjqb_1127210724.3351@excelfor um-nospam.com...

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:10"))))

This array formula averages the 10th largest values in the Range
A1:A60,
I understand it:

so its taking the average value of

LARGE(A1:A60,1), LARGE(A1:A60,2), LARGE(A1:A60,3)..........

But how does ROW(INDIRECT("1:10") return the array 1,2,3,....


Thanks


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile:
http://www.excelforum.com/member.php...o&userid=26479
View this thread:
http://www.excelforum.com/showthread...hreadid=469109


--

Dave Peterson





  #6   Report Post  
Dave Peterson
 
Posts: n/a
Default

Oh, but lots of people use this syntax:
INDIRECT(ROW())

some include warnings when they don't.

Biff wrote:

That's a good point!

But then, why isn't *EVERY* formula written for that possibility?

At some point robustness = overkill!

Biff

"Dave Peterson" wrote in message
...
What happens if you delete rows 2:8 or insert more rows above row 11?

(Although, with the data in A1:A60, I'm not sure if the user would do
that.)

Biff wrote:

Hi!

You don't need the Indirect:

=AVERAGE(LARGE(A1:A60,ROW($1:$10)))

Making the ROW argument absolute does the same thing as Indirect.

Biff

"T De Villiers"

wrote in message
news:T.De.Villiers.1vnjqb_1127210724.3351@excelfor um-nospam.com...

=AVERAGE(LARGE(A1:A60,ROW(INDIRECT("1:10"))))

This array formula averages the 10th largest values in the Range
A1:A60,
I understand it:

so its taking the average value of

LARGE(A1:A60,1), LARGE(A1:A60,2), LARGE(A1:A60,3)..........

But how does ROW(INDIRECT("1:10") return the array 1,2,3,....


Thanks


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile:
http://www.excelforum.com/member.php...o&userid=26479
View this thread:
http://www.excelforum.com/showthread...hreadid=469109


--

Dave Peterson


--

Dave Peterson
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
quick way to add dollar signs to cell refs? Bridgerider Excel Discussion (Misc queries) 2 October 12th 05 04:02 PM
Quick way to sort lists by text color? PokerZan Excel Discussion (Misc queries) 3 June 3rd 05 01:09 AM
NEED HELP QUICK AGAIN! The_ tone Excel Discussion (Misc queries) 0 May 10th 05 07:20 PM
excel quick find format chris Excel Worksheet Functions 1 February 9th 05 03:17 AM
quick books and excel 2002 bookeeper New Users to Excel 2 February 7th 05 06:09 PM


All times are GMT +1. The time now is 05:42 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"