Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Check to see if student attended class on certain date

Posted on 2014-03-01
5
Medium Priority
?
284 Views
Last Modified: 2014-03-01
I run a fitness bootcamp and am trying to send out docs that show how many classes a member has attended.  I have an Excel spreadsheet with two sheets:
1. showing the calendar.  Each cell contains that date.
2. a sheet showing student name (col.a) and attendance date (col. b)

I have drop down box that will select a student.  I'd like to then use a conditional formatting to color all dates of attendance by looking for the student's name, then pulling an array of all the attendance dates..then checking for the date.

Can someone help me with that formula, please?
0
Comment
Question by:BBlu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 81

Accepted Solution

by:
byundt earned 1200 total points
ID: 39898031
I created named ranges
StudentAttendance for the two column list containing student name and attendance date
Students for the names of students
Months for the names of months

I created a calendar in cells B3:H8.

I put data validation dropdowns for student in A2 and month in B1.

I could then use this Conditional Formatting formula in B3:H8:
=COUNTIFS(INDEX(StudentAttendance,,1),$A$2,INDEX(StudentAttendance,,2),B3)

I've attached a sample file so you can see how it works. The calendar part isn't working to my satisfaction, however.
StudentAttendanceQ28377974.xlsx
0
 

Author Comment

by:BBlu
ID: 39898040
Thanks, byundt.  I remember you.  I've been off for a while.  I left the corporate world to pursue my passion in fitness..  But still have a little Finance nerd in me, I must admit. LOL.  

Let me give that a try.
0
 
LVL 81

Assisted Solution

by:byundt
byundt earned 1200 total points
ID: 39898043
I've got the calendar to work correctly now.
StudentAttendanceQ28377974x.xlsx
0
 
LVL 81

Expert Comment

by:byundt
ID: 39898044
If you are using Excel 2003, you'll need the Analysis ToolPak for the EOMONTH function used in the calendar. Excel 2007 and later include it automatically.

The COUNTIFS function used in the conditional formatting criteria requires Excel 2007 or later. I can write a SUMPRODUCT equivalent if required for Excel 2003.
0
 

Author Closing Comment

by:BBlu
ID: 39898226
Thanks, byundt.  You saved the day!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question