+ Reply to Thread
Results 1 to 3 of 3

Dynamic Chart will not work as empty cells contain Formulas

  1. #1
    Registered User
    Join Date
    12-23-2010
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    14

    Red face Dynamic Chart will not work as empty cells contain Formulas

    Hi all,
    I have created a dynamic chart using offset and counta formulas in the range, but because there is a forumla feeding the blank cell, excel reads it as populated and hence shows all the cells the x axis.

    How do I get rid of the x axis populating when there is a formula in the cell?
    so for instance "Drivers!H10" will populate with a number from 0-50 I only want the chart to show anything on it if the number is one or greater.
    so I wrote this on the pickup cells in the range.

    =IF(Drivers!H10=0,(""),(Drivers!H10))

    The problem is the chart still registers that as a space on the x axis?

    thanks again guys, this site has been great, saved me many hours of headbashing!!

    James
    Last edited by feno1; 02-11-2011 at 03:22 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Dynamic Chart will not work as empty cells contain Formulas

    Extend your counta formula to include a subtraction of those cells =""

    COUNTA(A1:A6)-COUNTIF(A1:A6,"")

    Assuming your data is in A1:A6
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    12-23-2010
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Dynamic Chart will not work as empty cells contain Formulas

    Thanks Andy I ended up going down the route of creating a sort macros button as the values had to be sorted highest to lowest so I just added a hide blanks.

+ 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