+ Reply to Thread
Results 1 to 5 of 5

Formula for count excel text & number except repeat

Hybrid View

  1. #1
    Registered User
    Join Date
    03-13-2011
    Location
    Dhaka
    MS-Off Ver
    Excel 2003
    Posts
    11

    Formula for count excel text & number except repeat

    Dear Experts,
    Is there any formula to count excel text & number except repeating? for example-

    Column A
    Karim
    Rahim
    Azad
    Reaz
    Rahim
    Rahat
    Azad

    Here count value is 7 (counta(A1:A7) but I want to count 5 because "Azad & Rahim" is repeated. Pls help me if you know which formula count it except repeat cell value.

    Advance thank you

    Emran

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Formula for count excel text & number except repeat

    Hi,

    =SUMPRODUCT(1/COUNTIF(A1:A7,A1:A7))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Formula for count excel text & number except repeat

    hi Emran. try:
    =SUMPRODUCT((A1:A10<>"")/COUNTIF(A1:A10,A1:A10&""))

    do change your profile for your MS Off Version if you have upgraded. helps us give you newer & more efficient formulas

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,862

    Re: Formula for count excel text & number except repeat

    if your data is in A2:A8 (first row with header) use:

    =SUMPRODUCT(1/COUNTIF(A2:A8,A2:A8))

    PS. where sdfds is :-P

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Formula for count excel text & number except repeat

    A simple way is this. In B1 and copy down,use this.
    Formula: copy to clipboard

    =COUNTIF($A$1:A1,A1)


    Hide this column.

    Then use this.

    Formula: copy to clipboard
    =COUNTIF(B1:B7,1)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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] Formula to count the number of spaces before text/number is written in a cell.
    By kmis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-12-2013, 05:05 PM
  2. Count number of repeat stays
    By pphg in forum Excel General
    Replies: 11
    Last Post: 06-25-2012, 10:54 AM
  3. [SOLVED] Count number of days and formula with text result
    By joseph_yap22 in forum Excel General
    Replies: 4
    Last Post: 05-09-2012, 07:19 PM
  4. Repeat text in cells and add one to the number
    By kyleconnolly in forum Excel General
    Replies: 1
    Last Post: 02-16-2011, 10:16 PM
  5. Repeat values based on number count (without macro)
    By ibexcel in forum Excel General
    Replies: 7
    Last Post: 12-17-2009, 06:35 AM

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