+ Reply to Thread
Results 1 to 3 of 3

Countif to recognise different text

  1. #1
    Registered User
    Join Date
    10-12-2008
    Location
    Melbourne, Australia
    Posts
    55

    Countif to recognise different text

    Hello again,

    I am using countif to count a range of cells D10:D34 returning a PB as a result of a formula in Col D. The countif formula (=Countif(D10:D34,"PB") is in cell D39 and the result in D39 populates a cell in another worksheet. The formula in Col D also returns =PB results. I have placed another Countif formula in cell D41 (result to also populate a cell in another worksheet) to count all =PB's using (=Countif(D10:D34,"=PB"). The second countif doesn't work correctly. It counts all PB's and =PB's. Any suggestions.

    Thanks
    RunHard.
    Last edited by RunHard; 07-01-2009 at 07:57 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Countif to recognise different text

    Perhaps

    =COUNTIF(D10:D34,"?PB")

  3. #3
    Registered User
    Join Date
    10-12-2008
    Location
    Melbourne, Australia
    Posts
    55

    Re: Countif to recognise different text

    DonkeyOte,

    Exactly what I was after.

    Thanks once again

    RunHard

+ 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