+ Reply to Thread
Results 1 to 5 of 5

Macro to create graph for each row in table

  1. #1
    Registered User
    Join Date
    01-10-2020
    Location
    Peterborough, England
    MS-Off Ver
    Office 2016
    Posts
    25

    Macro to create graph for each row in table

    Hi everyone,

    I'm trying to speed up the process of creating 83 graphs from a table of data.

    I have attached the data to the post along with a sample of what the graph needs to look like.

    Is there a marco i could use to do this?

    Thank you in advance!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    08-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, Office 365
    Posts
    467

    Re: Macro to create graph for each row in table

    Hi

    How about not using macros and just using a 'clicker' to select/view charts???

    ..see attached file.

    Clicking the 'clicker' updates cell [Z1] with the current clicker value.
    We can then use simple INDEX formulas to 'fetch' corresponding row data into range [AB2:AM2]
    ..then the source data for the chart is just [AA1:AM2]

    We could do more with macros of course, like having a 'search' box where you type the name you want etc etc etc.

    Anyway, this is just a start..

    zeddy
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    08-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, Office 365
    Posts
    467

    Re: Macro to create graph for each row in table

    Hi

    ..and if you don't like my clicker in the file I posted, just enter the row number of the one you want to see charted in cell [Z1]
    ..for example, put 22 in cell [Z1] and you get chart for row22 i.e. DW SOLICITORS (NORTHAMPTON)

    zeddy

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,332

    Re: Macro to create graph for each row in table

    or you can use a slicer
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Valued Forum Contributor
    Join Date
    08-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, Office 365
    Posts
    467

    Re: Macro to create graph for each row in table

    Hi popipipo

    Your solution is better but I would like to say insofar as manifestations of functional deficiencies are agreed by any and all concerned parties to be imperceivable, and are so stipulated, it is incumbent upon said heretofore mentioned parties to exercise the deferment of otherwise pertinent maintenance procedures and I thank you for your research, diligence, and hard work.

    ..you did notice it looked like lawyer-stuff, right????

    zeddy

+ 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. Replies: 4
    Last Post: 12-31-2016, 04:06 AM
  2. Create a graph from table
    By engmhelmy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-07-2015, 06:28 PM
  3. Macro to create a graph when a button is pressed
    By jembop in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-17-2014, 01:43 AM
  4. Macro to create a graph
    By rexer231 in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 01-08-2014, 10:58 AM
  5. How to create scatter graph using macro in excel
    By gyupadhyay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2013, 06:07 AM
  6. How do you create a complicated pivot table graph?
    By Natalia Kozyura in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-06-2005, 10:06 PM
  7. [SOLVED] How do I create a bar graph from a table in Microsolf Word?
    By michael in forum Excel General
    Replies: 1
    Last Post: 02-24-2005, 05:06 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