Okay, what you're trying to do will wind up with 260000 records in a year. My suggestioni would be to do this in MS-Access or use Power Query to manage the data and tables.
You can use the attached work book to put this into power query. I am not an expert on that but there is a forum on Mr. Excel called "Power Tools" that you can ask for assistance with.
If you want to stick with the workbook, what I have attached below is something that you can start with. There are MANY conditions that you must abide by so you don't mess it up.
1. Always Save a copy of what I have created as your restore template. Copy this to start and make changes in the copy.
2. With 260000 records calculating will take some time. You must be patient. To speed up things when you are inputting information you should turn calculation off and then restart it after you have finished adding new records. Or leave it off always and press F9 to calculate when you want.
3. This is generic and assumes that you have the SAME students in the ALL classes. I'm not sure how this will mess up your counting.
4. You can speed efficiency by reducing the number of months in the data entry sheet and using multiple workbooks.
5. Take 1 or 2 hours each semester / year and prepopulate all the base fields in your data entry sheet. There are formulas that will calculate and place the date, lecture, and student in the first three columns of the data entry sheet. The ONLY column you need to change is the "A or P" column.
6. To easily update each days classes you can use AUTO FILTER to filter for class and date so you only see the students in that class
7. On the Lookups worksheet you should enter your classes and all of you students. You will need to "refresh" the defined range names for this sheet when you make updates.
8. What to do:
a. DO NOT change the formulas in any area that is purplish pink until you are absolutely ready (but the summary and monthly sheets should never be altered).
b. Green cells have drop downs or cells that you can change values.
c. The data entry sheets is fixed for exactly 100 students and 7 classes. If you have a total of more than 100 student names or more than 7 lectures then you really need to update the underlying prefill calculations in the 'data entry sheet'. If it is less than 100 or you have students only in some of your classes put all the students in the Students Lists on the look up worksheet. After that is done and you are certain you have all classes and students in the Lookup table you can use convert the data on the 'data entry' worksheet to values. Then use AUTO FILTER to select all of your classes one by one and filter on students to delete for classes they are not in.
Select the 4 columns and "refresh" the named ranges.
this is a workbook with a new name.
1drv.ms
Finally, please do not reply to me or write any post in the forum in ALL CAPS like you did earlier. It is similar to SCREAMING. The people in this forum are here because they like to help people and are unpaid for their efforts. Please keep this in mind.
If you have some questions about the workbook or formulas, just reply. If you have many questions about this, then I suggest watching some You Tube videos on any of the following You Tube channels:
Mr. Excel
ExcelIsFun
Leila Gharani
My Online Training Hub (Minda Treacy)
- Best Wishes.