+ Reply to Thread
Results 1 to 3 of 3

Use Cell contents to be cell label

  1. #1
    Forum Contributor
    Join Date
    12-05-2006
    Location
    London
    MS-Off Ver
    Excel 365 (Version 2008) [work] & 365 [home]
    Posts
    182

    Use Cell contents to be cell label

    OK so the title is probably a bit rubbish.

    I have data in Bell B2 and C2

    B2 = 2023
    C2 = 2022

    Now and again I change these so the chart I have changes to reflect each year.
    The Chart isn't a problem but I want the legends to read the data in above cells.
    Blue series = what is in B2
    Red series - what is in C2

    Is that possible ?


    Thanks in advance,
    Last edited by Lensmeister; 01-16-2023 at 02:51 PM.
    A mad football researcher and Statistician - ok just mad really !

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Use Cell contents to be cell label

    It would be helpful to see a sample of your data and chart. Please see yellow banner at top of screen.

    I have created a small sample of what I assume your data looks like, given the description in post #1.
    You can see that when you change B2 and C2, the chart changes accordingly.
    You can right-click on the chart and go to Select Data to see how it is set up.
    I Switched Rows/Columns to get the chart in this view with the data as is.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    12-05-2006
    Location
    London
    MS-Off Ver
    Excel 365 (Version 2008) [work] & 365 [home]
    Posts
    182

    Re: Use Cell contents to be cell label

    That's exactly it thank.

    I checked your file and adapted my chart like yours and it works perfectly

    Thank you so much.

+ 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. Show contents from adjacent cell based on label/sort or remove 0s
    By k8thegr8 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2017, 07:05 AM
  2. Replies: 3
    Last Post: 06-29-2015, 03:03 PM
  3. macro to copy cell contents then remove substring of contents in new cell - Help
    By three_jeeps in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-25-2015, 01:19 AM
  4. Find if contents of Cell is in 1 of 3 lists and label accordingly
    By danbak in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-02-2012, 01:39 PM
  5. Split cell contents over multiple rows based on cell contents
    By naigy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-17-2011, 05:38 PM
  6. Copy cell contents to Button Label?
    By Dean England in forum Excel General
    Replies: 5
    Last Post: 04-22-2007, 09:37 AM
  7. How do I make a cell's contents equal to another cell's contents with macro program?
    By mgmcdevitt in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-15-2005, 04:44 PM

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