+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    04-09-2009
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    5

    Dynamic Chart including unwanted rows

    Hi im using dynamic charts in my excel spreadsheet. They work great for all but one column. This is the formula in a named ranges that work.

    Code:
    =OFFSET('Column1'!$E$5,1,0,COUNTA('Column1'!$E:$E)-5,1)
    The problem column is a sum value that normally returns zero because its a product of the data i want to use in the dynamic range. In the column im using this formula to hide the zeros.

    Code:
    =IF(N64="","",SUM(M64+I64))
    When I try and use the named range as I am in those that work the formula picks up the formula not the blank cell! Is there a way to deal with that?

    Thanks

    Rup

  2. #2
    Forum Guru contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2010
    Posts
    1,335

    Re: Dynamic Chart including unwanted rows

    Try COUNTA()-COUNTBLANK()
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, «Born in USSR»
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Registered User
    Join Date
    04-09-2009
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Dynamic Chart including unwanted rows

    Thanks where do i fit that in? Ive tried it like this

    Code:
    =OFFSET('Column1'!$P$5,1,0,COUNTBLANK('Column1'!$P:$P)-1,1)
    Thanks

  4. #4
    Forum Guru contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2010
    Posts
    1,335

    Re: Dynamic Chart including unwanted rows

    No,

    Try

    =OFFSET('Column1'!$P$5,1,0,COUNTA($P:$P)-COUNTBLANK('Column1'!$P:$P)-1,1)
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, «Born in USSR»
    Vusal M Dadashev

    Baku, Azerbaijan

  5. #5
    Registered User
    Join Date
    04-09-2009
    Location
    uk
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Dynamic Chart including unwanted rows

    Thanks ive tried it but it still doesnt work,, ive tried to sub the -1,1 on the end with -1,0 but that isnt working either.. sorry for been thick where should i start with fault finding it?
    Rup

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,944

    Re: Dynamic Chart including unwanted rows

    post an example workbook so we can see the data layout
    Cheers
    Andy
    www.andypope.info

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.2.0