+ Reply to Thread
Results 1 to 4 of 4

Need help with Conditional Formatting or Fomula

  1. #1
    Registered User
    Join Date
    02-06-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Need help with Conditional Formatting or Fomula

    Hello

    I am trying to use conditional formatting or a formula of some sort to highlight cells based off of another Tab & columns values if they match.

    So, we have a phone number list showing all of our companies phone numbers on Tab#1 column A. Then on Tab#2, we have a list of phone numbers in column A, and in column B the cells show a persons name if the #'s are assigned to someone or blank if they are not assigned.

    Considering we have approximately 8,000-10,000 phone numbers, it would be nice to use conditional formatting or a formula to determine whether or not a phone number is assigned or not assigned.

    What I am trying to accomplish is creating the simplest way (whether it be conditional formatting or a formula) to reference Tab #1 column A and if the telephone numbers find a match on Tab #2 column A and do not show as being assigned, I would like them to either be highlighted and/or show as "Unassigned" for the value. I've used conditional formatting before on something much more complex, but cannot remember how I did it and can not find the original spreadsheet to look at.

    Any help would be much appreciated!

    I am attaching an example with some sample values.

    Thanks in advance!!!

    Tab1.jpg
    Tab2.jpg
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Need help with Conditional Formatting or Fomula

    1. Select your range on Sheet 1 (A2:A15000 for example).
    2. On the Home tab of the ribbon, click 'Conditional Formatting', then 'New Rule', then 'Use a formula to determine which cells to format'.
    3. In the formula box, enter this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    4. Click 'Format' then choose how you want the unassigned numbers to be highlighted (fill colour / font colour / etc).

    Hope that helps.


    Edit: if you prefer a formula on Sheet1, put this in B2 (or C2 or wherever you want it) then drag down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Aardigspook; 07-28-2017 at 03:36 PM. Reason: Add formula option
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  3. #3
    Registered User
    Join Date
    02-06-2014
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Need help with Conditional Formatting or Fomula

    Thanks so much for the reply. I am trying to go the formula route in the second example you provided but cannot get it to work. If the #'s match on Sheet 1 Row A to Sheet 2 Row A, then If there is an assigned name I need the name to show. If it is unassigned then I need it to show as unassigned or blank...Any ideas?

    thanks again!

    B

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Need help with Conditional Formatting or Fomula

    Okay, if you want it to show 'unassigned' put the VLOOKUP formula in instead of the final "".
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you would rather have the name column blank instead of 'unassigned', then you can just use the VLOOKUP formula itself:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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: 1
    Last Post: 12-08-2016, 03:14 PM
  2. Replies: 2
    Last Post: 10-03-2016, 08:35 AM
  3. Conditional Formatting Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  4. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  5. 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
  6. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  7. Replies: 3
    Last Post: 05-15-2012, 04:13 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