Counting data in columns

M

Mike Fellows

ok ive struggled with this all morning and i cant do it


i have 2 columns

A and B

A can contain any of the following RTB, In Progress, Live

B contains a Date but can also be empty

I want to count column B (dates) where Column A is equal to RTB

but i have no idea how to do this

Example of Spreadsheet

A B
RTB 01/01/2003
Live 01/02/2003
RTB 01/02/2003
RTB 01/12/2003
Live 02/12/2003
RTB
RTB 01/01/2003
Live 01/10/2003


Total RTB count = 4

hope that helps

Thanks


Mike Fellows
 
M

Max

Try something like : =SUMPRODUCT((A1:A1000="RTB")*(B1:B1000<>""))

Adjust the range references, e.g.: A1:A1000, to suit.
(Both col ranges need to be identical and you can't use entire columns)
 

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