+ Reply to Thread
Results 1 to 4 of 4

Graphing coloumn data based on drop-down list

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Office 365
    Posts
    71

    Question Graphing coloumn data based on drop-down list

    Hello experts!

    I have a slight problem I hope You can help me with.

    I have 5 coloumns with lots of data and I wish to graph one of them based on the choice of a drop-down list. To save computing power (lots of calculations are done in the scenarios), I'd like not to unnecessarily refer to another coloumn.

    My data looks somewhat like this:

    Scenario 1 Scenario 2 Scenario 3 Scenario 4 Scenario 5
    data... data... data... data... data...

    The options for the names in my dropdown list is the same as the scenario names in the coloumns.

    I have tried looking up dynamic range, but they don't seem to fit, as I already have all my data. I just need for the user to be able to choose which scenario to graph himself/herself.

    Any suggestions?

    Thanks,


    GregersDK

  2. #2
    Valued Forum Contributor
    Join Date
    04-09-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2010
    Posts
    391

    Re: Graphing coloumn data based on drop-down list

    Hi,

    See the file, are you looking something like this.

    Regards,
    Attached Files Attached Files

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Graphing coloumn data based on drop-down list

    Hi,

    You're on the right lines with the dynamic range name.

    You should use the value in the drop down list as a precedent value to another cell which reads the column number you've selected. e.g. assuming your data is in A1:E.. and the drop down is in say G1, in H1 add a formula

    =MATCH(G1,A1:E1,FALSE)

    Now your dynamic range name formula would be

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


    so use this name for your chart.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    11-07-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Office 365
    Posts
    71

    Re: Graphing coloumn data based on drop-down list

    Thanks! I ended up using a slightly simplified version of what is in misrasomendra's attached sheet (I have a fixed number of rows in my data, forgot to mention). This is now solved

    Thanks a bunch, both of you

+ 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 Macro for transposing data based on a coloumn
    By excelNoobN in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-20-2014, 02:59 PM
  2. Populate cell data based on data validation (drop down list)
    By ish_baho in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-05-2014, 11:47 PM
  3. Populate Drop-down list based on selection from previous drop-down list
    By poison_stone in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-11-2012, 06:10 PM
  4. [SOLVED] filling in data based on drop down list
    By bbuilders in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-15-2012, 01:25 PM
  5. Help need with calculating data based off drop down list
    By cstick1965 in forum Excel General
    Replies: 1
    Last Post: 09-24-2012, 12:30 PM

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