Count cells if next column has text

J

jecelyn45

Hi! I want to count the cells at column M only if it has text in column O. How can I do that?

Example:

Column M Column N Column O
15555555 Smith, John
 
D

dcxtxtxtxt

Hi! I want to count the cells at column M only if it has text in column O.. How can I do that?
It isn't really clear just what goes on in other rows, but assuming that Col M can contain either numbers (or text) and blanks and Col O can contain either text (or numbers) and blanks and you want to count how many rows there are which have something in both Col M and Col O then you can use the array formula
=SUM(NOT(ISBLANK(M:M))*NOT(ISBLANK(O:O)))Type it in and use Ctrl+Shift+Enter instead of Enter.

xt
 
C

Claus Busch

Hi,

Am Wed, 10 Jul 2013 14:48:06 -0700 (PDT) schrieb (e-mail address removed):
Column M Column N Column O
15555555 Smith, John

to count the cells:
=SUMPRODUCT(--(M2:M1000<>""),--(ISTEXT(O2:O1000)))
to sum the cells:
=SUMPRODUCT(--(ISTEXT(O2:O1000)),M2:M1000)


Regards
Claus B.
 

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

Top