+ Reply to Thread
Results 1 to 10 of 10

Using conditional formatting when reference cells contain an array formula in a calandar

  1. #1
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Using conditional formatting when reference cells contain an array formula in a calandar

    Trying to format the 1st and 3rd Tuesday of each month in a different color - also some individual days
    The calendar has an array formula in each cell which is custom formatted to 'd'
    Test results shown of my attempts to use cell 'o7' as a reference.
    Any help greatly appreciated
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    Please try CF formula applies to O6:U11

    =O6=WORKDAY.INTL($O$4-1,1,"1011111") > for 1st Tuesday

    =O6=WORKDAY.INTL($O$4-1,3,"1011111") > for 3rd Tuesday
    Attached Files Attached Files

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    The 1st and 3rd Tuesday is easy, implemented as CF in your file.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I can't sort out what you mean by this
    and also some individual days such as 1/7/2019
    which sounds kind of random.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    Hi Jeff
    The 1st part of my question was to conditionally format every 1st and 3rd Tuesday which Bo's formula achieved - I have not tested your answer yet.
    I also would like to conditionally format some individual days in the calendar such as 01/07/2019 - there will be others.
    They are individual days that a particular event will occur and will include a start date and end date for the event.

    Michael

  5. #5
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    Hi Jeff
    Have now looked at your formula - and it works well too for the 1st and 3rd Tuesday!
    Now just need the second part explained in previous post.

    Michael

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    Quote Originally Posted by mpost54 View Post
    I also would like to conditionally format some individual days in the calendar such as 01/07/2019 - there will be others.
    Your example file did not show how you will specify what those days are.

  7. #7
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    Hi Jeff
    What I mean by individual days is, on the 1/7/2019 a 'member fee renewal' would become due and the last day for 'payment' would be 31/08/2019.
    Therefore I would like to recolor these two dates on the calendar from grey to say red.
    Just the two individual dates and not the range between the two dates.
    So with calendar set to July recolor cell 'o7' and then with the calendar set to 'August' recolor cell 's11'
    Thanks for your patience on this one.

    Michael

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    J11 = 1/7/2019

    Please try CF formula applies to O6:U11

    =O6=$J$11 fill grey

    =O6=EOMONTH($J$11,1) fill red
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    10-20-2014
    Location
    Brisbane, Australia
    MS-Off Ver
    2010
    Posts
    38

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    Just got to your reply Bo and this will do the trick.
    Great solution once again.
    In my opinion you are one of the most valuable contributors to this forum.
    I will now mark this as solved.

  10. #10
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Using conditional formatting when reference cells contain an array formula in a caland

    Thank you for your kind comment

+ 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: 1
    Last Post: 10-04-2016, 05:17 AM
  2. [SOLVED] Conditional Formatting with reference to Sum of Other Cells
    By Ujjwal048 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2016, 12:12 PM
  3. Trying to Reference Cells One to One in Conditional Formatting
    By cdfeatherstone7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-24-2014, 09:05 AM
  4. Conditional Formatting Cells to reference Date Ranges
    By Vic4306623 in forum Excel General
    Replies: 1
    Last Post: 12-03-2011, 07:13 AM
  5. Conditional formatting with array formula?
    By tone640 in forum Excel General
    Replies: 9
    Last Post: 08-19-2011, 08:00 AM
  6. Replies: 5
    Last Post: 08-18-2011, 05:03 AM
  7. Replies: 2
    Last Post: 11-13-2007, 11:58 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