+ Reply to Thread
Results 1 to 7 of 7

Highlight rows in different colorss based on text cell value

  1. #1
    Registered User
    Join Date
    08-07-2011
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Highlight rows in different colorss based on text cell value

    Hello,
    I have a requirement to do a 'horse blanket' which shows highlights of different business units activities across a fiscal year. I have the begin and end dates, and the duration calculated. I've been able to highlight all dates entered in the begin and end date columns but they're all highlighted in the same color. I would like to automatically highlight them with different colors based on the business unit to provide more of a distinguishing effect. I would also like to add the text from the "Mission" column to be in the highlighted date range. I'm unable to attach files to this post. When I select the attachments control, I get just a thin, narrow text box with no "browse to file" controls.

    To highlight the cells I used information from this link: https colon slash slash www dot youtube dot com/watch?v=00s5efQWrgU

    Would someone please help me with this? Thanks. Link for file is below:

    https colon slash slash docs dot google dot com/spreadsheets/d/11nq5_yInlgLEwXKZAUPooI_0JVOLdMGmANyhVoamMTA/edit?usp=sharing

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,695

    Re: Highlight rows in different colorss based on text cell value

    Quote Originally Posted by frnorke View Post
    ...When I select the attachments control, I get just a thin, narrow text box ...
    Do not try to use the Paperclip icon (Attachments button), as this does not work on this forum.

    Instead, you should use this approach:

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    08-07-2011
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Highlight rows in different colorss based on text cell value

    Thanks Pete. I'll give that a try...

  4. #4
    Registered User
    Join Date
    08-07-2011
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Highlight rows in different colorss based on text cell value

    Here's the attachment for my question.
    Attached Files Attached Files

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

    Re: Highlight rows in different colorss based on text cell value

    Hello frnorke and Welcome to Excel Forum.
    If I understand correctly then your request will require a conditional formatting rule per business unit. The 'HQ' and 'DET 1' units are modeled in the attachment.
    1. Use the following as conditional formatting rule (for 'HQ'): =AND(F5<>"",$A5="HQ")
    2. Set font (white for 'HQ') and fill (red for 'HQ')
    To place the 'Mission' in highlighted cells change the formula for F5:OK122 so that it reads: =IF(AND(F$4>=$D5,F$4<=$E5),$B5,"")
    Note that the font size has been changed to 6 so that the text is fully visible.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  6. #6
    Registered User
    Join Date
    08-07-2011
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    4

    Thumbs up Re: Highlight rows in different colorss based on text cell value

    Hi JeteMc. That is exactly what I'm looking for. Thank you so very much for your help!

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

    Re: Highlight rows in different colorss based on text cell value

    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. [SOLVED] VBA - Highlight Range(Rows) based on cell value
    By rxk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2017, 03:01 AM
  2. Highlight alternating rows in groups based on cell text
    By DWNGKF in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-22-2017, 12:36 PM
  3. Using Vb to highlight rows containing text in a cell
    By ud4delite in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-29-2016, 10:39 PM
  4. Highlight Rows based on cell value
    By Tortus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-02-2016, 03:49 PM
  5. [SOLVED] 2 Line Entry Checkbook - Highlight Consecutive Rows Based on Text
    By nesbensen in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2012, 11:08 AM
  6. [SOLVED] VBA code to highlight rows based on a cell
    By mugs62 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-11-2012, 07:08 AM
  7. Highlight Rows Based on Corresponding Cell Value
    By zealot in forum Excel General
    Replies: 2
    Last Post: 02-18-2012, 08:35 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