count G4:G51 for critera only if D4:D51 contains text data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I make this work? I want the answer to be a number.

Column D contains individual names
Column G contains certain criteria.
I can count the criteria in column G with countif, but I only want it to
total if column D contains text data. For an example,
If d17 has no data, do not count what is in G17.

IDEAS???
 
See answer to your previous post, it is always better to wait a little while
to check answers to your post

--
Regards,

Peo Sjoblom

(No private emails please)
 
=SUMPRODUCT(--(NOT(ISNUMBER(D1:D100))),--(D1:D100<>""),--(G1:G100="criteria"
))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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