+ Reply to Thread
Results 1 to 6 of 6

how to count similar values

  1. #1
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    209

    how to count similar values

    Dear All,

    please see attached file, my task is to count each department under D, how many similar values it has under A, B, and C then do a table with totals under F
    thanks for your usual help
    Attached Files Attached Files

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

    Re: how to count similar values

    How does Excel know that B = Guard?
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,478

    Re: how to count similar values

    Use this formula in E2:

    =COUNTIFS($A$2:$A$10,A2)+COUNTIFS($B$2:$B$10,$A2)+COUNTIFS($C$2:$C$10,$A2)

    then copy down as required.

    Hope this helps.

    Pete

  4. #4
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    209

    Re: how to count similar values

    how did he know how professional this answer was

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,478

    Re: how to count similar values

    If that means that your original question is satisfied, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    You might also like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2508 (Windows 11 Home 24H2 64-bit)
    Posts
    91,932

    Re: how to count similar values

    If that's what you want, I think it can be done like this as well:

    =SUMPRODUCT(($A$2:$A$10=$A2)+($B$2:$B$10=$A2)+($C$2:$C$10=$A2))

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED. You can also access the SOLVED tag by editing the opening post and choosing SOLVED from the drop-down to the left of the title box.

    Also, if you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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. Replies: 22
    Last Post: 04-15-2022, 08:08 PM
  2. Count Similar Values
    By excelingtoexcel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-24-2020, 01:01 PM
  3. count similar words
    By Nuviman in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-12-2017, 11:07 AM
  4. Finding similar but not identical values using COUNT and COUNTIF
    By krixtoffer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2011, 05:44 AM
  5. Count AND show similar values
    By Jexcel in forum Excel General
    Replies: 6
    Last Post: 02-26-2008, 08:50 AM
  6. Similar cell count?
    By taylorrandalls in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-03-2007, 03:03 PM
  7. How can I count similar word in raw?
    By Pinakeen Patel in forum Excel General
    Replies: 1
    Last Post: 03-09-2005, 05:06 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