+ Reply to Thread
Results 1 to 5 of 5

Line chart showing line of those cells who have zero value

  1. #1
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Line chart showing line of those cells who have zero value

    Hi Guys,
    I am trying to create Line graph from a range but i am using vlookup formula to collect data from other sheet. My original file is too large, i attaching without formula file but showing Zero cells and Line graph.

    If i have data till March or any month line chart will show Line of Actual From Jan to that particular month. but this chart is showing Zero sell after March.

    Hope you guys understand.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,891

    Re: Line chart showing line of those cells who have zero value

    My usual approach to this is to use a helper range. See the cells with red text in the attached.
    By using an IF formula to check for a zero value and returning an error value if zero is found, then plotting the graph on that range you will get your desired result as Excel will not plot errors on a chart.

    You can hide this range away so it's not seen and looks messy.
    You will possible need to change a chart setting to allow hidden data to be plotted. You can do this by right clicking the chart, selecting "Select Data", clicking on the button that says "Hidden and Empty Cells" and putting a tick in the box next to "Show data in hidden rows and columns".

    BSB
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: Line chart showing line of those cells who have zero value

    But i have this code in cells which are showing Zero. How and where to place (your) above mentioned formula.

    Please Login or Register  to view this content.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,891

    Re: Line chart showing line of those cells who have zero value

    You leave your formula as it is now and add a new row with my formula and hide it away.
    Have a look at the attached version. Looks the same as your original sample (except the chart does what you want). My formula is in row 5 which I've hidden.

    BSB
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: Line chart showing line of those cells who have zero value

    Thank you dear.

+ 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. [SOLVED] Line Chart Showing What I Think Is Progress
    By HarryGreenwood in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-29-2015, 07:26 AM
  2. Replies: 2
    Last Post: 12-07-2014, 04:49 PM
  3. Showing combined bar and line chart
    By Lemons83 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-05-2014, 04:47 AM
  4. [SOLVED] Bar chart showing plus line to indicate another dataset
    By Chrismdlz in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 02-06-2014, 10:07 AM
  5. Line Graph Showing Two Revenue Streams on the same line
    By Cowboys9 in forum Excel General
    Replies: 0
    Last Post: 08-12-2013, 11:23 AM
  6. Line Chart Question - break in line for blank cells
    By JonPugh in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 12-09-2009, 09:39 AM
  7. [SOLVED] A 2 line text showing up in the Cell in Excel prints in 1 line
    By Cageyslick in forum Excel General
    Replies: 6
    Last Post: 07-12-2005, 04:05 PM

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