+ Reply to Thread
Results 1 to 11 of 11

Conditional fomating based on date

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Conditional fomating based on date

    Hi,

    I need this report to be coloured based on the critera given in sample file.

    Note:The cells which are hightlighted in color for each dates in the file are manual, the same needs to be worked in conditional formating based on the date updated in the cell A9.

    Requirement is given in the sameple sheet itslef. Pls help.
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Conditional fomating based on date

    I'm unable to understand what your actually want to do ??
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Conditional fomating based on date

    Formulas for CF from 8th row onward.
    =D$4<=$A$9
    =D$4=$A$9+1
    =D$4=$A$9+2
    =OR(D$4=$A$9+3,D$4=$A$9+4,D$4=$A$9+7)
    =AND(D$4>=$A$9+4,D$4<=$A$9+6)
    =AND(D$4>=$A$9+8,D$5<>"S")
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Conditional fomating based on date

    Thanks a lot for sharing the formula...its working well except the below.

    1.In ops column it should exclude weekends. Here I need 2 days to be highlighted which is already done by you, but for eg. If 17th is Friday then it should highlight only 17th and 20th (next working day) or if 17th is Saturday then it should highlight color for 20th and 21st.
    2.In Result column should highlight highlighted of the 2nd ops day +1 till month end and it should not highlight weekends.
    3.in Interview column 3rd highlighted day should be next day of the 2nd ops day (this was not given in my earlier requirement)sorry..for that..

    Can this be done? pls help.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Conditional fomating based on date

    Is Shifting of days in case of Weekends is required for all like OPS

  6. #6
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Conditional fomating based on date

    no...its required only for OPS and Result.

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Conditional fomating based on date

    Modifed formulas.Note that n Date Row Numbers are changed to dates and formatted to show only day.
    For OPS
    Please Login or Register  to view this content.
    For Result
    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Conditional fomating based on date

    Hello, thanks a lot for ur help now its almost 90% done. still have few concern as mentioned below.
    1.Iinteveiw & ops date shoul not overlap here its on 17th its overlaping.OPS should start after the 2nd day of interview and after second day of the OPS again one more day has to come for interview. After 1 day interview is completed next day onwards result should start. (but for OPS and Result, Weekend to be excluded how you have done in the formula this needs to be intact.

  9. #9
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Conditional fomating based on date

    See file

    For intervew 2 formulas

    =D$4=WORKDAY($A$9+4,2)+1
    =OR(D$4=$A$9+3,D$4=$A$9+4)

    For Result

    =AND(D$4>=WORKDAY($A$9+4,2)+2,WEEKDAY(D$4,2)<6)
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Conditional fomating based on date

    Thank you so much for ur help.

  11. #11
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Conditional fomating based on date

    Hello Murthy sir,
    I need one last help...in interview total 3 days are highlighting that is 2 days n 1 is after completing 2nd day of Ops..nw I need total 4 days I.e 3 days n last day is similiar to after completing 2nd day of ops..

+ 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. Replies: 3
    Last Post: 11-23-2013, 06:21 AM
  2. conditional sum based on date in two columns
    By laxmikanth.ponna in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-15-2013, 09:45 AM
  3. Replies: 1
    Last Post: 09-30-2012, 03:01 PM
  4. Conditional Formating of cells based on today's date, and another date
    By dviolante10 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-24-2012, 02:32 PM
  5. Conditional Formatting Based on Date
    By krie2509 in forum Excel General
    Replies: 3
    Last Post: 02-23-2010, 11:09 AM
  6. fomating for hours
    By r1cksm0k in forum Excel General
    Replies: 3
    Last Post: 03-25-2008, 05:40 PM
  7. Conditional Formatting Based on Date
    By John F.M. in forum Excel General
    Replies: 1
    Last Post: 06-02-2005, 04:05 PM
  8. Copying fomating with formulas, Excel '03
    By minion287 in forum Excel General
    Replies: 0
    Last Post: 01-09-2005, 11:09 PM

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