+ Reply to Thread
Results 1 to 11 of 11

Advanced Conditional Formatting

  1. #1
    Banned User!
    Join Date
    08-14-2008
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007 - Expertise Novice
    Posts
    69

    Advanced Conditional Formatting

    Hi All,

    I am perplexed with a Conditional Formatting requirement

    I have a tracker and one of the columns need to be updated religiously – and if it doesn’t happen then I want that cell to be highlighted in RED colour (ie if a cell in that column is blank then it would be highlighted in red colour)

    Now if I place a normal conditional formatting then all the blank cells in that column would be highlighted even in the rows which have not yet been filled – this makes the entire exercise effective since instead of say two or three highlighted cell which stands out there is a entire series of cells in the column marked in the same colour ( view example 2)


    Is there a way by which if the Cell in the respective column (lets say Department) is Blank then the cell is highlighted but only if that particular Row is active (i.e. lets say there is some data in row like the Name Column is active with any of any Technician )

    If the Name column is Blank then whether the Department column remains blank or not is immaterial so no highlighting should happen then.


    Name - Date –Time- Issue – Department



    Sample attached (sample has a macro for date)

    Thanks
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    08-14-2008
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007 - Expertise Novice
    Posts
    69
    Cross posted at

    http://www.mrexcel.com/forum/showthr...31#post1682031

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You mean....

    using Formula Is option in CF dialogue...

    =AND($A2<>"",$F2="")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Advanced Conditional Formatting

    Use
    =AND(IF(INDEX(A:A;ROW();1)<>"";1;0);IF(INDEX(F:F;ROW();1)<>"";1;0))
    Now it only turns red if there is no value in column A either
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Advanced Conditional Formatting

    NBVC,

    Much better

  6. #6
    Banned User!
    Join Date
    08-14-2008
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007 - Expertise Novice
    Posts
    69
    Thanks NBVC & rwgrietveld

    rwgrietveld there seems to be a slight error in the formula because excel keeps prompting me here at Second "A" of an error " INDEX(A:A;ROW "

    Please Login or Register  to view this content.
    Ps. At my cross post I have recived an answer which seems to be working

    this is the code that I got and for idiots like me - You have to put this formula inside the Conditional Formatting Forumla box

    Please Login or Register  to view this content.
    Thanks all for the time taken

  7. #7
    Banned User!
    Join Date
    08-14-2008
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007 - Expertise Novice
    Posts
    69
    Hi a Slight problem with this code

    Please Login or Register  to view this content.
    Well in the sample tracker sheet attached

    When the Name is selcted from the drop down menu the Date and Time are auto insterted due to a macro (they are further refrenced to cell D & E to protect B & C which is hidden) The Priority Column is Placed at "N" and the Name Column is at "A"

    So all that I want is the formula to check if there is any data in Column A " Name field" and if there is data there and no data in column "N" Priority then the Priority cell should be highlighted

    The formulas should not take B,C,D&E into consideration since there is always some data there.

    I did try few changes here and there in the formula but nothing worked.

    Can you please check this and if possible advise me how the formula parameter works so that I could understand how the formula worksl.

    In Brief

    Cloumn position

    A----------------------------BCDE--------------------N
    Name-----Auto Date (always has some data)---Priority
    Attached Files Attached Files
    Last edited by dimitrz; 09-12-2008 at 08:14 AM.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    So my previous suggestion didn't work?

    i.e.


    =AND($A2<>"",$N2="")

    Placed in the Conditional Format dialogue for N2.

  9. #9
    Banned User!
    Join Date
    08-14-2008
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007 - Expertise Novice
    Posts
    69
    Forgot to mention why I need the formula to check only the first column for data.

    Since Column B/C/D/E has some data always then the present formula results in an error wherein the Column “N” Priority goes RED through out – just as if using the Conditional Formatting without the formula – so we are back to square one.

    I found this problem when I tested it in the real tracker in terms of column positions which is closer to the latest on attached in Joseph’s Excel forum.

  10. #10
    Banned User!
    Join Date
    08-14-2008
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007 - Expertise Novice
    Posts
    69
    Your last solution Works NBVC

  11. #11
    Banned User!
    Join Date
    08-14-2008
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007 - Expertise Novice
    Posts
    69
    Quote Originally Posted by NBVC View Post
    using Formula Is option in CF dialogue...

    =AND($A2<>"",$F2="")
    Guess I was gulity of thinking bigger formula's work better than Small ones

    And didnt use my head enough to do some minor changes here and there.

+ 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. Excel 2007 : Conditional Formatting drag
    By Scott27 in forum Excel General
    Replies: 3
    Last Post: 04-25-2013, 09:15 AM
  2. problem with Advanced Conditional Formatting
    By Tnesper in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-18-2008, 10:49 AM
  3. Excel 2007 conditional formatting bug
    By jmessina in forum Excel General
    Replies: 0
    Last Post: 04-28-2008, 09:09 AM
  4. Conditional Formatting, Advanced Filter
    By kathdunk in forum Excel General
    Replies: 1
    Last Post: 04-22-2008, 04:32 AM
  5. Advanced Conditional formatting
    By liirge in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-06-2008, 07:11 PM

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