+ Reply to Thread
Results 1 to 3 of 3

Selective cell skipping in formula

  1. #1
    Registered User
    Join Date
    07-27-2015
    Location
    Canada
    MS-Off Ver
    15.0.4
    Posts
    33

    Selective cell skipping in formula

    Please take a look at the following formula: =((AVERAGE(AQ4:AQ335)-AVERAGE(AO4:AO335))/STDEV.P(AQ4:AQ335,AO4:AO335))*SQRT(252)

    This formula is calculating excess return of an equity (AQ4:AQ335) to a benchmark (AO4:AO335). The problem is that there a blank dates in the AQ array and no blanks in the AO array, so I'm not getting an accurate result. Is there any way to only include values in AO array where there are corresponding values in AQ? In other words, can the formula not include blank those rows within both or only AO columns where there is a blank value in AQ?

    Thank you!

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Selective cell skipping in formula

    Best bet is probably to make a copy of the data elsewhere and just manipulate the rows to exclude data that isn't available for both dates.

  3. #3
    Registered User
    Join Date
    07-27-2015
    Location
    Canada
    MS-Off Ver
    15.0.4
    Posts
    33

    Re: Selective cell skipping in formula

    Thanks for your reply. My workaround right now is to use this formula in another column: =IF(ISNUMBER(AO66),AM66,""), which outputs a blank when there is a blank AO. It would be awesome however to not have to do this for 60 sheets! I appreciate all help.

+ 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. Replies: 2
    Last Post: 06-21-2014, 01:51 PM
  2. Replies: 7
    Last Post: 05-28-2014, 01:20 AM
  3. Replies: 1
    Last Post: 05-21-2014, 04:30 PM
  4. [SOLVED] Drag a formula that references a cell from another Sheet (Skipping a cell incrementing 1)
    By DixieDiver in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-05-2013, 06:25 PM
  5. How to drag a formula while skipping every other cell reference
    By sbham in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-13-2013, 06:17 AM
  6. skipping a cell in a sum array formula
    By bite_tony in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-21-2012, 11:45 AM
  7. Replies: 0
    Last Post: 02-03-2009, 12:50 AM

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