+ Reply to Thread
Results 1 to 2 of 2

How to create a bar chart with gaps where data is missing?

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    Ontario
    MS-Off Ver
    Excel 2013
    Posts
    31

    How to create a bar chart with gaps where data is missing?

    I'm trying to create a bar graph in excel. The data I have is in two columns and looks something like this:

    1 4
    5 10
    6 12

    When I create a graph with this data, I get three equally spaced bars of heights 4, 10 and 12. What I want is a bar of height 4, and then 3 spaces (representing the absence of data for data points 2, 3, 4) and then a bar of height 10 followed by a bar of height 12. How do I achieve this?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: How to create a bar chart with gaps where data is missing?

    You need to add the missing data points with zero values in your source table:

    Excel 2016 (Windows) 32 bit
    A
    B
    1
    1
    4
    2
    2
    3
    3
    4
    4
    5
    5
    10
    6
    6
    12
    Sheet: Sheet1
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Finding the missing gaps in a matrix
    By omer123456 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-28-2017, 07:37 AM
  2. Remove gaps for missing values in column chart
    By Mthes in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-22-2014, 05:20 AM
  3. [SOLVED] Removing gaps in column chart for missing data
    By WiscoEm in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 02-18-2014, 08:10 PM
  4. Search for missing data and create a row if it is
    By S.Taylor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-12-2013, 09:05 AM
  5. Fill in missing gaps in dates
    By wazimu13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2013, 10:43 AM
  6. Replies: 6
    Last Post: 06-08-2012, 03:26 AM
  7. Create a Formula When there are gaps.
    By Growing in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-29-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