Jump to content

Filling Gaps script or calc

Recommended Posts

I have two tables: People, Programs

Fields in People Table: Name, InterestTimestamp, Program, Enroll Date, Completion Date, Rank
There are (4) programs: A, 1, 2, 3 (where A is a pre-program)

I currently have a script that will rank all people who are not currently enrolled, (based on each Program, quarter and timestamp). Because the programs are all 4 quarters in length, the completion date is calculated based on the program entry date that I select.

all of this works really well...but:
What I need is for this to be done dynamically. In Program 1 I have 20 enrolled. However, the each may be completing different quarters. Instead of me picking an enrollment date manually for those waiting, I am hoping that the enrollment date would be set automatically based on spots available from completions. 

For example, (3) people are expected to complete Program 1 in Fall 2017, which will open (3) spots in Program 1 for Winter 18. Currently, I would manually look at the rank list and assign the top 3 ranked people for Winter of 2018. However, I want to find a way that the enrollment date is automatically generated based on rank and open positions…

I hope that this makes sense..

Share this post

Link to post
Share on other sites

I realize I need to reword and make this more clear...

I have filtered portals based on Quarter and Year, along with a summary field to get the portal count of each. If the limit each quarter is 20, how can I script so that a new person is added to the first available spot, in the first available quarter 

Share this post

Link to post
Share on other sites

Have you tried looping through the portal rows? A script can do that very quickly.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Who Viewed the Topic

    1 member has viewed this topic:
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.