+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    06-29-2009
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Adding series labels

    Hi guys. I am producing scatter plots on Excel 2007 of spectroscopy data, in these plots it is quite important to know the peak values. Not so much y, but definitely x.

    I know how to add data labels, but that is no use since there are thousands of points and they just cover each other up. A plot ranging from 0-3600 may have 10-20 peaks that I am interested in, is there an easy way to get excel to just mark the peaks without filling them all in manually?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,938

    Re: Adding series labels

    Add another series that just plots the required peaks? Apply data labels to that series.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    06-29-2009
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Adding series labels

    Hmm yeah that would indeed be possible, it would still mean I would have to find all the peaks manually though. Even if I did min/max functions I would need to find the range where the peak was for all the seperate peaks, and I have a lot of charts. I could resort to that, but I would prefer ot find a quicker way if there is one.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,938

    Re: Adding series labels

    None that I know of.
    How would the chart know what as a peak and what not?

    Is it possible to 'find' the peaks with formula or code?

    Maybe if you posted a small example explaining how you manually determine peaks when can help speed the process.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    06-29-2009
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Adding series labels

    By manually finding the peaks, I mean I hover the mouse over a peak and it gives the coordinates, I write them on by hand. :P

    So if I have 2 series on the one chart (one representing all the data, and the other just the peaks) how do I get data labels for just the latter and not the former? As I said before, with several thousand points on the graph it seems to be overloading my computer and freezing excel when I try to click anything to do with data labels.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,938

    Re: Adding series labels

    Here is a small example.

    Main data is 200 points.

    I copied the data set and sorted on x then y values.
    Only the top 10 points are plotted and have data labels enabled.

    I used a dynamic named range so changing the value in C1 will alter the number of data labels displayed.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  7. #7
    Registered User
    Join Date
    06-29-2009
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Adding series labels

    Wow that very cool, thanks! I'll see how it goes.

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.2.0