Count formula help?

  • Thread starter Thread starter John
  • Start date Start date
J

John

I need to count the numbers of columns from A3:T3 which have any value
entered in the cell. I also in another cell need to count the non blank cells
but ignore any cells which contain the text dnb from columns A3:T3



Thanks for any help you can provide.

John
 
Hi,

It depends what you mean by 'value', this counts all populated cells

=COUNTA(A3:T3)

and this excludes dnb

=SUMPRODUCT((A3:T3<>"dnb")*(A3:T3<>""))

Mike
 

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

Similar Threads

copy date in a cell if within a date range 1
counting 2
how to get IF(OR) formula to recognize multiple cells 7
Hlookup 1
formula error 1
Count macro 2
How to choose maximum value 7
SUM / COUNT formula 3

Back
Top