COUNTIF and then SUM in Same Function

  • Thread starter Thread starter wayne75
  • Start date Start date
W

wayne75

Can anybody tell me if I can do a countif and then within the same
formula do a basic sum i.e. Subtract 1 from the countif result (All
within the same cell).

Any help greatly appreciated

Many Thanks

Wayne
 
=COUNTIF(A1:A10,"a")-1

counts the occurance of string "a" in the range A1:A10 and then
subtracts 1 from it.

Mangesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top