Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8413531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:56:14+00:00 2026-06-10T00:56:14+00:00

I have a simple line chart that I’ve added data labels to: But I

  • 0

I have a simple line chart that I’ve added data labels to:

Chart

But I don’t want all those labels. I only want the top and bottom 10% (arbitrary number) values to be shown. For example, in the picture I’d only want the labels for 51, 54, 57, 61, 66, 68, 74 to show. I can manually delete the other labels but the chart data changes dynamically over time. Is there a method for accomplishing this? The text in those labels is a placeholder right now and will eventually be 6-10 characters long, at which point having all those labels will just be a complete mess.

I’m not real confident in VBA so I’d only like to fall back on that as a last resort.

Edit: Thanks to Scott for his insightful answer. It works perfectly with a manually populated Data Labels column. However, some jury rigging is needed if one wants to populate it dynamically. I used the following formula to populate it:

=IF(OR(O1=LARGE($O$1:$O$30,1),O1=LARGE($O$1:$O$30,2),O1=LARGE($O$1:$O$30,3)),O1,"")

Basically, it copies cell values from column O to column P if the value in O is the top 1st, 2nd, or 3rd value in the list. If it’s not any of those, it leaves the cell blank. But even if a cell is visually blank, Excel’s charting functions interprets the value as 0 if there is a formula in the cell. This means the entire bottom of the graph has repeated data labels of “0%”. To solve this I set the value of the FALSE parameter as a negative number and then changed the minimum value on the graph from automatic to 0. This leaves the unfit values below the bottom of the chart, out of visible range.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:56:14+00:00Added an answer on June 10, 2026 at 12:56 am

    AHA!

    Just when I thought there was no non-VBA solution other than picture links, my ingenuity came through 🙂

    Here is what you can do, in stages:

    1) Create a data set next to your original series column with only the values you want labels for (again, this can be formula driven to only select the top / bottom n values). See column D below.

    enter image description here

    2) Add this data series to the chart and show the data labels.

    3) Set the line color to No Line, so that it does not appear!

    4) Volia! See Below!

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple JSF line chart that uses PrimeFaces (via jqPlot) library: <p:lineChart
I have implemented a simple D3.js line chart that can be zoomed and panned.
I have a C# windows form with a simple 2D line chart that I
I have made a simple Line Chart: Which is showing 4 grid-lines at points
I have a simple in-line edit in my grid, and I want to commit
I have a simple JEditorPane inside a JScrollPane that displays line numbers on the
I have written a chart that displays financial data. Performance was good while I
Let's say I have a simple line chart with 5 values (a = 155,
I have a simple line chart being fed from a web socket connection and
I have a simple function that uses a callback and I want use functor

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.