+ Reply to Thread
Results 1 to 3 of 3

Formatting alternating blocks of rows

  1. #1
    Registered User
    Join Date
    06-22-2014
    Location
    canada
    MS-Off Ver
    2010
    Posts
    12

    Formatting alternating blocks of rows

    hoping i can trouble someone for some assistance. i need to create a formula to shade alternating pairs of rows . ie rows 1-2 no color, 3-4 shaded, 5-6 no color , .... i've used conditional formatting for single alternating rows but havent been able to figure out a solution for pairs. thanks in advance for your time and help !
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Formatting alternating blocks of rows

    you can try CF with =MOD(ROW()-E$3,E$2*2)+1<=E$2 (this is just for column E so change references accordingly)
    Attached Files Attached Files
    Last edited by sandy666; 05-12-2018 at 02:49 AM.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Formatting alternating blocks of rows

    Based on Sandy's reply use:

    =MOD(ROW()-2,4)+1<=2

    as CF rule
    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. Conditional formatting to shade blocks of rows
    By MRSH in forum Excel General
    Replies: 2
    Last Post: 07-23-2015, 07:16 AM
  2. formatting rows with alternating colors
    By seemore in forum Excel General
    Replies: 2
    Last Post: 10-17-2014, 03:20 PM
  3. Alternating Condtional Formatting
    By pdevito3 in forum Excel General
    Replies: 7
    Last Post: 10-29-2013, 11:18 AM
  4. [SOLVED] Colour conditional formatting alternating blocks of rows
    By Deanomcbeano in forum Excel General
    Replies: 7
    Last Post: 10-03-2012, 01:48 PM
  5. Sort rows and color alternating rows using VB
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-12-2010, 10:10 AM
  6. Conditional formatting similar to shading alternating rows
    By Conan Kelly in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-22-2006, 06:20 PM
  7. how do I use conditional formatting for alternating cell shading?
    By Exceluser in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-12-2006, 12:30 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