# Countif

#### Jan Kalop

##### Active Member
What the formula would look like to preform task like that:

if i column A1:A50 any number equal to 3 then look i column D1:D50 and count cells with number 15

### Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

#### VoG

##### Legend
Try

=SUMPRODUCT(--(A1:A50=3),--(D1:D50=15))

#### Robert Mika

##### MrExcel MVP
=COUNTIFS(A1:A50,3,D1:D50,15)
Excel 07/10/13

Working 100%
Thanks a lot.

Replies
3
Views
288
Replies
5
Views
211
Replies
5
Views
100
Replies
5
Views
356
Replies
3
Views
68

1,195,716
Messages
6,011,276
Members
441,598
Latest member
chrispaulpearce

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

### Which adblocker are you using?

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

### Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back