+ Reply to Thread
Results 1 to 13 of 13

dynamic chart combo box

  1. #1
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    dynamic chart combo box

    Hello everybody
    how can only A & B to be shown in horizontal axis , when I choose product1 in combo box AND how it is possible to do the same pattern with C & D in product2 and A,B,C and D in all products as well?
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,249

    Re: dynamic chart combo box

    In name manager define range.
    As per selecting product in "chart" sheet, accordingly change in formula sheet.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: dynamic chart combo box

    would you please write the formula??

  4. #4
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: dynamic chart combo box

    Can Anyone Help Me?

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,984

    Re: dynamic chart combo box

    Try in formula sheet

    B9
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag towards the cell
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  6. #6
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: dynamic chart combo box

    hi friend ....i tried it but it didn't work , could you please do it on the sent file ?

  7. #7
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,984

    Re: dynamic chart combo box

    Please check the attached file.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: dynamic chart combo box

    thanks for your attention friend
    your sent formula worked on product1&2 but not in "all products" ... (cuz nothing is shown in all products )


    and my next question... is it possible in product1(also product2 and all products) ,a & b column fill the whole horizontal axis?

  9. #9
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,984

    Re: dynamic chart combo box

    Check the attached file.

    For all product you need to change below formula in formula sheet

    C9
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files

  10. #10
    Banned User!
    Join Date
    10-29-2012
    Location
    Europe
    MS-Off Ver
    2013, 2016
    Posts
    318

    Re: dynamic chart combo box

    Use this array formula (CTRL+SHIFT+ENTER to activate the array, not just ENTER) in

    B9 =IFERROR(INDEX(data!$A$1:$A$4,SMALL(IF((data!$C$1:$C$4=$E$1)+(data!$D$1:$D$4=$E$1),ROW(data!$A$1:$A$4)-ROW(data!$A$1)+1),COLUMNS($B$9:B9))),"") then drag to right

    and in

    C9 =IFERROR(INDEX(data!$B$1:$B$4,SMALL(IF((data!$C$1:$C$4=$E$1)+(data!$D$1:$D$4=$E$1),ROW(data!$A$1:$A$4)-ROW(data!$A$1)+1),COLUMNS($B$9:B9))),"") then drag to right

    See in attach.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: dynamic chart combo box

    hi shukla.ankur and Indi_Ra tnx for reply it was very practical..
    i have another question ..is it possible in product1 or product2 , diagram columns (a&b / c&d) fill the whole axis(chart)?

  12. #12
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: dynamic chart combo box

    helloooooooooo

    is my last question really possible or not ?

  13. #13
    Registered User
    Join Date
    05-23-2016
    Location
    iran
    MS-Off Ver
    2010
    Posts
    27

    Re: dynamic chart combo box

    friends i got the answer so i'll share it maybe someone find it useful..
    do you think it is possible to the same by define name (formulas tab)?
    Attached Files Attached Files

+ 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. dynamic chart combo box
    By m.zaeim in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-16-2017, 01:42 AM
  2. [SOLVED] combo chart - how to make secondary axis (combo chart)
    By eeps24 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-20-2016, 02:38 PM
  3. [SOLVED] dynamic chart values formula with dynamic starting point
    By Kramxel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2015, 03:30 AM
  4. VBA - Updating Dynamic Line Chart & Inserting Dynamic Formula
    By bruno08102013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-09-2014, 10:10 AM
  5. [SOLVED] dynamic chart based on combo box
    By dinahajjar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-28-2013, 03:11 PM
  6. 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
  7. help with dynamic combo box
    By chia0089 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-31-2009, 02:42 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