+ Reply to Thread
Results 1 to 6 of 6

Correct procedure results in wrong chart

  1. #1
    Registered User
    Join Date
    12-26-2013
    Location
    -
    MS-Off Ver
    Excel 2007
    Posts
    9

    Correct procedure results in wrong chart

    Hello everybody!

    Although I follow the usual procedure for Chart insertion, the resulted chart is missing data.
    Is something wrong with the file itself or...? It is very strange to me.
    I attach the file in which I explain the problem in details.

    Thank you
    Attached Files Attached Files
    Last edited by Skakinen; 01-06-2014 at 05:16 PM.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Correct procedure results in wrong chart

    Hi,

    I think the 'Values' in the photo 2 chart should be '=charts!$J$5:$J$16', they were $I16.
    The other chart has similar information for the Y axis.

    Lewis

  3. #3
    Registered User
    Join Date
    12-26-2013
    Location
    -
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Correct procedure results in wrong chart

    That's the problem!
    I select the right cells but I get wrong chart.

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Correct procedure results in wrong chart

    I see said the blind carpenter as he picked up his hammer and saw.

    Unfortunately, I can recreate your problem (Excel 2003), when creating the chart,
    when I choose 4 or more months. When I choose only 3 months, then
    everything works correctly.

    Lewis

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

    Re: Correct procedure results in wrong chart

    When you use all 12 rows excel thinks the first 11 are text.

    You can change the formula to use NA() instead of ""

    =IF(ISNUMBER(AVERAGE(DATA!D4:D34)),AVERAGE(DATA!D4:D34)*1,NA())

    Or via the select data dialog, start by selecting only column D values. The alter the category range to use column C
    Cheers
    Andy
    www.andypope.info

  6. #6
    Registered User
    Join Date
    12-26-2013
    Location
    -
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Correct procedure results in wrong chart

    After a few experiments I changed the formula to =IF(ISNUMBER(AVERAGE(DATA!D4:D34)),AVERAGE(DATA!D4:D34),0) and works fine.

    Thanks for the answers!

+ 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. correct me IF i'm wrong
    By Whougonacall in forum Excel General
    Replies: 2
    Last Post: 06-05-2008, 07:14 AM
  2. [SOLVED] Correct Procedure to Open Help File?
    By JK in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-22-2006, 01:35 AM
  3. .OnAction points to wrong file.module.procedure
    By Datasort in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2005, 08:05 PM
  4. What's wrong with my procedure to show tabs?
    By JK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2005, 01:05 AM
  5. what is right or wrong-Using A Macro To Add Event Procedure To A CommandButton
    By Donna in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2005, 07:58 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