+ Reply to Thread
Results 1 to 12 of 12

Conditional Formatting Help

  1. #1
    Registered User
    Join Date
    07-29-2015
    Location
    Inglis, MB
    MS-Off Ver
    2013
    Posts
    11

    Conditional Formatting Help

    Hi there,

    I need some help doing conditional formatting. We are developing a spreadsheet for clients to fill out and need spreadsheet to create red cells when a certain cell contains a value.

    I've attached and example of the spreadsheet.

    If someone says 1 day or 2 day in column C we need G5 to J5 to be highlighted in red if it's blank. When a value is entered in, the colour is cleared. Can anyone help? I thought I had the formula, but I would have to create it individually for each cell and it wasn't quite working.

    Thanks heaps! Hannah
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Conditional Formatting Help

    can column C have 1 day or 2 day anywhere in the column

    so if i have cell C40 only with 1 Day
    then ALL the cells G5 to J5 turn red , if blank
    and then only the cell in G5 J5 will be blank if theres data in the cell ?

    you can use a formula
    =AND(OR(COUNTIF($C:$C,"1 day")>0,COUNTIF($C:$C,"2 day")>0),G5="")

    But can you clarify please

    Is it just to test cell C5 and highlight G5-J5
    then cell C6 would highlight corresponding G6 to J6

    if so then
    =AND(OR(COUNTIF($C5,"1 day")>0,COUNTIF($C5,"2 day")>0),G5="")
    Last edited by etaf; 07-29-2015 at 02:53 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    07-29-2015
    Location
    Inglis, MB
    MS-Off Ver
    2013
    Posts
    11

    Re: Conditional Formatting Help

    hi etaf,
    So for example:
    if "1 day" (or "2day) is entered in C10, then G10-J10 would need to turn red, (if there is no value in those cells).
    If someone put information into those cells, then the red would clear away.

    We are trying to show customers what they need to fill out after entering 1 or 2 day.

    So if they enter 1 or 2 day into cell C10 or D10, then cells G10, H10, I10 and J10 would turn red. As the customer enters the information into those cells, it would go back to no colour, indicating to them that it was completed.


    In the example spreadsheet I've attached, is just what I would expect it to look like when the customer is filling it out. With the red appearing/disappering as they enter the information.


    Does that help?
    Thanks heaps!
    Hannah

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Conditional Formatting Help

    OK, thats sort of what I have done in the example BUT did not include column D

    Change the formula

    =AND(OR(COUNTIF($C5:$D5,"1 day")>0,COUNTIF($C5:$D5,"2 day")>0),G5="")

    The attached is Row 5 to 24

    what about row 4 ?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    07-29-2015
    Location
    Inglis, MB
    MS-Off Ver
    2013
    Posts
    11

    Re: Conditional Formatting Help

    YOU ROCK!!! Thank you so so very much!! This works perfectly.
    Thanks heaps - you have made my day! :-D

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Conditional Formatting Help

    your welcome and thanks for the rep

  7. #7
    Registered User
    Join Date
    07-29-2015
    Location
    Inglis, MB
    MS-Off Ver
    2013
    Posts
    11

    Re: Conditional Formatting Help

    Hi etaf,
    ok so I thought it was done, but not quite...
    I forgot about columns K and L.
    So if C8 has 1 or 2 day written in the cell, I need L8 to turn red as well as G-J.
    With D8, if that has 1 or 2 day written in the cell, K8 needs to turn red like G-J.
    Does that make sense? I've attached your example with this new situation in it.
    Is there a way to do that?
    Thanks heapsexample_etaf1.xlsx,
    Hannah

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Conditional Formatting Help

    how this - added 2 new rules
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    07-29-2015
    Location
    Inglis, MB
    MS-Off Ver
    2013
    Posts
    11

    Re: Conditional Formatting Help

    It almost works thank you.

    But it highlights K8 when C8 is populated, when it should highlight L8.

    And the same the other way around, when D9 is populated, L8 highlights red when it should be K8.

    Is it just a matter of switching them around? As basic as that sounds....

  10. #10
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Conditional Formatting Help

    try this - sorry about that
    Attached Files Attached Files
    Last edited by etaf; 07-30-2015 at 03:09 PM.

  11. #11
    Registered User
    Join Date
    07-29-2015
    Location
    Inglis, MB
    MS-Off Ver
    2013
    Posts
    11

    Re: Conditional Formatting Help

    Just absolutely Perfect. Thank you so much!!

  12. #12
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Conditional Formatting Help

    your welcome

+ 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. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  2. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  3. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  4. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  5. Replies: 3
    Last Post: 05-15-2012, 04:13 PM
  6. Replies: 1
    Last Post: 03-05-2012, 06:20 PM
  7. Replies: 2
    Last Post: 11-02-2007, 12:03 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