+ Reply to Thread
Results 1 to 3 of 3

Countif Formula

  1. #1
    Registered User
    Join Date
    10-30-2008
    Location
    Sydney
    Posts
    2

    Countif Formula

    I have tried a number of formulas that I have located on google without success. I am trying to create a formula that will count the cells in two columns that contain specific information.

    I wish to count cells in column A that have a -1 at the end of the numbers in the cell. Eg 154879-1 and also has, in column J a text string that starts with A/C eg A/C-cmn or A/C-ah

    Any help would be greatly appreciated as it will reduce my work load by 3 hours per week.

    Regards

    Duncan of Sydney (Aus)

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Hello Duncan,

    Try using SUMPRODUCT like this

    =SUMPRODUCT(--(RIGHT(A1:A100,2)="-1"),--(LEFT(J1:J100,3)="A/C"))

  3. #3
    Registered User
    Join Date
    10-30-2008
    Location
    Sydney
    Posts
    2

    Thanks

    Thanks daddylonglegs.

    Worked perfectly, thanks for your help

+ 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