+ Reply to Thread
Results 1 to 2 of 2

Conditional formatting for rows

  1. #1
    Registered User
    Join Date
    08-06-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    5

    Conditional formatting for rows

    Is there a conditional formatting function that will format an entire row (or first 30 columns) based on the text or number in a cell?

    I get a 100-500 row report every day and I currently use conditional formatting in a macro to highlight individual cells, but it would better if each of the rows were formatted with a yellow fill.

    Any ideas?

    Example:
    A1 ID
    B1 RECEIPT_NO
    C1 FIRST_NAME
    D1 LAST_NAME
    E1 SPOUSE_FIRST_NAME
    F1 SPOUSE_LAST_NAME
    G1 DATE_CREDITED
    H1 CREDIT_AMOUNT HIGHLIGHT IF OVER $1000
    I1 FIRST_ENTRY HIGHLIGHT IF BEFORE 2001
    J1 PRIMARY_STAFF HIGHLIGHT ROW IF SMITH, JONES, TAYLOR
    K1 SECONDARY_STAFF
    L1 DIVISION HIGHLIGHT ROW IF CATERING, HOSPITALITY, TAXI
    M1 UNIT
    Last edited by sfadam; 08-06-2013 at 10:24 PM. Reason: make examples clearer to read

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: Conditional formatting for rows

    Hi and welcome to the forum

    I am a little unsure as to exactly what you want to highlight here?

    to Conditional format an entire row (or entire column) would not be wise because CF becomes very resource-heavy after a while.

    To use CF on a range of cells...
    1. highlight the range you want to apply the conditional formatting to (say A2:Z200)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter =OR(L1=CATERING,L1=HOSPITALITY,L1=TAXI)

    If this doesnt work for you, I would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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 in Rows
    By martinpaiva in forum Excel General
    Replies: 5
    Last Post: 06-19-2013, 12:30 PM
  2. Conditional Formatting Across Rows
    By Maxymous in forum Excel General
    Replies: 7
    Last Post: 10-23-2012, 08:11 AM
  3. Conditional Formatting Across Rows
    By MattG in forum Excel General
    Replies: 1
    Last Post: 02-08-2010, 12:46 PM
  4. Conditional Formatting of Rows
    By aposatsk in forum Excel General
    Replies: 1
    Last Post: 08-01-2006, 11:05 AM
  5. [SOLVED] Conditional Formatting for rows...
    By dramajuana in forum Excel General
    Replies: 1
    Last Post: 06-12-2006, 02:45 PM

Tags for this Thread

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