+ Reply to Thread
Results 1 to 6 of 6

Conditional formating but not when blank/null

  1. #1
    Registered User
    Join Date
    10-05-2014
    Location
    mattawa, canada
    MS-Off Ver
    2013
    Posts
    10

    Conditional formating but not when blank/null

    Hi All,
    im having a problem and would love for a little help. my situation is i would like Excel to fill the row with color if a duplicate entry but do nothing for a blank row until data has been entered.

    I have an all data column ( =CONCATENATE([@[ Expiration Date]],[@NAME],[@COURSE],[@[TAKEN AT]]) )

    then a ( =COUNTIF($G:$G,$G13)>1 applying to =$C$13:$F$707 )


    but i dont want it to do anything for an empty cell.

    thanks in advance
    Last edited by TMC1982; 11-17-2014 at 09:55 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Conditional formating but not when blank/null

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-05-2014
    Location
    mattawa, canada
    MS-Off Ver
    2013
    Posts
    10

    Re: Conditional formating but not when blank/null

    Thank you fine sir. This really helped, i had to change it to ( =AND(C13<>"",COUNTIF($G:$G,$G13)>1) ) to make it work for me. very thankful

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Conditional formating but not when blank/null

    You're welcome. Thanks for the rep.

    Surprised you needed to change it as the second part should evaluate as TRUE or FALSE. But not to worry if you have a working solution.

    Regards, TMS



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  5. #5
    Registered User
    Join Date
    10-05-2014
    Location
    mattawa, canada
    MS-Off Ver
    2013
    Posts
    10

    Re: Conditional formating but not when blank/null

    Will do.

    if you have time and don't mind please explain ( =AND(C13<>"" ) for future reference

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,366

    Re: Conditional formating but not when blank/null

    It just checks the value in cell C13 is not blank. Because the cell address is relative, it will auto adjust for every cell in the range C13:F707. But it will only ever refer to cell C13, the top left cell in the range selected.

    Misunderstood the requirement to highlight duplicates, hence the need for ">1".

    Regards, TMS

+ 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. Find empty/null/blank cell in a conditional format
    By Dabooj in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2008, 10:50 AM
  3. [SOLVED] conditional formating for blank.
    By chiuinggum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-03-2006, 03:45 AM
  4. If is blank= conditional formating
    By Markitos in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-04-2005, 08:06 PM
  5. [SOLVED] conditional formating for a blank cell
    By wsoung in forum Excel General
    Replies: 5
    Last Post: 03-09-2005, 07:06 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