+ Reply to Thread
Results 1 to 5 of 5

conditional formatting based on an entire row

  1. #1
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    conditional formatting based on an entire row

    Back again since i got good help yesterday...

    what im looking to do now is color fill a cell based on the value of an entire row.

    What i have is a sheet that shows our current orders. The first column has the order number, which covers two rows. From there, the first row for that order is "Quantity Ordered" and the second row is "Quantity Received". From there, it is about 200 columns long.

    What i am looking to do, is have three variables to determine the color of the cell with the order number in it.

    1. One color to show the order has not come in yet (basically the received line is empty and does not match the ordered line).
    2. One color to show the order is partial (this would be SOME values in the received line match values on the ordered line).
    3. One color to show received (this would be when all the values of the received line, match all the values on the ordered line).

    thanks again!

    P.S. using excel 2007
    Last edited by vaeevictiss; 10-31-2013 at 02:21 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: conditional formatting based on an entire row

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting based on an entire row

    I have attached a sample of the sheet (ignore the quote line)

    the first one shows how the order block is purple, when the order has not come in yet. Notice there is no data on the Received line.

    the second one shows a partial order, and the block changes to yellow. Notice the numbers in the Received line do not match the ordered line, showing a partial.

    the third shows a completely received order. Notice the Received line fully matches the Ordered line.


    I have tried a couple different things in the conditional formatting, but none of them worked so i just deleted them.

    thanks again!
    Attached Files Attached Files

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: conditional formatting based on an entire row

    well maybe
    condition 1
    =COUNT(E4:X4)=0
    condition 2
    =SUM(E3:X3)<>SUM(E4:X4)
    condition 3
    =SUM(E3:X3)=SUM(E4:X4)

  5. #5
    Registered User
    Join Date
    10-28-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: conditional formatting based on an entire row

    Thanks! Perfect!

+ 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: 2
    Last Post: 10-16-2012, 04:20 PM
  2. Conditional Formatting entire rows based on data
    By wilsonmedic in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2012, 10:46 AM
  3. [SOLVED] Using conditional formatting to highlight an entire row based on one cell
    By eizanendoso in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-31-2012, 09:59 AM
  4. Conditional formatting an entire row based on colum A cells.
    By sararayne in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 09-09-2008, 05:51 PM
  5. [SOLVED] HOW CAN I APPLY CONDITIONAL FORMATTING BASED TO AN ENTIRE ROW?
    By James M in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-19-2005, 11:45 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