Results 1 to 20 of 20

Return count of Postal Code based unique value

Threaded View

  1. #15
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Return count of Postal Code based unique value

    Maybe it will help:
    try
    1. copy postal values into another column
    2. select this range
    3. from the ribbon: DATA >>> DATA TOOLS >>> Remove Duplicates
    4. in the next column use formula:
    =SUM(IF(FREQUENCY(IF($A$2:$A$7<>"",MATCH($A$2:$A$7,$A$2:$A$7,0)),ROW($A$2:$A$7)-ROW($A$2)+1)>0,--($B$2:$B$7=H2))) with CSE & drag down

    OR

    (with your example)
    in D2: =IFERROR(INDEX($B$2:$B$7,MATCH(0,COUNTIF($D$1:D1,$B$2:$B$7),0)),"") array entered and drag down
    in E2: =IF(D2="","",SUM(IF(FREQUENCY(IF($A$2:$A$7<>"",MATCH($A$2:$A$7,$A$2:$A$7,0)),ROW($A$2:$A$7)-ROW($A$2)+1)>0,--($B$2:$B$7=D2)))) array entered and drag down

    CSE or array entered = ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Attached Files Attached Files
    Last edited by sandy666; 05-31-2017 at 07:15 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create unique # of worksheets based on list count with unique names
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2016, 09:51 AM
  2. Postal Code List
    By KhalidIraq in forum Excel General
    Replies: 4
    Last Post: 01-09-2015, 10:39 AM
  3. Return Unique Items based on Count ans descending
    By jhall488 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2014, 04:30 PM
  4. [SOLVED] Count unique entries based off unique criteria in another column
    By hambly in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-11-2014, 03:33 PM
  5. Extract Postal code
    By terrysoper1973 in forum Excel General
    Replies: 10
    Last Post: 09-18-2011, 01:10 PM
  6. Postal Code Format
    By naive_nadeem in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-07-2011, 01:44 PM
  7. Validation of Postal Code
    By Veronika in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-16-2005, 05:45 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