COUNTING

M

Mike P.

how can i count using multiple criteria in a
worksheet..example

say i have a worksheet and in column A it is type of
car..column B is whether the car is new or used. How do i
count how many lets say trucks are used.

Car new
Truck used
Van new
Car new
Truck used
Truck new

please help.
 
R

Randall Roberts

place the following formula in the cell that you want your answer to
display in

=SUMPRODUCT((A1:A24="truck")*(B1:B24="used"))

the ranges must be of equal size replace the a1:a24 with the actually
range for the car truck column the same for the b:1:B24 for the new
used column
 

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