#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default array formula

HI,

I´d like to "compact" the following column in a single cell value
using array formulas, if that is possible.

The columa A is filled with results of a certain function, and column
B has the Pearson correlation of that column in this way.


b1: =pearson(a1:a5,a2:a6)
b2: = pearson(a1:a5,a3:a7)
..
..
b100=pearson(a1:a5,a101:a105)


Then, what I really need is the max of those b cells, so
c1=max(b1:b100). The question is, can I avoid the creation of column
b, with something like :
c1={max(pearson(a1.....))}, if it is possible I can´t find the right
sintax...

(also posted in microsoft.public.excel,not sure what is the right
place)

Thanks in advance for your time
Mika

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
hmm hmm is offline
external usenet poster
 
Posts: 175
Default array formula

I don't hink it's possible. All arrays in an array formula must contain the
same number of rows or columns, while your formula would have to contain
contain both 5-element arrays (a1:a5, a2:a6, etc.) and a 100-element array
(a1:a100).

"Mika" wrote:

HI,

I´d like to "compact" the following column in a single cell value
using array formulas, if that is possible.

The columa A is filled with results of a certain function, and column
B has the Pearson correlation of that column in this way.


b1: =pearson(a1:a5,a2:a6)
b2: = pearson(a1:a5,a3:a7)
..
..
b100=pearson(a1:a5,a101:a105)


Then, what I really need is the max of those b cells, so
c1=max(b1:b100). The question is, can I avoid the creation of column
b, with something like :
c1={max(pearson(a1.....))}, if it is possible I can´t find the right
sintax...

(also posted in microsoft.public.excel,not sure what is the right
place)

Thanks in advance for your time
Mika


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default array formula

Hi,

Not sure I understand your answer... let's see, what I'm asking is if
it is possible to convert this to an array formula:

c1:
=MAX(pearson(a1:a5,a2:a6),pearson(a1:a5,a3:a7),... ..,pearson(a1:a5,an:an
+4))

so, you see, I don't want to type all the (....) terms in between (I
can't actually)

hope is clearer now..

Thanks
Mika

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default array formula

It's curious how this doesn't work:

=PEARSON(A1:A5,INDIRECT("A"&ROW(2:101)&":A"&ROW(6: 105)))

It gets stuck at the INDIRECT call, not the pearson part.


On Sep 10, 8:46 am, hmm wrote:
I don't hink it's possible. All arrays in an array formula must contain the
same number of rows or columns, while your formula would have to contain
contain both 5-element arrays (a1:a5, a2:a6, etc.) and a 100-element array
(a1:a100).



"Mika" wrote:
HI,


I´d like to "compact" the following column in a single cell value
using array formulas, if that is possible.


The columa A is filled with results of a certain function, and column
B has the Pearson correlation of that column in this way.


b1: =pearson(a1:a5,a2:a6)
b2: = pearson(a1:a5,a3:a7)
..
..
b100=pearson(a1:a5,a101:a105)


Then, what I really need is the max of those b cells, so
c1=max(b1:b100). The question is, can I avoid the creation of column
b, with something like :
c1={max(pearson(a1.....))}, if it is possible I can´t find the right
sintax...


(also posted in microsoft.public.excel,not sure what is the right
place)


Thanks in advance for your time
Mika- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default array formula

Yes Illia very curious, even this "simple" case does not work:

=PEARSON(A1:A5,INDIRECT("A"&ROW(2:2)&":A"&ROW(6:6) )) (don't need
array formula here, but still doesn't work)

which should be the equivalent of =pearson(a1:a5,a2:a6), anyway I
think you shown the way and maybe somebody else can help to puzzle
this out....

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
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array formula Clash Excel Discussion (Misc queries) 3 August 20th 06 02:39 AM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM
Need Help With ARRAY Formula cummingse Excel Worksheet Functions 1 July 26th 05 06:17 PM
Array formula help scott Excel Discussion (Misc queries) 3 January 27th 05 09:37 PM


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

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

About Us

"It's about Microsoft Excel"