+ Reply to Thread
Results 1 to 6 of 6

depending If the players appears within a certain range

  1. #1
    Registered User
    Join Date
    04-21-2010
    Location
    valencia
    MS-Off Ver
    Microsoft 2023, Version 16.73
    Posts
    54

    depending If the players appears within a certain range

    I would appreciate a bit of help with conditional formatting the colours of cells depending If the players appears within a certain range. This will show me quickly which players have been playing recently

    1. range BG2 : BG12 then I would like the column N to represent this with changing the color to Green with a ?T? inside.
    2. range BG14 : BG24 then I would like the column N to represent this with changing the color to Orange with a ?S? inside.
    3. range BG26 : BG31 then I would like the column N to represent this with changing the color to Orange with a ?S>? inside.
    4. range BG33 : BG39 then I would like the column N to represent this with changing the color to Green with a ?T>? inside.

    I would then like to repeat this for all of the columns BG - CN to fill in the cells N to AU
    Attached Files Attached Files

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

    Re: depending If the players appears within a certain range

    Note that if, as your profile indicates, you are using the 2003 version of Excel then some of this won't work, and if you aren't then please update your profile.
    I don't believe that conditional can be used to fill the cells with ?T? , ?S? etc.
    This array entered formula** is used in cells N2:AU30
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    The conditional formatting rule for Green is: =OR(ISNUMBER(SEARCH($G2,BG$2:BG$12)),ISNUMBER(SEARCH($G2,BG$33:BG$39)))
    The conditional formatting rule for orange is: =OR(ISNUMBER(SEARCH($G2,BG$14:BG$24)),ISNUMBER(SEARCH($G2,BG$31:BG$39)))
    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.

  3. #3
    Registered User
    Join Date
    04-21-2010
    Location
    valencia
    MS-Off Ver
    Microsoft 2023, Version 16.73
    Posts
    54

    Re: depending If the players appears within a certain range

    Hi JeteMc, thanks very much for the reply. I have updated my profile, i am on Microsoft 2023 Excel Version 16.73, not 2003 like my profile had!

    I´ve checked the spreadsheet and parts 1 & 2 work perfectly. Although I made a mistake with putting ?T? as it should just put T. which I have corrected in the attached excel document

    1. range BG2 : BG12 then I would like the column N to represent this with changing the color to Green with a "T" inside.
    2. range BG14 : BG24 then I would like the column N to represent this with changing the color to Orange with a "S" inside.

    Unfortunately the Columns don´t update for the following 3 & 4
    3. range BG26 : BG31 then I would like the column N to represent this with changing the color to Orange with a "S>" inside.
    4. range BG33 : BG39 then I would like the column N to represent this with changing the color to Green with a "T>" inside.

    The reason I need this is to show which players started the games "T" but then were subbed out "T>" (Part 4) and which substitutes didn´t enter the pitch "S" and which substitutes were subbed onto the pitch "S>" (part 3). Although this spreadsheet only includes players who were subbed in, I will have future spread sheets where players travelled as part of a matchday squad but didnt enter the pitch and this is information which I would like to present here when I have more information.

    As an example i have put column BG some extra players highlighted in blue. When converted using the formula those players should have a Yellow cell and an S. The other substitute who entered the pitch should have a yellow cell and S>

    I would appreciate it if you help me iron out this detail also.

    Many thanks

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

    Re: depending If the players appears within a certain range

    Modify the formula in cells N2:AU30 to read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.

  5. #5
    Registered User
    Join Date
    04-21-2010
    Location
    valencia
    MS-Off Ver
    Microsoft 2023, Version 16.73
    Posts
    54

    Re: depending If the players appears within a certain range

    Thanks alot, thats the perfect solution.... thank you!

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

    Re: depending If the players appears within a certain range

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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: 2
    Last Post: 10-28-2022, 08:39 AM
  2. Changing a number that appears in cell depending on content
    By craigc0187 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-12-2021, 07:05 AM
  3. [SOLVED] VBA to pair all players against all players
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-19-2016, 01:58 PM
  4. Formula to specify whether any word in one range appears in another range.
    By Larry.LeBlanc@O in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2015, 02:35 PM
  5. Replies: 1
    Last Post: 12-25-2014, 02:25 PM
  6. Replies: 2
    Last Post: 09-04-2013, 07:59 PM
  7. Replies: 2
    Last Post: 06-19-2006, 06:10 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