Sure that can be done. I'm unclear on your table format though, can you post it? Do you have wk1, wk2, wk3, wk4, wk5 fields which contains the date a person attended? I think you're better off doing this the correct (normalized) way because you'll likely run into other problems later.