+ Reply to Thread
Results 1 to 2 of 2

Dynamic list population base don specific criterium

  1. #1
    Registered User
    Join Date
    08-02-2011
    Location
    Chicago
    MS-Off Ver
    Excel 2007
    Posts
    6

    Dynamic list population base don specific criterium

    Here is the challenge:
    The MediaBuy sheet defines the number of rows (one row per month of contract length) to be dynamically built into the Data-Usage sheet. Each row in MediaBuy sheet is an element that needs to be represented on the Data-Usage sheet. For example, row three on MediaBuy, would dictate that there are then 12 rows on Data-Usage sheet, where Row 4 on Media buy would necessitate the need for three rows. But not all start dates will be 1/1/14. Thus the dynamic ability.

    Please help.

    thanks
    chris
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-08-2013
    Location
    California
    MS-Off Ver
    Excel 2013
    Posts
    102

    Re: Dynamic list population base don specific criterium

    cbeck,

    I do not have a complete solution to your need, partly because I am not completely sure what it is you want. Are you looking for a button that when you push it, it reads in the number of months on the MediaBuy tab and posts the name of the Publisher/Source into the Data-Usage tab a number of times equal to the number of months?

    I can make one specific improvement to the MediBuy tab. In Cell E3, enter the following formula and drag down:

    =YEAR(D3)-YEAR(C3))*12+MONTH(D3)-MONTH(C3)+1

    This formula calculates the exact number of months. Your current formula is returning a decimal number of months, which only appearS like an integer of months because you are not showing the decimals. The above formula I have given is helpful, because any macro you seek that fills in the data in the Data-Usage tab needs integer values. For example, you want to fill in exactly 12 rows with the word "Monster". It would not make sense to fill in 12.1 rows.

    Hope this helps.
    ______________________
    [1] If this reply was helpful, click the star to the left.
    [2] If this reply answered your question, mark this thread as [SOLVED].
    Last edited by Dimitrov; 09-23-2013 at 11:35 PM.

+ 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. Urgent: Create a Dynamic Dropdown list based on a specific criteria
    By vijaye in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2013, 08:07 AM
  2. create a dynamic drop down list based on specific criteria
    By stevegrobertson in forum Excel General
    Replies: 4
    Last Post: 02-21-2012, 08:07 PM
  3. Huge dependant comboboxes question (unique value population, dynamic range etc.)
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2008, 08:39 PM
  4. Dynamic population of data validation field range
    By camt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2007, 01:56 PM
  5. Replies: 3
    Last Post: 08-19-2005, 09:05 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