+ Reply to Thread
Results 1 to 4 of 4

Creating graph based on highlighted cells

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Southeast
    MS-Off Ver
    Excel 2007
    Posts
    7

    Creating graph based on highlighted cells

    excelforum.png

    Wanting to create a line graph based on the highlighted values in the example above. Not really sure how, and can't find an option in excel.

    Any suggestions would be much appreciated. Thanks!

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Creating graph based on highlighted cells

    What causes the cells to turn yellow? Will there always be at most 1 yellow cell per row?

    If I understand what you are trying to do, I would add a helper column (or columns) to the right of the table that detects the yellow cells and returns the value of the yellow cell to a single column. Then use that column in the line chart. For example, AC might have the values 9; 6; 14; 5; 5 in it. Then AD could be =INDEX(C2:AA2,AC2) (copied down). Then use column AD in the line chart. The difficult part is deciding how best to get the values into column AC.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    11-15-2012
    Location
    Southeast
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Creating graph based on highlighted cells

    ExcelForum.png

    The cells turn to certain colors based on the which draw they were (not indicated in the picture, but "Draw 1" is column C [yellow] and "Draw 5" is column G [green]). If the numbers in the range C2:G9 change at all, then the numbers in range J2:BZ9 will change to their appropriate color. Rows 1-8/9 are based on the number of drawings there were that month.

    Ultimately, I want to have a graph that takes the highlighted cells and measures them out over the course of a month's drawings.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Creating graph based on highlighted cells

    I think we need a better description of what you want to do. What I was suggesting would essentially recreate columns C:G, so you could essentially create your chart from those columns.

    Can you perhaps prepare a small sample file, showing what you have, and manually working out a few examples of what you want, and giving some idea of what the line chart will look like when the analysis is complete.

+ 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. Can you create if statements based on if cells are highlighted?
    By Triscia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2015, 12:07 PM
  2. Copy and Paste based on Red Highlighted Cells
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2013, 12:59 PM
  3. [SOLVED] Need Help creating a Dynamic Graph based on Input
    By aglopez08 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-09-2013, 11:04 AM
  4. Move rows to another sheet based on highlighted cells
    By LongShanks in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-08-2013, 10:29 PM
  5. Create graph based on highlighted cell
    By xmmx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2011, 03:07 PM
  6. Populate a 2-column list based on highlighted cells
    By Pergo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-02-2011, 11:28 AM
  7. Calculations Based on Highlighted Cells Possible?
    By komobu in forum Excel General
    Replies: 3
    Last Post: 02-26-2011, 04:50 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