+ Reply to Thread
Results 1 to 5 of 5

Create chart on Home Page using data from Different sheet

  1. #1
    Registered User
    Join Date
    05-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    20

    Create chart on Home Page using data from Different sheet

    Hi All,

    I have a workbook that has two sheets currently in use. Tab "India", "Monthly_spends". Now I wish to have a scroll bar chart on home page based on country selected from the data validation list. The chart should show 3 months at a time, for e.g for jan, feb, mar...then apr, may, jun....then jul, aug,sep...then oct, nov, dec.

    The chart should be selected for the country selected from the list. Currently data is for Region LATAM for the countries Mexico and Brazil. Help shall be highly appreciated.Please find the attached sheet for reference.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Create chart on Home Page using data from Different sheet

    Hello
    I'm assuming the chart will be based on the Monthly_Spends tab. Take a look at the attached example. Maybe this is something you can work with.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    20

    Re: Create chart on Home Page using data from Different sheet

    Spot on DBY! I would further appreciate if you can just explain the process as I am new to the charts, that would further enlighten my skill. I know that would be a tedious job, but trust me my entire team would benefit as I believe in sharing knowledge.

    Thank you in advance!

  4. #4
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Create chart on Home Page using data from Different sheet

    Driving the chart are two dynamic named ranges. The first one ‘DatesbyCountry’ with this formula:

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


    The cell Monthly_spends!$A$1 is offset by the match function finding the match of B7 on the ‘India’ tab plus the Scroll Bar value on ‘Monthly_spends’. The Scroll Bar has a minimum value of 0 and max of 3 and increments by 1. The Offset formula multiplies this by 3 to move to each quarter.

    This named range is added to the chart X axis values and the Amounts are derived from another named range ‘CountryAmounts’ which comes from Offsetting the ‘DatesbyCountry’ by 1 column.

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


    The Chart Title is directly linked to B7 on the ‘India’ tab. The Quarter’s label in the top left corner of the chart is linked to the ‘Label Link’ on the ‘Monthly-spends’. That in turn is from the Lookup Table indexed from the Scroll Link.

    I hope this makes some sense.
    DBY

  5. #5
    Registered User
    Join Date
    05-05-2015
    Location
    india
    MS-Off Ver
    2010
    Posts
    20

    Re: Create chart on Home Page using data from Different sheet

    That is really lovely explaination DBY!

    Thank you so much for your pain!

+ 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] I need a macro to close a sheet and return to home page
    By Daotor in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2013, 11:19 AM
  2. Replies: 2
    Last Post: 09-16-2013, 05:17 AM
  3. Replies: 0
    Last Post: 09-12-2013, 10:22 AM
  4. Split Data in Home Sheet to Multiple Existing Sheets
    By tboyle35 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2012, 04:23 PM
  5. Ctrl - home isnt going home on sheet for sorting
    By photo_angel2004 in forum Excel General
    Replies: 7
    Last Post: 11-07-2008, 01:10 PM

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