Closed Thread
Results 1 to 4 of 4

how do I use conditional formatting for alternating cell shading?

  1. #1
    Exceluser
    Guest

    how do I use conditional formatting for alternating cell shading?

    I need to alternate cell shading based on the row number(even, odd). I need
    to know how to do this using the MOD with the Row function as argument. I am
    using Excel in Office XP version 2002.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    09-19-2004
    Location
    Canada
    Posts
    408
    Hi Exceluser,

    See http://www.andrewsexceltips.com/menu...r_set_rows.htm

    Gos-C
    Using Excel 2010 & Windows 10
    "It is better to be prepared for an opportunity and not have one than to have an opportunity and not be prepared."

  3. #3
    Ron Coderre
    Guest

    RE: how do I use conditional formatting for alternating cell shading?

    Here you go:

    http://cpearson.com/excel/banding.htm

    Does that help?

    ***********
    Regards,
    Ron

    XL2002, WinXP-Pro


    "Exceluser" wrote:

    > I need to alternate cell shading based on the row number(even, odd). I need
    > to know how to do this using the MOD with the Row function as argument. I am
    > using Excel in Office XP version 2002.
    >
    > Thanks


  4. #4
    Biff
    Guest

    Re: how do I use conditional formatting for alternating cell shading?

    Hi!

    If you want to shade the odd rows:

    =MOD(ROW(),2)=1

    If you want to shade the even rows:

    =MOD(ROW(),2)=0

    Biff

    "Exceluser" <[email protected]> wrote in message
    news:[email protected]...
    >I need to alternate cell shading based on the row number(even, odd). I
    >need
    > to know how to do this using the MOD with the Row function as argument. I
    > am
    > using Excel in Office XP version 2002.
    >
    > Thanks




Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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