+ Reply to Thread
Results 1 to 3 of 3

How to ignore black cells

  1. #1
    Forum Contributor
    Join Date
    06-19-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2019
    Posts
    151

    How to ignore black cells

    Hi,

    I have made a forumla using the index formula.

    If the cell is blank how do i make it come out on the line graph as blank rather than putting it as 0.

    I know its the IF formula, but i dont know how to add it to the formula.


    An example of the formula is:=INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1)

    If the cell = 0 i just want it to connect to the next cell on the line graph rather than class itself as 0.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: How to ignore black cells

    =IF ( INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1) = 0, "" , INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1) )

    But for a graph you probably want #N/A so that it ignores that entry - rather than a blank which will still graph

    =IF ( INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1) = 0, #N/A , INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1) )
    Last edited by etaf; 10-29-2014 at 05:50 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: How to ignore black cells

    Hi

    Use =if($A1="","",INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1)
    or
    =IFERROR(INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1),"")
    or
    =IF ( INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1) = 0, "" , INDEX('Overall Data Sheet'!PF206:PF256,$ZW$1) )

    Regard
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

+ 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. Black out certain cells if the column contains X
    By ineedthisspread in forum Excel General
    Replies: 6
    Last Post: 12-21-2012, 05:47 AM
  2. [SOLVED] delete only black text from cells containing both blue & black text
    By london.cl.2012 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-21-2012, 10:15 PM
  3. Module help for Average Black cells
    By doctorteeth in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2012, 03:08 AM
  4. [SOLVED] black dots at begnning of some cells
    By jenn in forum Excel General
    Replies: 16
    Last Post: 12-30-2011, 05:29 PM
  5. Black cells, need refresh
    By elfalsote in forum Excel General
    Replies: 2
    Last Post: 09-27-2011, 01:16 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