+ Reply to Thread
Results 1 to 2 of 2

Color row based on number or text within a Table

  1. #1
    Forum Contributor
    Join Date
    12-14-2005
    Location
    US
    MS-Off Ver
    Excel 2019, Excel 365, Excel Mobile (Android)
    Posts
    145

    Color row based on number or text within a Table

    I have two separate requests.

    The first:
    I have a table and I want the table row with certain text such as "Fee" to be colored (yellow)

    The second:
    I want the column F cell in a row to be dark gray when the cell in column C in that row is "Misc. debit".

    I was trying to use conditional formatting. but had no luck. Perhaps some macro?

    As always thank you for any help offered.

  2. #2
    Registered User
    Join Date
    07-09-2017
    Location
    North Yorks, England
    MS-Off Ver
    Office 365
    Posts
    22

    Re: Color row based on number or text within a Table

    This code (taken from one of my spreadsheets):-

    Please Login or Register  to view this content.
    - covers the things you want. Googling for the various elements e.g. colorindex will tell you what values to use. Hope this helps.
    Last edited by therealpadd; 05-06-2023 at 11:24 AM.

+ 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. change background textbox color based on text color in cell
    By atadaliran in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-05-2021, 05:34 AM
  2. VBA Set Color Text Variable based on color entry in a cell?
    By learning new things in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2018, 11:18 AM
  3. Apply Color to chart based on Data source text color
    By ajm1991 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2016, 08:41 PM
  4. [SOLVED] Format row cell color based on number of text strings in a column
    By Pierce Quality in forum Excel General
    Replies: 22
    Last Post: 07-31-2013, 02:37 PM
  5. Replies: 59
    Last Post: 07-11-2010, 06:12 PM
  6. Changing Color of text based on a number
    By Yerfdog78 in forum Excel General
    Replies: 4
    Last Post: 02-20-2007, 03:34 AM
  7. change text color based on adjacent cell text color
    By matthewst in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-01-2005, 03:49 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