+ Reply to Thread
Results 1 to 5 of 5

How to build Formula for countif

  1. #1
    Registered User
    Join Date
    08-10-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2007
    Posts
    34

    How to build Formula for countif

    Hi Guys

    Please refer attached attached

    I have formula to "sumif" I was trying to use "countif" the same way but does not appear to work

    Any help would be greatefully accepted

    Regards

    Bill
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Dunc3142's Avatar
    Join Date
    09-05-2007
    Location
    Franklin OH
    MS-Off Ver
    2000 and 2007 and 2010 @ Home & Teach 2010
    Posts
    351

    Re: How to build Formula for countif

    Think I got what you want.
    Attached Files Attached Files
    Yes it will. we just have to figure out how...
    If I have helped you, PLEASE click the * and add to my Rep.
    Also, if the problem is SOLVED please mark it as so.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: How to build Formula for countif

    try this, copied down...

    =IF(A3<>A2,COUNTIF($A$2:$A$16,A2),"")

    adjust ranges as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,893

    Re: How to build Formula for countif

    Try this and copy down
    =IF(A3<>A2,COUNTIF($A$2:$A$16,A2),"")
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  5. #5
    Registered User
    Join Date
    08-10-2011
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: How to build Formula for countif

    Thank you all so much for you help
    ALL work fine for my need

    Cheers
    Bill

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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