+ Reply to Thread
Results 1 to 9 of 9

Format Cell Based On Another Cell's Value

  1. #1
    Forum Contributor
    Join Date
    11-30-2020
    Location
    Ny
    MS-Off Ver
    Office 365
    Posts
    188

    Format Cell Based On Another Cell's Value

    In the workbook provided, is there ANY way to highlight the Cells in Columns H and V, that correspond to the highlighted cells in the Available Player List. Example being, player 1 (01) is highlighted, have cell H10 be highlighted as well and so on, and have this work if the number order changes. Any help will be appreciated! Thanks!
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,669

    Re: Format Cell Based On Another Cell's Value

    This is possible because you are using conditional formatting to do the highlighting. All you have to is extend the Applies To range for the relevant rules.

    But there are a couple of problems understanding what you need.

    There is nothing in column H, so either you want to highlight blank cells or your description does not match the file you provided.
    The example you gave of player 1 is not helpful; it would be better to refer to actual data in your file.
    Column V has merged cells so you cannot highlight it.

    Also, merged cells are almost always a bad idea. You are making liberal use of them and I can't see a reason that it's needed.

    You have redundant CF rules. For example, you have 5 rules for when column P is "Regular" and they all do the same thing (green fill). You can do with with one rule that affects all desired ranges. (red rectangles). Applies To range would be
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    You have another rule that checks the cell's value for "Regular" applying to columns P and Q, but it will never affect Q because Q is part of a merged cell. (blue rectangle) Not sure what you're doing with the rule above that since it only applies to once cell in column Y, which is empty.

    new CF.jpg
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,669

    Re: Format Cell Based On Another Cell's Value

    Here is your file with a redesigned sheet that does not use merged cells. I can fix your highlighting once it is clearer what you need.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    11-30-2020
    Location
    Ny
    MS-Off Ver
    Office 365
    Posts
    188

    Re: Format Cell Based On Another Cell's Value

    OMG ! I just finished a 36-hour shift and posted the wrong workbook, I'm an idiot! Here is the correct workbook I need help with. Sorry!
    Attached Files Attached Files

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,669

    Re: Format Cell Based On Another Cell's Value

    I'll take a look.

    My advice about not using merged cells still applies to this file. I see no reason to do that in this file.

    Also the same issue with your conditional formatting rules.

    Under what circumstances would values in column P or L ever be "X"? Is that an error in your CF rules?

    I'll attach a corrected file with the additional coloring you are asking for shortly.

  6. #6
    Forum Contributor
    Join Date
    11-30-2020
    Location
    Ny
    MS-Off Ver
    Office 365
    Posts
    188

    Re: Format Cell Based On Another Cell's Value

    The X's are imported from another folder so I know who is available to play the current week. I use that "X" as the rule to highlight the player name.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,669

    Re: Format Cell Based On Another Cell's Value

    I understand what the X's are for, but you have conditional formatting rules based on having X in columns L and P, which have player numbers in them. I wonder if those rules are in error.

    Here is a fixed version, see the second sheet.
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    11-30-2020
    Location
    Ny
    MS-Off Ver
    Office 365
    Posts
    188

    Re: Format Cell Based On Another Cell's Value

    Thanks, I see what you did! I appreciate the help!

  9. #9
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,669

    Re: Format Cell Based On Another Cell's Value

    Glad it helped! Thanks for the rep.

+ 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: 0
    Last Post: 08-05-2020, 10:55 AM
  2. Replies: 4
    Last Post: 10-05-2017, 09:37 AM
  3. [SOLVED] Format cell colors based on another cell values with positive and negative numbers
    By rlowry in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-30-2017, 12:10 PM
  4. Replies: 1
    Last Post: 07-03-2014, 06:33 AM
  5. Delete row based on cell FORMAT (color, font, etc) (not based on cell value)
    By trobey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2012, 10:39 AM
  6. VBA to insert cell format into cell based on cell value
    By mmctague in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2012, 02:52 PM
  7. [SOLVED] SAP BW Report - Putting the Unit of Measure or Currency in another Cell based on Format Cell
    By Frank & Pam Hayes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2005, 01:40 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