# Counting Formula

#### Mote36

##### New Member
I need to count some results that have criterias in two diferents rows. I'm using excel 2000.

### Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Say you want to count on row 1 the cells that equal 1 and the cells on row 3 equal 3:

=SUMPRODUCT(--(\$A\$1:\$Z\$1=1),--(\$A\$3:\$Z\$3=3))

I need to count in A1:A10 all the values that are iquals to 23 in A1:A10 and iquals to 2008 in B1:B10.

Just change the ranges and conditions:

=SUMPRODUCT(--(\$A\$1:\$A\$10=23),--(\$B\$1:\$B\$10=2008))

Replies
12
Views
566
Replies
10
Views
141
Replies
6
Views
277
Replies
10
Views
261
Replies
3
Views
145

1,196,323
Messages
6,014,639
Members
441,833
Latest member
Rangerreeve

### 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.

### Which adblocker are you using?

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

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