+ Reply to Thread
Results 1 to 2 of 2

Solving wrong displayed value in chart using dynamic names

  1. #1
    Registered User
    Join Date
    11-10-2010
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    1

    Question Solving wrong displayed value in chart using dynamic names

    I have an excel file where I load multiple files reference using a macro.


    On the first sheet, after loading the files I have references like this:

    Camera Passport OC120-135 best.xlsx 0,006748 0,005638 0,005248 0,005425 999,19 985,57 996,39 1078,74 5.7
    Etc for all the files loaded

    On the other sheets I have create dynamic graph using Names defined like this:

    =OFFSET(Sheet1!$B$1;0;0;COUNTA(Sheet1!$B:$B))

    I create also a Name for the last value which contains a point ".".

    I replace the point by a comma using this function:

    =IF(Sheet1!J2="-";"";IF(ISNUMBER(SEARCH(".";Sheet1!J2));REPLACE(Sheet1!J2;FIND(".";Sheet1!J2);1;",");Sheet1!J2))

    I see the correct value in the cells:

    5,7 5,2 3,6 5,9 10,5 21

    This issue is, when I plot these values into a graph only the "21" is displayed all the other values are 0 like this:

    0;0;0;0;0;21

    The strange thing is, when I use all the other values from column B to I, it's working fine.

    Is this function used to replace the point by a comma can make the graph not working???

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

    Re: Solving wrong displayed value in chart using dynamic names

    you need to post example workbook so we can see exactly what data is in cells and being feed to chart
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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