Excel Correlation ignoring blanks and 0s

mahmed1

Well-known Member
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
Hiya - Any suggestions

mahmed1

Well-known Member
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))

Similar threads

Replies
10
Views
2K
Replies
30
Views
1K
Replies
11
Views
1K
Replies
3
Views
433
Replies
8
Views
438

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.

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

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