# Count If - Find total sum not how many its displayed?

#### Jacko058

##### Board Regular
I have a formula,

It pulls how many times some data is displayed but what I want is the sum of the data.

So in row F:F it may be 1, 2, 2, 2, 1
Which = 8
Sum is pulling = 5

What am I doing wrong?

Code:
``=COUNTIFS(Data!C:C,Summary!A2,Data!F:F,">0")``

### Excel Facts

Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I have a formula,

It pulls how many times some data is displayed but what I want is the sum of the data.

So in row F:F it may be 1, 2, 2, 2, 1
Which = 8
Sum is pulling = 5

What am I doing wrong?

Code:
``=COUNTIFS(Data!C:C,Summary!A2,Data!F:F,">0")``

try SUMIF

Replies
7
Views
327
Replies
2
Views
68
Replies
4
Views
234
Replies
2
Views
525
Replies
0
Views
107

1,203,099
Messages
6,053,522
Members
444,669
Latest member
Renarian

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