+ Reply to Thread
Results 1 to 5 of 5

Marking different data types in plotted data

  1. #1
    Registered User
    Join Date
    09-02-2008
    Location
    Planet Earth
    Posts
    3

    Marking different data types in plotted data

    I a using Excel 2000 at work and am graphing historical data. The data was recorded every month for the past 12+ years. Looks like

    "area 1" "month 1" "month 2" .... "month x"
    "area 2" "month 1" "month 2" .... "month x"
    "area ..." "month 1" "month 2" .... "month x"
    "area x" "month 1" "month 2" .... "month x"

    There are random months in each year that the collected data was either invalid or guessed so its cell is highlighed yellow. Is there a way that I can graph the all of the data and "invalid" data, the actual data marker on the graph, would be a different color or marker type?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434
    It's very hard to tell from the data posted, a workbook with example data would be more helpful.

    To get different coloured markers you can either use additional series, plotting only relevant points. Or vba code.

    Is the colouring of the invalid cells done via Conditional formatting or just manually?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-02-2008
    Location
    Planet Earth
    Posts
    3
    Attached is a small example of what I am working with. There is a large amount of data so seperating valid and invalid data into different rows, and then graphing, would be too messy and confusing.

    All data and highlighting is/was done manually. Basically the highlighting indicates that the data was not physically measured/recorded but was approximated.

    Each row is plotted in a seperate graph. I am wondering if there is a way to mark the "invalid" cells so when the row is plotted, using excel's built in chart, that at each data marker is a different color and/or marker type.

    If that can not be done "automatically" but can only be done using a vb script, can a cell be marked somehow to indicated in the vb code that the plotted data is invalid? I'll probaby have to checkout a book from the library.
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434
    If you do not want to use additional series coding is the only way.

    Please Login or Register  to view this content.
    Notice the effect settng individual points has on a legend with only 1 series.
    Although the series is actual redundent with only 1 series, unless you add another dummy series to explain the colour variation in markers.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-02-2008
    Location
    Planet Earth
    Posts
    3
    Okay cool. Thank you for being very helpful. It is nice to see in the different marker colors in the plot. I have also checked out some excel scripting books to better understand how to create and run scripts.

+ 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. Data and number manipulation
    By Mwhite in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2015, 06:41 AM
  2. automatically move left one cell after data input by scanner.
    By dgbillings in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-24-2010, 10:58 PM
  3. Extract and summarize from 100 worksheets into one
    By HMIExcel08 in forum Excel General
    Replies: 6
    Last Post: 06-23-2008, 10:08 AM
  4. Replies: 2
    Last Post: 02-14-2008, 05:02 PM
  5. Need to extract random data using set criteria...
    By dance621 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2006, 06:03 AM

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