+ Reply to Thread
Results 1 to 13 of 13

Chart with drop down selection

  1. #1
    Registered User
    Join Date
    09-30-2020
    Location
    London
    MS-Off Ver
    2016
    Posts
    20

    Chart with drop down selection

    Hi,

    Thanks for looking at my post. I have 3 sheets

    Sheet 1 : where i get 100s of data every month
    Sheet 2: where i need to filter the data according to Location and ITems and i need to do burndown plan
    Sheet 3: Where i need to show burndown graph with option of dropdown menu.

    I have done some but my actual question is in sheet 3. Any idea of how to implement please?

    Your help will be appreaciated.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Chart with drop down selection

    Hi there,

    In order to be able to select data by location, you need to have that field in your source data on Sheet 2.

    A simple way to allow you to filter your data/chart is to use a 'slicer'.

    I have expanded your data table on Sheet 2 a bit more so we actually have more than one location and added 2 slicers on Sheet 3.

    You can select one or more Location(s) (use "Ctrl" to add/remove additional locations).
    With the combination of the 2 slicers you have various options to show specific items, specific location(s) or specific item(s) by specific location(s).

    There are other options with formulas if you don't want to use slicers, but a bit more involved with the setup.

    Trust this helps.
    Attached Files Attached Files
    If your Question is answered; please mark it SOLVED. If you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  3. #3
    Registered User
    Join Date
    09-30-2020
    Location
    London
    MS-Off Ver
    2016
    Posts
    20

    Re: Chart with drop down selection

    Thats very very helpful. This is what exactly i am looking for. But additionally i am looking for filter according to location number as well. Say example Location 1 will have item 1 to ... and simillarly location 2,3,etc. Is there any way when i click location 1 it will filter to list of available items in the location 1 and when i click those items i can see graph? Another think is can we incorporate those changes in the drop down box. Like drop down box for locations and items?
    Any input will be highly appreciated

    Thanks again

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Chart with drop down selection

    Hi again,

    Yes it is possible to have more 'slicers'. The pre-requisite is that you have a column with them in your data source.
    I can see that you have items in column A on Sheet 1, but they are not in the table in Sheet 2 which is the source for the chart.
    Similarely as I did insert the Location column on Sheet 2, you need to include a column with the Item numbers.

  5. #5
    Registered User
    Join Date
    09-30-2020
    Location
    London
    MS-Off Ver
    2016
    Posts
    20

    Re: Chart with drop down selection

    Brilliant

    Thanks a lot for your help

  6. #6
    Registered User
    Join Date
    09-30-2020
    Location
    London
    MS-Off Ver
    2016
    Posts
    20

    Re: Chart with drop down selection

    Hi,

    I was trying to update the graph with my actual data and i got stuck with following issue.
    Basically i am having 100s of data in sheet 1 and it will be always in sheet 1 format. is there anyway i can i can automate format like sheet 2 from sheet 1 ?

    Thanks again
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Chart with drop down selection

    Hi,
    Depanding on the complexity this maybe can be done with lookup formulas, but maybe VBA is a better option.

    Eitherway, we need to understand your data sample a bit better.
    Your data on Sheet 1 should match the data on Sheet 2 so we have a 'Current' and 'Required' set.

    On Sheet 1, what do the 'x' represent. If this should be numbers, it would be helpful for some actual data which then corolates to Sheet 2 to validate possible solutions.
    On Sheet 1, you have multiple 'Items' for 'Location 1'. Do you require each 'Item' and 'Location' separately with the 4 rows on Sheet 2, or can they be summarised and list the total just by 'Location'.

    For Plan, I can see that Q3+R3 from Sheet 1 translate to the 16 for Jan on Sheet 2 in D4, then the cell values from Feb to Dec.
    For Demand, C3+D3 from Sheet 1 translates to the 19 for Jan on Sheet 2 in D5, then the cell values for Feb to Dec.

    On Sheet 2, in cells C6 & C7, where is the 79 from? For 'Location 1' row 5 'Demand' for Jan - Dec = 79. This logic however does not work for 'Location 2' or 'Location 3'.

  8. #8
    Registered User
    Join Date
    09-30-2020
    Location
    London
    MS-Off Ver
    2016
    Posts
    20

    Re: Chart with drop down selection

    Hi,


    Thanks again for your reply. Sorry for not giving you right data in the excel. I have updated the excel with some data in it. Kindly please look into it and let me know your thought.

    Thanks again
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Chart with drop down selection

    Hi again,

    Please refer to the attached file.

    I have added some formulas which will pickup the values in each row based on the Location and Item form Sheet 1.
    The formulas are dynamic, so you can copy/past the blocks of 4 rows for as many as you need. You will need to extend the range in the required rows (currently only 14).
    Also make sure the table is resized to ensure any added blocks are included in the table for the formulas to pick up the ocrrect values.

    You will aslo need ot manually set the Location and Item refrences (yellow). Once setup, it should pick up the values when Sheet 1 changes.
    Maybe someone else with VBA skills could automate this process.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    09-30-2020
    Location
    London
    MS-Off Ver
    2016
    Posts
    20

    Re: Chart with drop down selection

    Perfec. Thanks for your help

  11. #11
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Chart with drop down selection

    You are welcome.

    If your Question is answered; please mark it SOLVED. You can do this via the Thread Tools at the top of your original post.

    Also, if you are happy with a member's solution, say 'Thanks' and click the 'Star' to Add Reputation.

  12. #12
    Registered User
    Join Date
    09-30-2020
    Location
    London
    MS-Off Ver
    2016
    Posts
    20

    Re: Chart with drop down selection

    Hi,

    Sorry for reopening this post. I have one issue and i dont know where i am going wrong.

    I have 100s of rows and for each separate location and item do i need to do this individually? or is there any formula where i can do it automatically?




    Thanks
    Attached Images Attached Images
    Last edited by krishnakumar121988; 01-27-2021 at 06:58 AM.

  13. #13
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    897

    Re: Chart with drop down selection

    Hi krishnakumar121988,

    I have one issue and i dont know where i am going wrong.
    Can you please be more specific. What is going wrong, what is the issue?

    Screenshots are not really that helpfull as we can't see what is actually going on in the file, settings, formulas etc.
    Your screenshot is for the allocation of primary and secondary axis on the chart. Do you need specific items show as line and others as bar chart?
    New items/locations will be allocated the default line chart. If you want specific items to show as bars, you need to identify them as such.

    Also please check:
    If you have worked of the file above and copied the 4 line boxed for as many set as you need, check that the formulas work and the correct data is in the table.
    Reset/resize the table on Sheet 2: click anywhere in the table. On the top ribbon go to 'Table Tools', then at the far left under 'Resize Table' make sure the table is extended all the way down to the bottom of the data.

    On Sheet 3 click in the chart. On the top ribbon go to Chart tools, then Design. Check the 'Select Data' icon. Check the Chart Data Range is covering all of Table2.

    It should automatically pick up new data and update the chart and slicers.

+ 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. [SOLVED] Dynamic Chart Title Based Off of Drop Down Menu Selection
    By Butcher1 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-26-2020, 08:12 AM
  2. [SOLVED] Help with chart using drop-down selection
    By trolle in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 08-04-2017, 10:01 AM
  3. Dynamic Chart Comparison Based on Drop-down Selection
    By Psionicrnd in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-09-2014, 11:25 AM
  4. Pivot Pie Chart - Drop Down Selection Help
    By steverokh in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-11-2012, 12:31 AM
  5. [SOLVED] Turning a table into a chart with a drop down selection button
    By dwhite30518 in forum Excel General
    Replies: 1
    Last Post: 06-05-2012, 10:14 AM
  6. Debugging Macro to Chart Selection from Drop Down List by last 3 years
    By CANNH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2012, 02:36 AM
  7. Return specific numbers from a chart depending on drop down box selection
    By JasonTV in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-12-2011, 08:22 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