+ Reply to Thread
Results 1 to 9 of 9

Commission Sheet - Autopopulate based on Date from Data Sheet

  1. #1
    Registered User
    Join Date
    08-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Commission Sheet - Autopopulate based on Date from Data Sheet

    Hi All,

    I've done a pretty deep search and feel like I'm so close to a solution and that I could have been there by now if only I knew more coding. There are SO many "autopopulate" threads but none were quite right. There was one that I was eyeballing where it populated based on whether the item was a Fruit or Vegetable. I thought i could change the "Fruit/Vegetable" drop down, with the current date and pull based on Date(Year(today()),Month(Today()),1) then insert a 'greater than/less than' criteria in the formula with the arrays available, but alas...I didn't know my head from my...feet.

    So, while I'm learning some of the coding and array formulas (that are now new to me, thanks for the lesson!), I'm going to post this is hopes that if I fail I have some direction and a safety net.

    Goal:
    Press a button on Data Sheet (Sheet 1) to Auto-populate a Commission Sheet (Sheet 2) with a list of people that I've had an appointment with in the month.

    Data available:
    Sheet 1 -
    is an ENTIRE list/history that has the people names(A1), if the appointment was set(A2), DATE the appointment was set for which could range from 'Jan 2013' to 'Jan 2015' (A3), DATE the appointment was held which could be the same as the previous date, but not always (A4), who it was set for(A5)

    Sheet 2 -
    Commission Page - blank page that should populate the ENTIRE list of PEOPLE that were met with in the CURRENT MONTH (using the date).

    will post example sheet soon.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    Please consider updating your profile, "Not Telling" is a poor indicator of which part of the world you're in, and regional issues do affect answers. Simple country or city is fine, of course.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    Done! Didn't realize it was left that way.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    This doesn't sound that complex, but to recommend a base macro I'd need to see your actual workbook layout and a mockup of "results" from some sample fake data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    08-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    Here's the sample workbook

    ExcelHelp Example.xlsx

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    No sample results in your workbook.

    No control cells on Sheet2 to indicate the range of cells to retrieve, some mechanism to determine the results. It can't be CURRENT MONTH as noted in your question as there is no sample data from this month.

  7. #7
    Registered User
    Join Date
    08-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    If I understand you correctly, I wasn't very clear still. I've added some comments and an example populated list.

    ExcelHelp Example.xlsx
    Any better?

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    One way....
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-30-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Commission Sheet - Autopopulate based on Date from Data Sheet

    That'll work! I knew an array was what I needed, I just didn't know how to use it. I was exposed to it only a couple of days ago from the "Fruit/Vegetable" thing.

    Updating thread to [SOLVED]

    Thank you JBeaucaire!

+ 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] VBA to Auto Populate the “AutoPopulate” sheet as data is being entered in EnterData sheet
    By bjnockle in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-13-2014, 09:10 AM
  2. Replies: 6
    Last Post: 11-30-2013, 08:09 AM
  3. [SOLVED] Macro to copy date to specific sheet based on data from another sheet.
    By RichTea88 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-09-2013, 11:28 AM
  4. Show data based on selected parameters
    By pphg in forum Excel General
    Replies: 4
    Last Post: 02-11-2013, 12:22 PM
  5. Replies: 5
    Last Post: 01-06-2011, 09:29 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