Social Icons

--Making BI accessible
twitterfacebookgoogle pluslinkedinrss feedemail

Pages

Saturday, March 31, 2012

Dynamic Excel Charts using Drop Down List

Hello Amigos,
Hope the day has been good so far!Why not make it awesome by learning something new?.

Lets us learn how to make Excel chart Axis labels and Series Values dynamically selected ,using drop down lists.Sounds refreshing ?Hell yeah!

Key Concepts:

  1. Offset Function and  Named  Range  : Explained Earlier. Link=>
  2. Offset and Named Range Concepts Background
  3. Drop Down List
Key Requirements:
  • Good 2 D data spread i.e Just another way of telling lot of data :D ,say Sales of ABC toy shop across different toy categories from January to December
Data Snapshot:


Named Range used:

  1. Month_Data_Range : =OFFSET(Drop_Down_List_Test!$L$6,0,0,12,1)
  2. Toy_Category_Sales_Data_Range : =OFFSET(Drop_Down_List_Test!$L$6,0,Drop_Down_List_Test!$A$4,12,1)
  • Significance (Scroll_Bar_Test!$A$4): This input in the offset function shifts through various toy categories
Steps for creating Dynamic Chart with Drop Down List
  1. Inserting Drop Down List (Also called Combo Box):
  • Developer->Insert->Form Controls->Combo Box
  • Right click on combo box , click on format control and input the following values
               Input range : $A$10:$A$17
               The range specifies distinct text values denoting toy categories
               Cell Link : $A$4  
              The toy category selected is reflected in the cell $A$4 which is then used by
               Named Range 'Toy_Category_Sales_Data_Range' for loading data of the relevant
               category
       
     Format Control Snapshot



    2.Insert a Bar chart
  • Right click on the chart to select data
  • Click on Add Legend Entries : 
         Series Name : Sales Value by Toy Category (whatever suits well ,no issues)  
         Series Values:Excel_Workbook_Name.xlsx!Named Range Name
         For Example:Series Value in the bar chart will be
         Dynamic_Dashboard.xlsx!Toy_Category_Sales_Data_Range

    3.Click on edit Horizontal Axis Labels for axis label data
        
         Axis Label Range: Excel_Workbook_Name.xlsx!Axis Named Range Name
         For example:Axis label range in the bar chart will be
         Dynamic_Dashboard.xlsx!Month_Data_Range


Clap Clap Calp! for yourself .Your done and how? .Now look smart and make some fantastic excel chart,leaving peers far behind


Oops forgot something in the appreciation mood!
Launch your creation with OK button click of Select Data Source of the chart


Chart Views:
1.Option Selected:   Games Toy Category


2.Option Selected:   Puzzles Toy Category




Please comment with your email id for receiving the actual workbook

    




27 comments:

  1. Hi.. this is an excellent article. It gave me a good idea on dynamic dashboards. Can you please send me a copy at bhargav1386@gmail.com

    ReplyDelete
  2. Wonderful!
    please send me a copy to sheshagirig(at)gmail.com

    ReplyDelete
  3. This is great! Can you send me a copy at bcdm3w@gmail.com?

    ReplyDelete
  4. Funtastic,
    This is amazing, what we can do with Excel.
    I've been learning a lot from this Website.
    Please, send me this Dashboard & other interesting to:

    amit1@sapo.pt

    Regards.

    ReplyDelete
  5. Looks great, thanks for the help. Mind sending me the file?
    mark.r.rossi at gmail

    ReplyDelete
  6. I fell like i am missing a step...
    I realize it has been a while, but may i take a look at the workbook if you still have it?
    kriswirick(at)gmail.com

    ReplyDelete
  7. Hi
    Could u pls send me a copy of this example.. ankit_osam@yahoo.co.in
    thanks in advance

    ReplyDelete
  8. Could you send me a copy of this please. deepy612@hotmail.com

    ReplyDelete
  9. hi can you send me a copy please iask@live.co.uk

    ReplyDelete
  10. Hi there. Nice work! And thank you for sharing your expertise! May I please have a copy sent to me at themanofmanyliquids(at)gmail(dot)com?

    ReplyDelete
  11. should't you have included a download link on this article for the sample workbook so we could follow along?

    ReplyDelete
  12. Could you send a copy to devon.sherwood@gmail.com please?

    ReplyDelete
  13. niceee!!
    hasnainsyed91@hotmail.com

    ReplyDelete
  14. Would greatly appreciate the example: jancbennett(at)gmail(dot)com

    ReplyDelete
  15. This is good...please send me the example. srdileep@hotmail.com

    ReplyDelete
  16. this is what i was looking for.. great. My email ID tusharkathuria9@gmail.com

    ReplyDelete
  17. Thanks, great example; my email ID: sarahstaub@gmx.ch

    ReplyDelete
  18. Great work. Could you please send me the example. chr417(at)gmail(dot)com

    ReplyDelete
  19. Hi Can you send me teh example please. My email is pindupitti@gmail.com

    ReplyDelete
  20. Good job! Please send me a copy: sylwialaw(at)gmail.com

    ReplyDelete
  21. Excellent!!! Please send me a copy : sewlal.sewram@cybersmart.co.za

    Thanks

    ReplyDelete
  22. Excellent!!! Please send me a copy : sewlal.sewram@bhpbilliton.com

    Thanks

    ReplyDelete
  23. pls send me a copy of the file at mohanad_73@hotmail.com

    ReplyDelete
  24. pls send me a copy of the file at rahul.godara@credit-suisse.com

    ReplyDelete
  25. nice work, can you pls send the workbook on goyal.d1990@gmail.com

    ReplyDelete