+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting Conundrum using a formula

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    16

    Conditional Formatting Conundrum using a formula

    Hi All,
    I am attaching a spreadsheet on which I want to apply a conditional format using a formula in column J.

    I have on Sheet 2 all the area telephone codes for the US and I want to highlight any in Column J which in this instance don't belong to Texas. I have put in area code 202 on the Aloft Allen and this code belongs to Washington DC.

    I can get the VLOOKUP formula to work in cell I1 which correctly identifies that area code 202 is DC. I have then extended that formula to an IF function to establish if DC doesn't match the state code in column F and return "Check" if it matches the criteria.

    I don't seem to be able to get it to work on the conditional formatting.

    Thanks in advance
    Attached Files Attached Files
    Last edited by green_aardvard; 11-25-2020 at 02:47 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    43,692

    Re: Conditional Formatting Conundrum

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    06-26-2019
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    16

    Re: Conditional Formatting Conundrum

    Duly updated!

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

    Re: Conditional Formatting Conundrum using a formula

    Select J5 down to the last row & use this formula
    =VLOOKUP(J5,Sheet2!$H$2:$I$343,2,FALSE)<>$F5

  5. #5
    Registered User
    Join Date
    06-26-2019
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    16

    Re: Conditional Formatting Conundrum using a formula

    Thank you for the formula - has solved my problem.

    Many thanks

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

    Re: Conditional Formatting Conundrum using a formula

    You're welcome & thanks for the feedback.

+ 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] Conditional Formatting Conundrum
    By CDandVinyl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-05-2020, 08:58 AM
  2. [SOLVED] Textbox formatting conundrum
    By Tresfjording in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-11-2020, 02:40 PM
  3. [SOLVED] Conditional Formatting Conundrum
    By kyjae in forum Excel General
    Replies: 3
    Last Post: 03-26-2015, 11:54 AM
  4. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  5. Conditional Formatting Conundrum
    By kwelch66 in forum Excel General
    Replies: 2
    Last Post: 01-18-2014, 02:17 PM
  6. conditional formatting conundrum
    By henro8 in forum Excel General
    Replies: 6
    Last Post: 08-05-2008, 11:08 AM
  7. Formatting conundrum
    By scunni in forum Excel General
    Replies: 3
    Last Post: 10-29-2006, 08:12 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