Need two different data types to give me a total

S

silk723

I'm not an Excel expert, but I'm pretty sure there's a formula for what I
need to obtain a total.

I need to determine what my total (count?) would be if d2:d30="x" and
g2:g30=not blank.

Can anyone help me determine the formula to get this total?

Thanks in advance.
 
T

T. Valko

Try one of these...

Excel 2007 only:

=COUNTIFS(D2:D30,"x",G2:G30,"<>")

Any version of Excel:

=SUMPRODUCT(--(D2:D30="x"),--(G2:G30<>""))
 
S

silk723

I spoke too soon... :-(

The formula that Ashish provided worked, but there is a teeny problem - it's
giving me the total, minus one. My total should be 34, it's coming out 33.
I've checked all cells to make sure something wasn't hiding that I didn't
see, but nothing was there. Any idea as to what might cause the undercount?

Here's my formula:

="Total Number of Systems: "&SUMPRODUCT(($D$4:$D$58="ü")*($G$4:$G$58<>""))
 

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