+ Reply to Thread
Results 1 to 7 of 7

Conditional Formatting - Based on Time

  1. #1
    Registered User
    Join Date
    01-09-2012
    Location
    India
    MS-Off Ver
    Excel 2000
    Posts
    12

    Conditional Formatting - Based on Time

    Hi,

    I would like to conditional format a cell based on time:

    Ex. Shift starts at 08:30 AM, if person swipes in beyond that 08:30 AM that cell should get highlighted, other than 8.30 or below that time should be normal..

    Please let me know how to do conditional formatting this in Excel 2010.

    Thanks.

  2. #2
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Conditional Formatting - Based on Time

    Try conditional formatting formula..
    I am supposing your working range is A1:A10
    so the formula would be:-
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Untested yet..
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  3. #3
    Registered User
    Join Date
    01-09-2012
    Location
    India
    MS-Off Ver
    Excel 2000
    Posts
    12

    Re: Conditional Formatting - Based on Time

    Hi Vikas,

    Thanks for your reply, but this formula is even highlighting cells which are before 8:30 hrs.

    I have attached spreadsheet for better understanding. Please help me with this.

    Thanks once again!!!
    Attached Files Attached Files

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Conditional Formatting - Based on Time

    Try this then..
    =and(C3>time(08,30,0),C3<>"")
    as conditional formatting formula.. After selecting the time range... :D

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Conditional Formatting - Based on Time

    Quote Originally Posted by haroon284 View Post
    Hi Vikas,

    Thanks for your reply, but this formula is even highlighting cells which are before 8:30 hrs.

    I have attached spreadsheet for better understanding. Please help me with this.

    Thanks once again!!!
    Vika's formula (1st one) worked fine at my end (Excel 2013).

    Could you attach an updated version of your file which includes the conditional formatting that you are using (applied)?

    FR
    Last edited by FlameRetired; 09-05-2014 at 03:07 PM.

  6. #6
    Registered User
    Join Date
    01-09-2012
    Location
    India
    MS-Off Ver
    Excel 2000
    Posts
    12

    Re: Conditional Formatting - Based on Time

    Hi Vikas, your formula is working out, Thanks.

    Can you please help me out in applying this formula in cells from C3 to AI4.

  7. #7
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Conditional Formatting - Based on Time

    Just select the range C3 to AI4...
    and Apply the Conditional formatting formula..
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Click ok...

+ 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. Conditional formatting / VBA, based on selected time range
    By russkris in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-01-2013, 07:45 PM
  2. Replies: 5
    Last Post: 11-27-2013, 06:04 PM
  3. [Solved] Conditional Formatting based on date and time
    By HackerJL in forum Excel General
    Replies: 5
    Last Post: 06-08-2011, 06:58 PM
  4. Conditional Formatting Based on Time Window
    By sdoremus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2008, 04:48 PM
  5. Conditional formatting based on time
    By sharkey in forum Excel General
    Replies: 2
    Last Post: 12-24-2007, 02:13 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