+ Reply to Thread
Results 1 to 21 of 21

Conditional Formating and Formula Help

Hybrid View

  1. #1
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Conditional Formating and Formula Help

    Try this...

    Based on the sample file...

    Select the *entire* range K4:M9 starting from cell K4.
    Cell K4 will be the active cell. The active cell is the
    one cell in the selected range that is not shaded. The
    formula will be relative to the active cell.

    Conditional Formatting

    Use this formula:

    =AND(MOD(ROW(),2)=0,OR($F4="MT/G7",$F4="NCA",$F4="AHS",$F4="H2",$F4="Shuttle"))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  2. #2
    Registered User
    Join Date
    09-17-2013
    Location
    Edmonton
    MS-Off Ver
    Excel 2007
    Posts
    47

    Re: Conditional Formating and Formula Help

    Awesome! That did it :D thanks a lot

    If your able to... can you explain how that formula worked?

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Conditional Formating and Formula Help

    You want to format every other row and the rows to format are even numbered rows.

    We're testing that the row number is an even number:

    MOD(ROW(),2)=0

    With even numbered rows MOD(ROW(),2) will return 0. The odd numbered rows will return 1.

    So, we test that the row number is an even number AND if cell F4 contains one of the values of interest.

+ 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: 4
    Last Post: 01-23-2014, 10:14 AM
  2. [SOLVED] Conditional formating formula
    By awest181 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-08-2013, 11:34 AM
  3. If Formula and Conditional Formating
    By AznDragon533 in forum Excel General
    Replies: 1
    Last Post: 04-04-2011, 11:50 PM
  4. Conditional formating-What formula do i need to use in conditional formating
    By warrima in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-07-2009, 12:33 AM
  5. Formula for Conditional Formating - Help!
    By Mark Campbell in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-26-2006, 03:00 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