Hi Guys
I have tried searching the forum to get an answer - but thinking that the results are too complex for what i am trying to do.
I have a set of data with various columns, A: ID, F: Unit, G: Values; the data covers multiple date ranges, across different ID's and diff units.
On another sheet - I have 3 cells, (C4: ID, C5: ID, C6: Unit)
I want to enter the ID's that need correlating, along with the Unit number; which will then give me the result in Cell D6.
I have got this far - but doesn't work, and also doesn't take into consideration the Unit (my head is going to explode!)
<Code>
=CORREL((IF('6Months_Data'!A2:A3742='Analysis Tool'!C4,'6Months_Data'!G2:G3742)),(IF('6Months_Data'!A2:A3742='Analysis Tool'!C5,'6Months_Data'!G2:G3742)))
<Code>
******** Entered as an Array ********
Any help is greatly appreciated.
Thanks
Bookmarks