+ Reply to Thread
Results 1 to 5 of 5

Availability Spreadsheet - I can't get the row to change colour multiple conditions

  1. #1
    Registered User
    Join Date
    01-19-2023
    Location
    Canberra, Australia
    MS-Off Ver
    16.66.1
    Posts
    3

    Question Availability Spreadsheet - I can't get the row to change colour multiple conditions

    Hi All,

An absolute laymen here - I've been trialling and erring trying to sort out a home made calendar of people's availability and it doesn't do what I would like - I have figured out some elements (thanks to online searches).

    I am building an availability spreadsheet that covers up to a year in advance - where I'd like the colour to change as details are entered - below is where I am up to.

    *
    Saturday/Sunday
    Basically I've figured out (perhaps stumbled...) how to Bold and highlight a row in grey if "Sunday" exists:*
    =SEARCH("Sunday", $A2)>0
    apply to:*$A$2:$G$33
    *
    and another formula for Saturday which also bolds and highlights the row in grey:
    =SEARCH("Saturday", $A2)>0
    apply to:*$A$2:$G$33

    Family Holiday
    =COUNTIF($G2,"*Family Holiday*")>0
    apply to:*$A$2:$G$33

    People have indicated they?re busy:
    =COUNTIF($C2:$F2,"*xx*")>0


    HERE IS WHERE I NEED HELP

    Now I would like to create another rule that basically says:

    If any of the following cells C2, D2, E2 or F2 contain "*xx*" (eg somebody is busy)
    AND
    G2 contains "Family Holiday" then apply chosen formatting (in my case colour A2:F2 in yellow.

    I?ve tried the following (and many variations....which just proves I don't know what I am doing):
    =AND(($G2,"*Family Holiday*")>0,($C2:$F2,"*xx*")>0)


    I don?t seem to be making any headway into solving this puzzle!

    Any assistance would be much appreciated.
    Last edited by Jason2235; 01-19-2023 at 05:23 AM.

  2. #2
    Registered User
    Join Date
    01-19-2023
    Location
    Canberra, Australia
    MS-Off Ver
    16.66.1
    Posts
    3

    Re: Availability Spreadsheet - I can't get the row to change colour multiple conditions

    I suspect I may have pasted query in the wrong thread - not sure how to move it over to the excel thread (instead of the Outlook thread).

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Availability Spreadsheet - I can't get the row to change colour multiple conditions

    I'll move it. But....

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 non-editable pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet complete with an explanation and some expected results.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    01-19-2023
    Location
    Canberra, Australia
    MS-Off Ver
    16.66.1
    Posts
    3

    Re: Availability Spreadsheet - I can't get the row to change colour multiple conditions

    Hi Glenn,

    Cheers for the response.

    Attached is what I am seeing currently:

    Rows 11 down to 24 are behaving as expected.
    eg.
    - if XX is in column C, D, E or F then the row turns red to show peoples unavailability.
    - if family holiday is in column G then the row turns blue.

    I've two examples in the screenshot (rows 25 and 27) where there are XX's in C,D,E or F AND "Family Holiday" is in column G.
    There is where I would like to figure out if it meets both of those conditions then highlight A>F in yellow (and G stays in blue).

    I hope that helps.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Availability Spreadsheet - I can't get the row to change colour multiple conditions

    I believe that if you replace the first conditional formatting rule (yellow) with the following it will do what you want:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Need VBA to change a cell value if 2 conditions are met in each row of a spreadsheet
    By bmahfood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2021, 02:53 PM
  2. Problem making a spreadsheet schedule based on the availability of two items.
    By timothysklugh in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-03-2019, 08:31 AM
  3. availability based on schedules spreadsheet
    By paramatman13 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2013, 05:48 PM
  4. change colour of bars in graph based on conditions
    By saurabhlotankar in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-27-2013, 12:29 AM
  5. formula help to change row colour automatically by some conditions
    By Aarif in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2006, 11:55 AM
  6. Help for a macro change cell colour under many conditions
    By dpjim in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2005, 08:05 AM

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