+ Reply to Thread
Results 1 to 5 of 5

Count duplicate addresses by frequency of mention

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    12

    Count duplicate addresses by frequency of mention

    Hello friends

    I have an address list in Excel which contains a number of duplicate addresses ie. multiple people live at same address.
    There are either 2, 3, 4, 5 or more people at one address.
    I need to separately count the number of addresses where there are 2 people, 3 people, 4 people etc etc

    Any help gratefully acknowledged

    Frank

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,493

    Re: Count duplicate addresses by frequency of mention

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count duplicate addresses by frequency of mention

    Try something like this...

    To get the count of 3 matching addresses...

    Data Range
    A
    B
    1
    Name
    Address
    2
    Person1
    Address1
    3
    Person2
    Address1
    4
    Person3
    Address1
    5
    Person1
    Address2
    6
    Person1
    Address3
    7
    Person2
    Address3
    8
    Person3
    Address3


    This array formula**:

    =SUM(IF(FREQUENCY(MATCH(B2:B8,B2:B8,0),ROW(B2:B8)-ROW(B2)+1)=3,1))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Result = 2
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    05-21-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Count duplicate addresses by frequency of mention

    Hi
    Thank you for your feedback.
    I have taken the advice given to mock up an example, attached.
    Perhaps you can populate the cells where the cells are required.
    many thanks
    Frank
    Attached Files Attached Files

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Count duplicate addresses by frequency of mention

    This array formula** entered in D3 and copied down to D7:

    =SUM(IF(FREQUENCY(MATCH(D$12:D$27,D$12:D$27,0),ROW(D$12:D$27)-ROW(D$12)+1)=ROWS(D$3:D3),1))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

+ 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. FREQUENCY formula not with alphanumaric And with duplicate value
    By waq in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-07-2014, 10:15 AM
  2. [SOLVED] formula to count how the cells which mention X
    By johnandrews in forum Excel General
    Replies: 5
    Last Post: 04-30-2014, 07:40 AM
  3. [SOLVED] Count If Function To Count Frequency Of Long Numbers
    By RowanB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2013, 05:18 AM
  4. Replies: 3
    Last Post: 10-27-2012, 04:16 AM
  5. Remove Duplicate Addresses
    By Sbova0226 in forum Excel General
    Replies: 9
    Last Post: 07-06-2009, 04:15 PM
  6. Determining duplicate entries and frequency
    By Tissy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-20-2009, 10:08 PM
  7. finding duplicate addresses
    By diamonds in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-21-2006, 06:40 PM

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