+ Reply to Thread
Results 1 to 10 of 10

Comparing and formatting common fields

  1. #1
    Registered User
    Join Date
    10-06-2019
    Location
    Reading, UK
    MS-Off Ver
    2019 365
    Posts
    7

    Comparing and formatting common fields

    Hi there, I wonder if someone can help me? I have 2 Excel sheets:

    1. Mailing list with an address column
    2. Exception mailing address column

    What I need to do is take the address column on the mailing list and compare it to the exception mailing address column. If the address column is in the exception mailing list column, then I need to know - perhaps return a "true" value in a column on the mailing sheet or highlight that address in a colour. I don't mind how I get to know (if that makes sense).


    Thanks,
    Graham

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Comparing and formatting common fields

    It would help if you attached a sample Excel workbook, so we can see what columns you are using.

    To do this, click on Go Advanced (below the Edit Window) while you are composing a reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Don't try to use the Paperclip icon for attachments, as it doesn't work on this forum.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-06-2019
    Location
    Reading, UK
    MS-Off Ver
    2019 365
    Posts
    7

    Re: Comparing and formatting common fields

    Sure, no problem at all.

    So, if the address on "not these address" is in column D, I need to know.


    Thanks,
    G
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Comparing and formatting common fields

    Which column contains "not these address" ?

    Pete

  5. #5
    Registered User
    Join Date
    10-06-2019
    Location
    Reading, UK
    MS-Off Ver
    2019 365
    Posts
    7

    Re: Comparing and formatting common fields

    Column A on the "not these address" sheet

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Comparing and formatting common fields

    You attached a .csv file, so there is only one sheet.

    Pete

  7. #7
    Registered User
    Join Date
    10-06-2019
    Location
    Reading, UK
    MS-Off Ver
    2019 365
    Posts
    7

    Re: Comparing and formatting common fields

    Oh man... Sorry about that.
    Here you go.
    Attached Files Attached Files

  8. #8
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Comparing and formatting common fields

    You could put a formula like this in V2 of the main sheet:

    =IF(COUNTIF('Not these address'!$A:$A,D2),"Omit","include")

    and copy it down. However, this is looking for an exact match between the addresses, and it doesn't find any in this case. I suspect you might need something more sophisticated than this, to ensure that you pick up matching addresses that might be slightly different, but I don't have time to delve into this at the moment.

    Hope this helps.

    Pete

  9. #9
    Registered User
    Join Date
    10-06-2019
    Location
    Reading, UK
    MS-Off Ver
    2019 365
    Posts
    7

    Re: Comparing and formatting common fields

    That's amazing, thank you, Pete.
    It gave me really good start.

    Your time and expertise saved me crap loads of time.

  10. #10
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,814

    Re: Comparing and formatting common fields

    Glad to help, Graham.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] Finding the most common combination with three fields
    By AWF13 in forum Excel General
    Replies: 3
    Last Post: 01-22-2019, 06:41 PM
  2. Replies: 3
    Last Post: 01-12-2015, 09:08 AM
  3. Replies: 4
    Last Post: 07-03-2014, 05:27 PM
  4. Comparing Ranges and Returning Non-Common Items
    By andrewc in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 11:17 AM
  5. Comparing two sheets to find common records
    By kthakur in forum Excel General
    Replies: 6
    Last Post: 07-30-2010, 11:39 AM
  6. Comparing common records between 2 arrays
    By Rituraj in forum Excel General
    Replies: 1
    Last Post: 07-27-2010, 02:51 AM
  7. Comparing two spreadsheets joining on a common column
    By plasma800 in forum Excel General
    Replies: 0
    Last Post: 06-29-2010, 04:44 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