+ Reply to Thread
Results 1 to 2 of 2

Automated schedules

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    Buck Creek, Indiana
    MS-Off Ver
    Excel 2003
    Posts
    8

    Automated schedules

    I am somewhat of a new user to excel. I just don't use it that much. The more I start to fiddle with it, the more I see of what great use it can be for me. I work for a seed and fertility company. We soil sample fields each year and then take the data and make recommendations on those results. I am wondering how (or if it is possible) for me to make more of an automated schedule or something close to it. The way I did it this time was I looked on the internet for a free template and then erased the text and filled in my own. It worked but took a long time to do and is hard to keep track of what customers fields are due this year. The way our program works is like this. We have a 4 year rotation of soil samples. Meaning, a customers field is sampled every 4 years. So this year X amount of fields are due with X amount of farmers. Next year will be X amount of fields with X amount of farmers. We are sampling every year but they are different fields each year.. Might be the same farmers but different fields until we reach the 4 year mark. I am wanting to know if their is a way to set up a table or something where I would be able to input all of my growers in with their farms and field names. Then I would like to be able to select a year or tell excel I want all the growers farms and fields that need to be sample for X crop year.. ie.. 2010 or 2011. It would bring up all the information I would need know. I would ask if it would just input all the information into cells in a nice template similar to the one I made but I think that is asking to much right now. My main objective is to learn how to automate the process a little better instead of rummaging through paperwork year after year to see who is due for soil sampling this year. Anybody catch what I am trying to do?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help on making automated schedules?

    See attached to see if I have given a viable suggestion....

    In Sheet1, is the database of Farmers, fields set up in rows... and the years of seeding in column headers...

    I put an "x" to represent that seeding was done that year for the particular field.

    Then I added 2 columns C and D to get vital information.

    Column C finds the last year the field was seeded. Formula: =LOOKUP(2,1/($E2:$Y2="x"),$E$1:$Y$1) copied down

    Column D finds the count of fields that are due in the input year...(on Sheet2). Formula: =COUNTIF(C$2:C2,Sheet2!$A$1-4) copied down.

    Now in Sheet 2, you input the year in A1, in B1 you get a count of all fields due that year... Formula: =MAX(Sheet1!$D$2:$D$7)

    Then formula in A3 will extract the due farmers/fields.

    =IF(ROWS($A$1:$A1)>$B$1,"",INDEX(Sheet1!A$2:A$7,MATCH(ROWS($A$1:$A1),Sheet1!$D$2:$D$7,0))) copied down and across as far as needed.

    Note: You will need to adjust all ranges in formulas to suit your database,

    You can add more detail in Sheet 1 to be pulled into Sheet2, just drag formula over more to get more data from between current column B and C in Sheet1.

    Hope it helps.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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