OK, the Day1 field is text, a three letter abbreviation for the days in a week. Sun, Mon, Tue, Wed, Thu, Fri, Sat. Seven days. My original query where I used the code in Post #1 worked fine in Access 2010 but didn't work in Access 2019. The query from Isaac in Post #8 works in Access 2019...