Consulting

Results 1 to 4 of 4

Thread: Solved: Excel formula needed for if or countif or both

  1. #1

    Solved: Excel formula needed for if or countif or both

    How would I write this statement?

    if column AF6:AF200 = true for "CRA" then count the number of times the word "*Not*" appears in column AO6:AO200

    Brenda is banging her head again.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try

    =SUMPRODUCT(--(AF6:AF200="CRA"),--(ISNUMBER(SEARCH("Not",AO6:AO200))))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Perfect, can I have some of your brain cells, please.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You're joking, they are disappearing fast enough as it is
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •