CountIf with And

Joined
Jan 7, 2013
Messages
1
Reaction score
0
Is there a way to make a statement that will count the following:

1. If cell g2 is populated, count 1in AF2
2. If cell g2 is populated AND cell h2 is populated, count 1 in AG2

These two I currently have with the following statements

IN AF2 I have =COUNTIFS($G2:$G29, $AD1, $H2:$H29, "")
In AG2 I have =COUNTIFS($G2:$G29, $AD1, $H2:$H29, ">0")


The last statement I need (i believe I will need to add on to the end of the first statement) will be a statement to add a tally if it equals to AD1, and the value in the "I" column on that row is less that the value in the "D" column of that row.
 

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

IF AND statements 6
Easier way to concatenate a row? 8
Excel A CountIF question... I think 2
multiple criteria date range 4
Countif with a Range of criteria 8
Formula Help 3
nested function 3
Excel Need Countifs Formula Help 0

Top