+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting based on another cell

  1. #1
    Registered User
    Join Date
    01-27-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    16

    Conditional formatting based on another cell

    I have a list of states in column A with corresponding data in column B (everything is text). I am trying to highlight both column A and column B based on which state is listed in column A.

    In other words, every row for both columns where Florida is listed in Column A, I want to highlight. I know I will need a separate rule for each state but just can't seem to find a way to get column B highlighted.
    Attached Files Attached Files
    Last edited by rvinci; 02-22-2019 at 10:02 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,861

    Re: Conditional formatting based on another cell

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    01-27-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Conditional formatting based on another cell

    Thank you, I couldn't find originally where to include the attachment

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Conditional formatting based on another cell

    Select A1 to B16 In Cf New rule > use a formula & use
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-27-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Conditional formatting based on another cell

    I tried something similar to that about 5 times. Yours worked! Thank you

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Conditional formatting based on another cell

    You're welcome & thanks for the feedback.
    You just need to ensure that the $A1 reflects the first row of the "applies to range"

+ 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: 09-02-2018, 01:09 PM
  2. Replies: 1
    Last Post: 10-04-2016, 05:17 AM
  3. Conditional formatting for a row based on one cell
    By hagamablabla in forum Excel General
    Replies: 3
    Last Post: 02-11-2016, 11:45 AM
  4. [SOLVED] Conditional Formatting of a Cell Based on the Value of Another
    By mtma in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-05-2014, 11:17 AM
  5. Conditional formatting based on value of another cell
    By magnetar in forum Excel General
    Replies: 7
    Last Post: 04-19-2013, 10:49 AM
  6. Conditional Formatting via VBA: Change formatting in range based on value of each cell
    By ralphjmedia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 10:37 AM
  7. Replies: 4
    Last Post: 01-06-2012, 05:07 PM

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