Forum Discussion

GayleComer's avatar
GayleComer
Copper Contributor
Aug 22, 2020
Solved

Formula to Count unique non-blank street addresses combined from two columns

I have a list of street addresses with the street address(number street, city, zip) in column B and the apartment number in column C. Some of the addresses (B & C together) are duplicates.

I need to insert a formula at the end of the list to count the number of unique addresses (that is B and C combined) in the list.

I am new to excel and need help.

Thank you,

Gayle

  • Hi GayleComer 

     

    thanks for sharing the sample data, construct the formula as below

     

    =COUNTA(UNIQUE($B$2:$B$21&$C$2:$C$21))

     

    Regards, Faraz Shaikh | MCT, MIE, MOS Master, Excel Expert

    If you find the above solution resolved your query don't forget mark as Official/Best Answer to help the other members find it more

     

5 Replies

  • Hi GayleComer 

     

    You can use the UNIQUE formula to get you result. 

     

     

    if you are still facing trouble please attach the sample file with your desired result entered manually 

     

    Regards, Faraz Shaikh | MCT, MIE, MOS Master, Excel Expert

    If you find the above solution resolved your query don't forget mark as Official/Best Answer to help the other members find it more

    • GayleComer's avatar
      GayleComer
      Copper Contributor

      ExcelExciting 

      Thank you for your response. Here is the sample spreadsheet:

      NameAddressAptOther   
      John Doe388 N Federal Hwy, Deerfield Beach, FL 33441101    
       388 N Federal Hwy, Deerfield Beach, FL 33441102    
      John Doe388 N Federal Hwy, Deerfield Beach, FL 33441103    
      Jane Doe388 N Federal Hwy, Deerfield Beach, FL 33441103    
      Baby Doe388 N Federal Hwy, Deerfield Beach, FL 33441103    
       388 N Federal Hwy, Deerfield Beach, FL 33441104    
       388 N Federal Hwy, Deerfield Beach, FL 33441105    
       388 N Federal Hwy, Deerfield Beach, FL 33441105    
       388 N Federal Hwy, Deerfield Beach, FL 33441106    
       392 N Federal Hwy, Deerfield Beach, FL 33441101    
       392 N Federal Hwy, Deerfield Beach, FL 33441101    
       392 N Federal Hwy, Deerfield Beach, FL 33441102    
       392 N Federal Hwy, Deerfield Beach, FL 33441103    
       392 N Federal Hwy, Deerfield Beach, FL 33441104    
       392 N Federal Hwy, Deerfield Beach, FL 33441104    
       392 N Federal Hwy, Deerfield Beach, FL 33441105    
       392 N Federal Hwy, Deerfield Beach, FL 33441106    
       394 N Federal Hwy, Deerfield Beach, FL 33441204    
       394 N Federal Hwy, Deerfield Beach, FL 33441205    
       394 N Federal Hwy, Deerfield Beach, FL 33441206    
       9 Unique addresses from the formula:  (=COUNTA(UNIQUE(C2:C21)))     
       "When the real answer is 15 unique addresses"     
      • ExcelExciting's avatar
        ExcelExciting
        MVP

        Hi GayleComer 

         

        thanks for sharing the sample data, construct the formula as below

         

        =COUNTA(UNIQUE($B$2:$B$21&$C$2:$C$21))

         

        Regards, Faraz Shaikh | MCT, MIE, MOS Master, Excel Expert

        If you find the above solution resolved your query don't forget mark as Official/Best Answer to help the other members find it more

         

Resources