+ Reply to Thread
Results 1 to 3 of 3

Skipping blank rows with correlation function

  1. #1
    Registered User
    Join Date
    06-05-2017
    Location
    United States
    MS-Off Ver
    15.34
    Posts
    1

    Skipping blank rows with correlation function

    Hello!

    I am trying to find the correlation between two columns of data, however, there is a row of zeros between each row of meaningful data. Here's a screenshot for reference:
    kU6mQAF.png
    I am trying to find the correlation of columns N and O while omitting each row in which both values are zero.
    I tried using =CORREL(IF(AND(N2:N172>0,O2:O172>0),N2:N172),IF(AND(O2:O172>0,N2:N172>0),O2:O172)), but it returns the same value as does =CORREL(N2:N172,O2:O172), indicating that rows are not being omitted as intended.
    Could anyone clue me in on how to do this correctly? Thanks!

  2. #2
    Forum Contributor
    Join Date
    06-11-2016
    Location
    Atlanta
    MS-Off Ver
    2016
    Posts
    104

    Re: Skipping blank rows with correlation function

    I believe you could filter out the even (or odd rows) and then use SUBTOTAL() for standard deviation and compute the formula manually.

  3. #3
    Forum Contributor
    Join Date
    06-11-2016
    Location
    Atlanta
    MS-Off Ver
    2016
    Posts
    104

    Re: Skipping blank rows with correlation function

    Yeah what I said will work. Filter out the even or odd rows (rows containing 0.
    Next, multiply each values in a by each value in b and place these values in col. C.
    Then use the subtotal(107,C:C) / [(subtotal(107,A:A)*(subtotal(107,B:B)]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Lookup & skipping blank rows
    By sesomshom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2016, 07:50 PM
  2. Replies: 4
    Last Post: 05-16-2014, 04:52 PM
  3. Replies: 14
    Last Post: 01-19-2014, 05:42 AM
  4. [SOLVED] numbering rows but skipping blank rows
    By cprpacific in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-21-2013, 03:10 PM
  5. create a dynamic array skipping #N/A and blank rows?
    By William DeLeo in forum Excel General
    Replies: 5
    Last Post: 11-10-2010, 02:55 PM
  6. Skipping blank cells with IF function
    By warrickza in forum Excel General
    Replies: 8
    Last Post: 05-06-2010, 09:22 AM
  7. how to write an average function when skipping rows?
    By novice2430 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2008, 04:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1