+ Reply to Thread
Results 1 to 2 of 2

"Matching" formula whose lookup array changes depending on another column

  1. #1
    Registered User
    Join Date
    08-19-2019
    Location
    Detroit, MI
    MS-Off Ver
    360
    Posts
    1

    "Matching" formula whose lookup array changes depending on another column

    Store 1 Address 1
    Store 1 Address 2
    Store 1 Address 3
    Store 1 Address 4
    Store 1 Address 5
    Store 2 Address 6
    Store 2 Address 7
    Store 2 Address 8
    Store 3 Address 9
    Store 3 Address 10
    Store 3 Address 11
    Store 3 Address 12
    Store 3 Address 13
    Store 3 Address 14
    Store 3 Address 15

    I have the above table and would like to run a matching formula for the addresses column, for each specific store. I want to determine if any of the 5 addresses for "Store 1" match each other, and the same for the other stores. I can't figure out how to do it, since there are not the same number of addresses for each store.

  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,689

    Re: "Matching" formula whose lookup array changes depending on another column

    Assuming your data is in columns A and B, starting in cell A2 to allow for headers, then you can put this formula in cell C2:

    =COUNTIFS(A:A,A2,B:B,B2)

    Then you can copy this down to the bottom of your data. If there are no duplicates, the formula should return 1, so if you have any numbers above 1 this means that you have duplicates.

    Hope this helps.

    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. Help with lookup formula to return "Available" or "Unavailable" based on last entry
    By AntonyCole1979 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-07-2017, 05:14 PM
  2. [SOLVED] Help with lookup formula to return "Available" or "Unavailable" based on last entry
    By AntonyCole1979 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-07-2017, 12:28 PM
  3. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  4. [SOLVED] Formula to Locate Matching Data in Worksheets and return "1" or "0" to a specified Cell
    By hammer2 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-30-2015, 04:52 AM
  5. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  6. [SOLVED] Formula needed to display "Pass" or "Fail" if a column contains any values other than "yes
    By andreindy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2013, 05:49 PM
  7. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

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