+ Reply to Thread
Results 1 to 11 of 11

Dynamic Data Range for Bar Chart

Hybrid View

  1. #1
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Dynamic Data Range for Bar Chart

    Quickest way.

    Select A1 and on the ribbon use
    Insert > Table

    Your now good to go.
    Cheers
    Andy
    www.andypope.info

  2. #2
    Registered User
    Join Date
    10-17-2007
    Posts
    62

    Re: Dynamic Data Range for Bar Chart

    Thanks Andy. However, I don't see how this solves my problem.
    Maybe you didn't open the attached file?

    The thing is, that I want my bar chart to include only the rows which have some data. No empty rows. That is the reason why I don't want to select bigger data range than necessary to my chart. (Or actually I need the range to contain the area untill the last used row, so there might be empty rows between that area)

    Maybe someone could even include the solution to my example file?

    Best regards,

    Juhanen

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Dynamic Data Range for Bar Chart

    Yes I did see your file and tested it.

    Did you try what I suggested?

    For me turning the data into a table linked the chart directly to the data.
    Adding new information in row 5 caused the chart to update automatically.

  4. #4
    Registered User
    Join Date
    10-17-2007
    Posts
    62

    Re: Dynamic Data Range for Bar Chart

    Hi,

    Yes I tried to convert the area to table, but unfortunatelly it doesn't work for me. The chart doesn't update. (I'm using Excel 2007)

    Maybe I have to use VBA code insted? Macro recording doesn't work so well with charts, so maybe someone could help me out here please.

    Best regards,

    Juhanen

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Dynamic Data Range for Bar Chart

    See attached

    Before resorting to code you might consider using a named range.
    Attached Files Attached Files

+ Reply to Thread

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.6.0 RC 1