Comparing and potentially adding two fields

A

Avi

In Excel 2003 I have two field ranges (E6:E1000) and (T6:T1000)

The first column will either be blank, "Open" or "Close"
The second column will either be blank or a number (0,1,2,3,..)

I have been trying to figure out a statement (countif does not help)
that looks at the two field ranges (respectively line for line) and if
the first field is "Close" and the second field is "0" then it adds a
1.

For example:

Row......E........T
06......Open......3
07......Close.....0
08......Open......0
09......Open......1
10......Close.....3
11......Close.....0

The formula (in the above info) should return a count of 2, because
there are two rows that have the statements "CLOSE" AND "0"

Thanks in advance,

Avi
 

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