+ Reply to Thread
Results 1 to 4 of 4

Countif, Count, Offset, Counta and Charts

  1. #1
    Registered User
    Join Date
    03-28-2010
    Location
    London
    MS-Off Ver
    Office 2000, 2003 and 2007
    Posts
    4

    Countif, Count, Offset, Counta and Charts

    Hi,

    I have this problem when using an offset in a series for my line chart, i basically want the chart to recognize only the data that is shown within the column, so i used the counta function for the height within the offset function.

    But now here's the annoying part, the blank cells that are in the range have functions within: =IF('Stock-Room'!D38="","",'Stock-Room'!D38).

    Now the function leaves the cells blank if theres not a value in a certain cell, and becasue of the function, the counta will not work, i have tryed a million and one different ways to overcome this, but I simply get a Message saying "That function is not valid".

    Can anyone help!!!!

    Thanks in advance

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Countif, Count, Offset, Counta and Charts

    Hi,

    Instead of COUNTA can you not use a

    Please Login or Register  to view this content.
    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    03-28-2010
    Location
    London
    MS-Off Ver
    Office 2000, 2003 and 2007
    Posts
    4

    Re: Countif, Count, Offset, Counta and Charts

    Nope, it doesn't work. but thanks anyway, i'll just have to find an alternative.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Countif, Count, Offset, Counta and Charts

    Hi,

    I'm not quite sure why you say this won't work. As I understood the original problem your COUNTA was not ignoring a blank result in a cell since the cell itself contained a formula which is regarded by the COUNTA as being a 'value'. The COUNTIF() should return the count of all non blank cells and if I understand your problem will return a value one less than the COUNTA formula (assuming one blank result in the range looked at).

    Substituting the COUNTIF() for your COUNTA() should return a different result.

    Rgds

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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