+ Reply to Thread
Results 1 to 5 of 5

Dynamic Ranges - Ignoring Blank Cells with Underlying Formulas

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Dynamic Ranges - Ignoring Blank Cells with Underlying Formulas

    Hi,

    At the end of a row with a dynamic range I'm using there are cells with underlying formulas that show up blank (contain "" through the formula), but they are showing up as 0 in the chart I have that uses the dynamic range. Below is the formula I'm using:

    =OFFSET('Market Return Data'!$F$3,1,0,COUNTA('Market Return Data'!$F:$F)-0)

    Does anyone know how to adjust this to skip the blank cells?

    Thanks.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Dynamic Ranges - Ignoring Blank Cells with Underlying Formulas

    Hi Jmm722,

    Zeros are dropping up the chart.. right?
    To overcome this, you can include =NA() into the formula and this will smoothen the graph trend(s). Post a sample file if you face any challenge to apply this. Thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Dynamic Ranges - Ignoring Blank Cells with Underlying Formulas

    Try to peplace COUNTA(...)-0 with COUNTIF('Market Return Data'!F:F,"<>""")-COUNTIF('Market Return Data'!F:F,"")
    Quang PT

  4. #4
    Registered User
    Join Date
    01-05-2012
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Dynamic Ranges - Ignoring Blank Cells with Underlying Formulas

    Quote Originally Posted by bebo021999 View Post
    Try to peplace COUNTA(...)-0 with COUNTIF('Market Return Data'!F:F,"<>""")-COUNTIF('Market Return Data'!F:F,"")
    Thanks for the response. No luck, the chart still drops off at the end because of the 0s it's picking up within the blank cells.

  5. #5
    Registered User
    Join Date
    01-25-2013
    Location
    dc
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Dynamic Ranges - Ignoring Blank Cells with Underlying Formulas

    I was having similar issues and came across this board. I know it's late for the OP, but for those after having similar issues. Try using COUNT instead of COUNTA. I was having my blank cells come up as a "", so a COUNTA was counting this cell as having data. When I used the COUNT, it worked perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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