+ Reply to Thread
Results 1 to 10 of 10

Finding Values in one random list, highlighting, and labeling based on a known list

  1. #1
    Registered User
    Join Date
    05-13-2013
    Location
    San Antonio, TX
    MS-Off Ver
    Excel for Mac 2011
    Posts
    6

    Finding Values in one random list, highlighting, and labeling based on a known list

    Hey Guys,

    I have three tabs, my cell phone bill on two tabs (talk and text), and then my address book on the third. The are all formated exactly the same using a guys VBA (thank you poster!). I would like to conditionally format all of my calls text on the first two tabs showing which are in my phone book.

    Here is 3rd tab: Phone Book

    Screen Shot 2013-05-13 at 4.37.55 PM.png

    More than the highlight above I would like to highlight and add text to an adjacent column. I want any of the values here that match the phonebook tab to be highlighted and if possible in the column adjacent they name copied. so the function would say 9-2500 is in the list as "Chase Bank", and would highlight 9-2500 and then add the words "Chase Bank" to the empty column next to it.

    Here is the calling record. I want any of the values here that match the phonebook tab to be highlighted and if possible in the column adjacent they name copied.

    Screen Shot 2013-05-13 at 4.37.05 PM.png

    The result should be similar to |9-2500| Chase Bank|

    I found a video that showed something similar using the named range. In Excel for Mac I think is the Insert Name pictured below but it is always grayed out. Any clues? I tried to change the ribbon?

    Screen Shot 2013-05-13 at 4.50.54 PM.png
    Last edited by mark00thomas; 05-13-2013 at 05:55 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,595

    Re: This Guy Needs a Hand - Phone Numbers, Conditional Formatting, and Name a Range

    Please edit your post and delete paragraphs #2,#3 & #4 (personal comments/hard to read). Give an accurate description of your problem and post a workbook.
    To Attach a Workbook:
    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit

    ----------------------------
    Rule 1 - Thread Titles
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    Ben Van Johnson

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,729

    Re: This Guy Needs a Hand - Phone Numbers, Conditional Formatting, and Name a Range

    is you phone book on one of the tabs
    you could use vlookup or index/match to look up the phone number and then return the name

    can you upload some dummy data with the calls and the phone book data - just a few rows of data (not real) so we can see the format and advise further

  4. #4
    Registered User
    Join Date
    05-13-2013
    Location
    San Antonio, TX
    MS-Off Ver
    Excel for Mac 2011
    Posts
    6

    Re: This Guy Needs a Hand - Phone Numbers, Conditional Formatting, and Name a Range

    test phone records.xlsx

    Please ignore the date formated as $

    The calls/text have go out to column M or N, the address book is just A and B

  5. #5
    Registered User
    Join Date
    05-13-2013
    Location
    San Antonio, TX
    MS-Off Ver
    Excel for Mac 2011
    Posts
    6

    Re: This Guy Needs a Hand - Phone Numbers, Conditional Formatting, and Name a Range

    Ben, to your last checkmark, anyone who can start to answer my question is a hero in my book!

  6. #6
    Registered User
    Join Date
    05-13-2013
    Location
    San Antonio, TX
    MS-Off Ver
    Excel for Mac 2011
    Posts
    6

    Re: This Guy Needs a Hand - Phone Numbers, Conditional Formatting, and Name a Range

    etaf, thanks for the comment. In the help center it says the synax for lookup value will match the closest one if there is not an identical match. I want it to skip all of the no address book values. Also the lookup and result vectors should be the same size it says?

    Screen Shot 2013-05-13 at 5.08.13 PM.png

  7. #7
    Registered User
    Join Date
    05-13-2013
    Location
    San Antonio, TX
    MS-Off Ver
    Excel for Mac 2011
    Posts
    6

    Re: Finding Values in one random list, highlighting, and labeling based on a known list

    This is what I'm thinking about. I'm I going about this all wrong?

    Better phone call test.xlsx

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,729

    Re: Finding Values in one random list, highlighting, and labeling based on a known list

    vlookup with a false will only return exact values same as index/match with 0 option

    is the phone number in sheet calls at all

    I have added in cell G a number and H
    =INDEX('Phone book'!$A$2:$A$10, MATCH(G2, 'Phone book'!$B$2:$B$10, 0))
    a lookup using index match

    see attached
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-13-2013
    Location
    San Antonio, TX
    MS-Off Ver
    Excel for Mac 2011
    Posts
    6

    Re: Finding Values in one random list, highlighting, and labeling based on a known list

    Here is a pic of when I did it. I just moved it over one to "G" because the number is already in "F"

    Is there a way to easily remove the #N/A or just filter that part to the top or bottom and delete?

    Thank you! How can I reward the solid work?

    Screen Shot 2013-05-13 at 6.16.58 PM.png
    Attached Images Attached Images

  10. #10
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,729

    Re: Finding Values in one random list, highlighting, and labeling based on a known list

    I was not sure what the in/out numbers represented - as i'm UK based , I'm not used to that format of number , and when calling internationally of course the number has many more digits- UK are usually
    XXXXX AAAAAA
    where X is the area code
    mobiles tend to be 07 and 11 numbers
    BBBBBBBBBBB

    Is there a way to easily remove the #N/A or just filter that part to the top or bottom and delete?
    Yes just use
    IFERROR ( formula , "")
    that will put a blank instead of a #N/A
    OR

    instead of the "" - you can put any info you need

    =IFERROR(INDEX('Phone book'!$A$2:$A$10, MATCH(G2, 'Phone book'!$B$2:$B$10, 0)),"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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