Array Formula

M

Martina

Hello, I am working on an assignment and have problems with getting
the result I need using array formula. I have three columns: Vehicle
Type (e.g. Car, Moped) - data in E5:E104; Vehicle Colour (e.g. Blue,
Silver) - data in F5:F104; Residence (e.g. W1, EC4) - data in G5:G104.
I want to create a formula to see how many Blue Cars were registered
in W1? The formula I use is: =COUNT(IF($E$5:$E$104="Car",IF($F$5:$F
$104="Blue",IF($G$5:$G$104="W1")))) and then to make it into an array
formula press ctrl+shift and hit enter. Can anyone explain why I am
not getting anything, it says error? Thanks!
 
P

Pete_UK

You can only use COUNTIF (and SUMIF) if you have a single criteria.
Where you have more than one criteria you need to use SUMPRODUCT or an
array formula along the lines of

=SUM(IF((condition_1)*(condition_2)*(condition_3), ... , ...))

Hope this helps.

Pete
 

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


Top