+ Reply to Thread
Results 1 to 16 of 16

Excel Conditional Formatting on Multiple Sheets

  1. #1
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Excel Conditional Formatting on Multiple Sheets

    I Have An Excel Sheet for our Legal Office for our Attorney's EBT schedule dates.
    The top the is the dates of each week (without weekends)
    at the left is the attorney names (censored with question marks)
    And in between are our internal file numbers for each case.

    As you can see in the attachment i have made a Conditional Formatting for each sheet (separately) which will trigger if the same "file number" is entered twice both cells will go green.
    if then it is entered the 3rd time all 3 cells will go yellow, and than if the same file number is entered 4 times and more it will all go RED.

    Everything works fine, except i am not able to implement the same Conditional Formatting to both/all sheets (months).
    For example the Conditional Formatting works fine in the "January19" Sheet the Cell Q13 and W13 are green because the same number is entered twice.
    But i have tried so many ways to implement the same concept on different sheets.

    BUT As you can see Sheet "December18" Cell C4 is entered "18R1234"
    AND Sheet "January19" Cell C4 is also entered "18R1234"
    but they are not turning green.
    I mean in this case it should NOT go green because i HAVE NOT applied any condition format formula.
    But i have tried so many ways that i couldnt.

    So my request is to be able to apply the Conditional Formatting to all cells.
    Whats the formula that should be done.


    Thank you.
    Attached Files Attached Files
    Last edited by TheTr00per; 02-15-2019 at 03:15 PM.

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

    Re: Excel Conditional Formatting on Multiple Sheets

    you seem to have a lot of the same conditional formatting for different ranges

    heres an example of the range
    January19!$G$4:$G$19,January19!$G$23:$G$36,January19!$I$4:$M$19,January19!$I$23:$M$36,January19!$O$4:$S$19,January19!$O$23:$S$36,January19!$U$23:$Y$36,January19!$U$4:$Y$19,January19!$AA$4:$AE$19,January19!$AA$23:$AE$36


    for the rule
    =COUNTIF($C$4:AG37,G4)=2

    But you also have
    =COUNTIF($C$4:AF37,E4)=2

    I suspect the conditional formatting needs going through and verifying each entry and range
    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
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Re: Excel Conditional Formatting on Multiple Sheets

    Quote Originally Posted by etaf View Post
    you seem to have a lot of the same conditional formatting for different ranges

    heres an example of the range
    January19!$G$4:$G$19,January19!$G$23:$G$36,January19!$I$4:$M$19,January19!$I$23:$M$36,January19!$O$4:$S$19,January19!$O$23:$S$36,January19!$U$23:$Y$36,January19!$U$4:$Y$19,January19!$AA$4:$AE$19,January19!$AA$23:$AE$36


    for the rule
    =COUNTIF($C$4:AG37,G4)=2

    But you also have
    =COUNTIF($C$4:AF37,E4)=2

    I suspect the conditional formatting needs going through and verifying each entry and range
    Only reason i have the same Conditional Formatting for different ranges is because i did not want it to be applied to the merged cells that says "Weekend" in between, because if i do the range C4 to AG37 or something, than the WEEKEND cell will change color too.

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

    Re: Excel Conditional Formatting on Multiple Sheets

    Thanks, i see
    so the issue is you want to count across multiple sheets, using conditional formatting
    this may help
    http://excel-buzz.blogspot.com/2015/...-multiple.html
    Last edited by etaf; 02-15-2019 at 04:38 PM.

  5. #5
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Re: Excel Conditional Formatting on Multiple Sheets

    Quote Originally Posted by etaf View Post
    Thanks, i see
    so the issue is you want to count across multiple sheets, using conditional formatting
    Yes please, ive tried the January19! with the cell number but it seems its not working. (or maybe most probably im doing something wrong)
    But anyway yea thats what im trying to get
    Thank you

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

    Re: Excel Conditional Formatting on Multiple Sheets

    sorry i edited my post as you answered
    see here
    https://www.excelforum.com/excel-gen...orksheets.html
    and
    http://excel-buzz.blogspot.com/2015/...-multiple.html

    it looks like you need to use an indirect - I have not tried out
    it maybe worth on a simple test sheet with a few columns and rows and then see how to apply to your more complicated sheets

  7. #7
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Re: Excel Conditional Formatting on Multiple Sheets

    I did try, maybe im just not able to grasp it, can some1 do it on my excel sheet and send it back ? (please )

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Excel Conditional Formatting on Multiple Sheets

    CF is applied for January19 sheet as example and it is working. Extend the same to other sheet also.
    For C4

    =AND(SUM(COUNTIF(December18!$C$4:AE37,C4)+COUNTIF(January19!$C$4:AE37,C4))=2,C4<> "WEEKEND")

    CF has made excel slow. It is better to go for worksheet event to color cells which is faster.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 02-16-2019 at 12:44 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  9. #9
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Re: Excel Conditional Formatting on Multiple Sheets

    Quote Originally Posted by kvsrinivasamurthy View Post
    CF is applied for January19 sheet as example and it is working. Extend the same to other sheet also.
    For C4

    =AND(SUM(COUNTIF(December18!$C$4:AE37,C4)+COUNTIF(January19!$C$4:AE37,C4))=2,C4<> "WEEKEND")

    CF has made excel slow. It is better to go for worksheet event to color cells which is faster.
    Thank you, that helped a bit, but now ONLY the 2nd cell is going green, whereas with the conditional formatting both cells go green or yellow or whatever.
    I still cant get it 100% right.

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Excel Conditional Formatting on Multiple Sheets

    Change 2 in the formula as 3 or 4 and use it other CF for yellow and red.

  11. #11
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11
    Quote Originally Posted by kvsrinivasamurthy View Post
    Change 2 in the formula as 3 or 4 and use it other CF for yellow and red.
    I understand about the 3 and 4, i have done it on my sheet CF, but as u can see in your Attachment above, the one on sheet1 (Dec) is not lit green, only the second one on sheet2 (Jan) is lit green

    Sorry im not trying to be negative or demanding, just want to get the final/perfect solution as i asked up there. I still cant find it.. i tried the links that was posted by etaf, and all the other solutions suggested to me. Unless i am doing something wrong.
    Can someone implement it on the worksheet and attach it, just one example. I will greatly appreciate it.

  12. #12
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Excel Conditional Formatting on Multiple Sheets

    Pl see file .
    I have applied all 3 conditions to January19 sheet. It is working ok .
    Only when you apply CF for December19 sheet only cells will get color.
    Apply CF to December19 sheet also as I have applied for January19 sheet.
    I have completely cleared allCF in December19 sheet.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Re: Excel Conditional Formatting on Multiple Sheets

    Quote Originally Posted by kvsrinivasamurthy View Post
    Pl see file .
    I have applied all 3 conditions to January19 sheet. It is working ok .
    Only when you apply CF for December19 sheet only cells will get color.
    Apply CF to December19 sheet also as I have applied for January19 sheet.
    I have completely cleared allCF in December19 sheet.
    THANK YOU it actually worked! im gonna mark this as SOLVED, thanks a lot i did it on all the months (on my main file) not the test that goes to December 2019 and it works perfectly.

  14. #14
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Re: Excel Conditional Formatting on Multiple Sheets

    RESOLVED, Thank You All for The Help!

  15. #15
    Registered User
    Join Date
    02-15-2019
    Location
    New York, USA
    MS-Off Ver
    Microsoft Office Home & Student 2016
    Posts
    11

    Re: Excel Conditional Formatting on Multiple Sheets

    Ok im embaressed to say that (im new to this site) and i cannot find a way to Resolve or mark it Solved, thats of course IF THERE IS SUCH A THING

  16. #16
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Excel Conditional Formatting on Multiple Sheets

    To mark your thread solved do the following:
    New Method
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    It is available in FAQ

+ 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. Conditional Formatting Across Multiple Sheets
    By Flat Banana in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2016, 01:15 PM
  2. Conditional Formatting (I think?) with Multiple Sheets
    By DocBenzedrine in forum Excel General
    Replies: 3
    Last Post: 01-27-2014, 05:55 AM
  3. [SOLVED] Conditional Formatting across Multiple Sheets
    By madness in forum Excel General
    Replies: 2
    Last Post: 04-10-2013, 06:09 AM
  4. Need help with conditional formatting over multiple sheets
    By tschwitz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-31-2012, 12:20 PM
  5. Conditional Formatting For Multiple Sheets
    By Mhz in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-07-2012, 12:54 PM
  6. Excel Conditional Formatting on Multiple Sheets
    By cakonopka in forum Excel General
    Replies: 1
    Last Post: 10-27-2011, 09:07 AM
  7. Conditional formatting multiple sheets?
    By preddy1110 in forum Excel General
    Replies: 1
    Last Post: 11-23-2010, 09:09 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