+ Reply to Thread
Results 1 to 3 of 3

Dynamic Chart in Excel

  1. #1
    Registered User
    Join Date
    02-20-2012
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    74

    Dynamic Chart in Excel

    Hi, i have made a dynamic chart but its not resizing correctly. Currently the font is not legible. I want to resize based on the length of data shown not resize based on the formula since the formula is returning zero. It has to be able to resize based on various lengths of customer accounts by salesperson. Can someone please assist?
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Dynamic Chart in Excel

    Here are a couple of articles that explain the magic behind dynamic charts:
    http://www.utteraccess.com/wiki/Offs...Dynamic_Ranges
    http://www.utteraccess.com/wiki/Dynamic_Charting

    Normally, the number of rows to return in an offset command is given by COUNTA() minus extra headers, total rows, etc. However, in this case, you have formulas down to row 40. Although nothing is displayed, the results still count as data. The null string is still not nothing.

    You could do this by checking the length of the returned data: if the length is zero, then either the cell is blank or it contains the null string. To apply a rule like Len(G3:G40) = 0 normally requires an array formula, however SUMPRODUCT acts like an array formula. So =SUMPRODUCT(1*(LEN(G3:G40)<>0)) gets a count of cells in the range(G3:G40) where the length of the cell contents is zero. I tested this formula in cell J1. I left it there so you can see how it changes when you type in a new sales person. I copied it into the offset command for Plot_Account, so you don't have to keep it.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    02-20-2012
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: Dynamic Chart in Excel

    This 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. Excel Dynamic chart
    By rishikrsaw in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2015, 03:02 PM
  2. dynamic chart in excel (best way)
    By ashishmehra2010 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-04-2015, 03:58 AM
  3. Dynamic Range Column Chart w/ Dynamic Avg Line (Excel 2007)
    By BrokenBiker in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-04-2012, 11:40 AM
  4. dynamic chart in Excel
    By urbi in forum Excel General
    Replies: 7
    Last Post: 04-23-2012, 08:08 AM
  5. Dynamic excel chart
    By drorsdd in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 01-27-2010, 09:33 AM
  6. Excel dynamic chart
    By saucekorn69 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-28-2008, 03:48 PM
  7. [SOLVED] Dynamic Chart Crashing Excel - help plz!
    By John in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-16-2006, 10:25 AM

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