+ Reply to Thread
Results 1 to 4 of 4

Highlight line if Homework dates in multiple columns are greater than Final date

  1. #1
    Registered User
    Join Date
    06-15-2015
    Location
    Raleigh, North Carolina
    MS-Off Ver
    2013
    Posts
    5

    Highlight line if Homework dates in multiple columns are greater than Final date

    The scenario is that I am teaching an online class that requires 4 homework submissions per semester with a final exam. I need help to easily find if a student turned in a piece of homework after their final exam.

    In the attachment you will see that student 2's final exam was on 09/25/2014 and they turned in a piece of homework on 10/16/2014. I have highlighted this in the attachment, but I was wondering if there was a code to easily highlight or create a chart to pull out only the outstanding dates for every student all at once?

    I used the example on the site below to create a chart that uses an INDEX MATCH formula:
    http://thinketg.com/how-to-return-mu...ch-or-vlookup/

    The formula works well, but the problem is that you have to manually change the student number each time. This is fine with a few students, but it takes a lot of manual effort when there are hundreds of students.

    I am thinking there is a solution using a combination of VLOOKUP, COUNTIF, INDEX, MATCH, but I need guidance.

    Please let me know if you are able to help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Highlight line if Homework dates in multiple columns are greater than Final date

    This macro will do what is requested. There are enhancements that can be done to it like automate it when a date is inserted.

    Please Login or Register  to view this content.

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Highlight line if Homework dates in multiple columns are greater than Final date

    I suggest that you use a column for the date of the Final Exam and fill the column with this formula. Using your example the column for the Final Exam would be column G
    Enter this formula in column G and fill down. This will enter the date of the final exam for each student as indicated in the chart
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then use Conditional Formatting.
    Select the data in columns F and G from F2 to the end and enter Conditional Formatting, New Rule, Use Formula... and enter this simple formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Choose the formatting that you want to indicate the late submissions.
    In the Applies To field after you hit OK, make the entry to include column D like this =$D$2:$G$17 and click apply.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Highlight line if Homework dates in multiple columns are greater than Final date

    This version will also work without the G column.
    Select the data D2:F17 and go to Conditional Formatting, New Rule, Use Formula and enter this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Select the formatting of your choice.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to highlight multiple cells giving a sum greater than X
    By Wiesel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-08-2014, 08:10 AM
  2. Replies: 1
    Last Post: 06-14-2014, 02:01 AM
  3. [SOLVED] Formula to highlight cell/data greater than a specific date
    By tdsmith14 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2013, 05:44 AM
  4. Replies: 12
    Last Post: 09-06-2013, 02:09 PM
  5. [SOLVED] Highlight the Cell which is greater than Next Friday's Date
    By vigneshwaran in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-27-2012, 07:04 AM
  6. Replies: 5
    Last Post: 07-03-2012, 01:23 PM
  7. greater control of date/time stamps on line charts in excel
    By FabricProfile in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-11-2005, 10:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1