+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting every other date in a range

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    408

    Conditional Formatting every other date in a range

    Hello,

    I found this conditional formatting formula to highlight every other date range in rows on my worksheet.

    =ISEVEN(SUM(1/COUNTIF($A$2:$A2,$A$2:$A2)))

    =$A$2:$K$10000

    But with close to 10,000 rows, the formula slows down the worksheet too much.

    Is there another way to accomplish without the worksheet slowing?

    I appreciate any help.

    Thank you,
    Nick

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Conditional Formatting every other date in a range

    Maybe you could put that formula in a column to the right of K (e.g. in M2, copied down), and then your CF formula only needs to refer to $M2:

    =$M2

    (which is either TRUE or FALSE), still applicable to the range $A$2:$K$10000.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    NZ
    MS-Off Ver
    Excel 365
    Posts
    4

    Re: Conditional Formatting every other date in a range

    How does the formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    perform with 10,000 rows (you may wish to add a "NOT( .. )" to it to get the right true/false value returned)?
    Last edited by Ludwig-WN; 05-09-2024 at 07:23 PM.

  4. #4
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    408

    Re: Conditional Formatting every other date in a range

    Great idea Pete, that worked.

    Ludwig, the formula you posted is for every other row, thanks for the input though.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: Conditional Formatting every other date in a range

    Glad to have helped - thanks for the rep.

    Pete

+ 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. [SOLVED] Conditional formatting if date is not within range
    By mq1973 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-30-2022, 02:13 PM
  2. Conditional Formatting Based on Date Range
    By SeaLawyer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2022, 09:50 AM
  3. Conditional Formatting - Date Range
    By Brettk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-05-2020, 06:49 PM
  4. Conditional Formatting by Date Range
    By amba.tadaa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2019, 06:53 AM
  5. [SOLVED] Conditional formatting to highlight range of date
    By mikehk in forum Excel General
    Replies: 9
    Last Post: 05-22-2019, 11:25 PM
  6. [SOLVED] Conditional Formatting with a date range
    By jason.hampton in forum Excel General
    Replies: 3
    Last Post: 01-20-2016, 12:03 PM
  7. Conditional formatting date range
    By rosetynt in forum Excel General
    Replies: 10
    Last Post: 01-28-2013, 06:15 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