+ Reply to Thread
Results 1 to 1 of 1

Automatically filling tables (creating lines if necessary) with data, using a formula ?

  1. #1
    Forum Contributor
    Join Date
    08-28-2015
    Location
    Montreal, Canada
    MS-Off Ver
    2013 on PC, 2011 on MAC
    Posts
    159

    Automatically filling tables (creating lines if necessary) with data, using a formula ?

    I'm currently working on a stock management tool in Excel, that would require a bunch of tables to be filled with data from the main transaction list. I'm pretty sure VBA is the only way to go to achieve that, but thought I'd ask, just in case one of you guys had a few tricks up your sleeves. I'm attaching the document to this post (I listed a bunch of stocks to make it easier for you to see).

    So basically, I have all the transactions listed in a table called "ADVActuel" on the first tab (called ADV Actuel). It lists the stock general infos (columns B:G), Initial transaction infos (columns G:K), Current stock value (columns L:O), Previous month comparison (columns P:S), Closed transaction infos (columns T:X) and dividends (columns Y:Z). I have it setup so that once you enter a selling date (column T) and selling price (column U), all the data from L:S will disappear, replacing them with "".

    That works well. Now here's the tricky part.

    If you take a look at column F, it lists the different folios (for the purpose of this exercise, I called them Picsou, Fundoc and Star ADV). As time will go by, that transaction list will be quite long...so I created four other tabs, called "Folio - Combinés", "Folio - Picsou", "Folio - FunDoc" and "Folio - Star ADV" where I'd like to list only the open transactions (so either with data in column L:S, or with blanks in T:X) for each specific folios (so those with "Picsou" in column F would be listed in the table on the "Folio - Picsou" tab, etc.)

    The "Folio - Combinés" tab would list only the open transaction, regardless of the folio.

    To make matters even more complicated, I have four stocks symbols that shouldn't be included in any of those list (ZUB, IYF, ZUH and IHE) as they have their own unique tables already.

    IMPORTANT: The different tables in each individual folio pages (ie. "Folio - Picsou", "Folio - FunDoc", etc.) are already programmed. So I don't need to whole line to be copied, I would just need the stock symbol (column B in ADV Actuel) to be written in column C of those pages. The table will fill itself after that, once the symbol is entered.

    Now like I said, I'm pretty sure this can only be achieved by a VBA macro (which I'm not good enough in to even think about doing). But I thought I'd ask anyway.

    To anyone with an input on the matter, a huge thanks !

    KJ
    Attached Files Attached Files

+ 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] Automatically Filling Data Down
    By GMKoehler in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2015, 06:23 PM
  2. Data automatically filling to another sheet?
    By housendahouse in forum Excel General
    Replies: 4
    Last Post: 12-09-2013, 01:51 PM
  3. Creating Tables that automatically import data from new worksheets
    By nshah1985 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2013, 11:24 PM
  4. Creating data tables from a database without using pivot tables
    By gareth.campbell in forum Excel General
    Replies: 4
    Last Post: 11-24-2010, 12:23 PM
  5. Creating and filling out columns automatically
    By wharfedale in forum Excel General
    Replies: 6
    Last Post: 03-02-2010, 09:47 AM
  6. Automatically filling data
    By karlval in forum Excel General
    Replies: 1
    Last Post: 02-01-2008, 11:31 PM
  7. [SOLVED] Automatically filling in data
    By ShaunR1967 in forum Excel General
    Replies: 1
    Last Post: 03-22-2006, 01:40 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