Excel Correlation ignoring blanks and 0s

mahmed1

Well-known Member
Joined
Mar 28, 2009
Messages
2,251
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi All

I hope you are all well

Im hoping someone can help me with some Correlation formula

I have created a scatter plot with a trend line to so i can see some correlation between the 2 variables...

Problem im having is that in my ranges - there could be blanks and some values as 0 which i want to ignore..

So a couple of questions is

  1. How can i ignore 0s and blanks from chart
  2. How can i use the equation thats displayed in the trendline formula in the cells so i can reference it directly without having to update chart so i can easily ignore 0s and blanks from the Correl Function
  3. What is classed as a very good correlation, moderate and very weak?
Would you say Correll is the way to go or is there any other recommendations

Thank You So much
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

mahmed1

Well-known Member
Joined
Mar 28, 2009
Messages
2,251
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hiya - Any suggestions
 

mahmed1

Well-known Member
Joined
Mar 28, 2009
Messages
2,251
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I tried to use this

=SLOPE(IF(AND(A1:A1000<>0,B1:B1000<>0),A1:A1000,B1000))


=INTERCEPT(IF(AND(A1:A1000<>0,B1:B1000<>0),A1:A1000,B1000))



=CORREL(IF(AND(A1:A1000<>0,B1:B1000<>0),A1:A1000,B1000))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,151,825
Messages
5,766,663
Members
425,367
Latest member
Boboka

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top