Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 75
Default CORREL w/ condition

I'm trying to use CORREL of 2 columns of data which is based on a conditon of
another column of data. Something like -

IF($a$1:$a$100=1,CORREL($b$1:$b$100,$c$1:$c$100))

Thanks in advance!
Heidi
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 151
Default CORREL w/ condition

If you want to correlate if each cell in column A is equal to 1, you'd use:

=IF(COUNTIF($A$1:$A$100,"=1")=COUNT($A$1:$A$100),C ORREL($B$1:$B$100,$C$1:$C$100),"")

If there is a cell in column A that is not equal to 1, the above statement
returns an empty cell.

Hope that helped!


"heidi" wrote:

I'm trying to use CORREL of 2 columns of data which is based on a conditon of
another column of data. Something like -

IF($a$1:$a$100=1,CORREL($b$1:$b$100,$c$1:$c$100))

Thanks in advance!
Heidi

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default CORREL w/ condition

Think you could try it like this, array entered, ie press CTRL+SHIFT+ENTER to
confirm the formula (instead of just pressing ENTER):
=CORREL(IF(A1:A100=1,B1:B100),IF(A1:A100=1,C1:C100 ))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"heidi" wrote:
I'm trying to use CORREL of 2 columns of data which is based on a conditon of
another column of data. Something like -

IF($a$1:$a$100=1,CORREL($b$1:$b$100,$c$1:$c$100))


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 75
Default CORREL w/ condition

That's the ONE - Worked PERPECTLY...

THANKS!!!
Heidi

"Max" wrote:

Think you could try it like this, array entered, ie press CTRL+SHIFT+ENTER to
confirm the formula (instead of just pressing ENTER):
=CORREL(IF(A1:A100=1,B1:B100),IF(A1:A100=1,C1:C100 ))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"heidi" wrote:
I'm trying to use CORREL of 2 columns of data which is based on a conditon of
another column of data. Something like -

IF($a$1:$a$100=1,CORREL($b$1:$b$100,$c$1:$c$100))


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 75
Default CORREL w/ condition

Not the solution to my case, though - THANK YOU!!
Heidi

"libby" wrote:

If you want to correlate if each cell in column A is equal to 1, you'd use:

=IF(COUNTIF($A$1:$A$100,"=1")=COUNT($A$1:$A$100),C ORREL($B$1:$B$100,$C$1:$C$100),"")

If there is a cell in column A that is not equal to 1, the above statement
returns an empty cell.

Hope that helped!


"heidi" wrote:

I'm trying to use CORREL of 2 columns of data which is based on a conditon of
another column of data. Something like -

IF($a$1:$a$100=1,CORREL($b$1:$b$100,$c$1:$c$100))

Thanks in advance!
Heidi



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default CORREL w/ condition

Welcome, glad it helped.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"heidi" wrote in message
...
That's the ONE - Worked PERFECTLY...

THANKS!!!
Heidi



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
Co-eff of CORREL Malik Excel Discussion (Misc queries) 1 October 4th 07 06:30 PM
Can I correlate 4 arrays e.g =correl(C7:C21,D7:D21,E7:E21,F7:F21 peaceful k Excel Worksheet Functions 1 May 31st 06 07:06 AM
Does Correl/Rank combo work eg CORREL(cols E & H) where E&H=RANK(. Emmanuel Excel Worksheet Functions 3 November 12th 05 03:33 PM
CORREL formula with criteria waxwing Excel Worksheet Functions 2 May 25th 05 03:50 AM
CORREL versus r-squared Shell Excel Worksheet Functions 3 March 24th 05 06:51 PM


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