excelbytes
Active Member
- Joined
- Dec 11, 2014
- Messages
- 251
- Office Version
- 365
- Platform
- Windows
I have a challenge here that I can't figure out the best approach. I have range from A2;A1001. In it dates are added at various times. sometimes multiple times a day, sometimes days are skipped. Ultimately, I need a formula that will count the number of times in that range a unique Monday, Tuedsay, etc. appears. Example, If the date range includes:
8/3/20
8/3/20
8/4/20
8/5/20
8/5/20
8/10/20
8/10/20
8/10/20
The result would be 2 - 8/3 & 8/10.
Alternately, in lieu of a formula, I have VBA code that will create a list of unique dates from that overall list, then format them as Mon, Tue, Wed, etc. However, how do I count the number of times Mon or Tue or Wed appear in this list since the underlying data is really a date, and I'm trying to compare that to the text of Mon, Tue, Wed, etc.?
8/3/20
8/3/20
8/4/20
8/5/20
8/5/20
8/10/20
8/10/20
8/10/20
The result would be 2 - 8/3 & 8/10.
Alternately, in lieu of a formula, I have VBA code that will create a list of unique dates from that overall list, then format them as Mon, Tue, Wed, etc. However, how do I count the number of times Mon or Tue or Wed appear in this list since the underlying data is really a date, and I'm trying to compare that to the text of Mon, Tue, Wed, etc.?