+ Reply to Thread
Results 1 to 2 of 2

VBA for making a graph with specific data

  1. #1
    Registered User
    Join Date
    06-12-2018
    Location
    Rotterdam
    MS-Off Ver
    365
    Posts
    2

    VBA for making a graph with specific data

    Hi everyone, I am currently working on a excel spreadsheet for investing purposes. One sheets gives the user the option the fill in an exchange and the stock Ticker. When the user clicks on the "Get data" button all the fiscal financial data (income statement etc.) is put into the appropriate sheet. It looks like this:
    screen2.png

    I would like to be able to make graphs with this data automatically without having to select the cel range myself. the problem is that the financial statements vary. So while the net income may be on 16B for Apple it could be on 18B for Microsoft, the name for that value 'net income' of course stays the same. Is there a way to make VBA look for the cell for ' net income ' and then take the data to the right from it?

    With kind regards, Toni

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: VBA for making a graph with specific data

    This can probably be done with named dynamic ranges. It may not require vba.

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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] Making a specific type of graph design.
    By damp in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-07-2014, 06:52 AM
  2. Making last known data point show as value on graph?
    By Daniel86 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-21-2013, 07:42 AM
  3. Making a bar graph from non-numeric data values
    By mcgill_linguistics in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-21-2013, 06:14 PM
  4. Making a graph with selective data series?
    By jamesr13 in forum Excel General
    Replies: 0
    Last Post: 06-19-2012, 09:08 PM
  5. Need help with making a data line graph
    By hong_jiea in forum Excel General
    Replies: 0
    Last Post: 06-14-2012, 11:42 AM
  6. Making graph from data (names)
    By TheNameless122 in forum Excel General
    Replies: 2
    Last Post: 07-01-2010, 08:14 AM
  7. Making a graph with my data
    By mako5590 in forum Excel General
    Replies: 1
    Last Post: 07-22-2009, 02:22 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