# Pivot Table sums

#### NealGowdy11

##### New Member
I have 2 column with a simple formula: if A1 has "ITO" in it then B1 = 1, if A1 has "OTR" in it then C1 = 1. Thats fine, but when i add these Fields into a pivot table it sums up all the cells in B1 and C1, not just how many "1s" are in them but the sum also includes the blank cells. Basically when it is summing up it is counting formulas even if the cell remains blank.

### Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
 I have 2 column with a simple formula: if A1 has "ITO" in it then B1 = 1, if A1 has "OTR" in it then C1 = 1. Thats fine, but when i add these Fields into a pivot table it sums up all the cells in B1 and C1, not just how many "1s" are in them but the sum also includes the blank cells. Basically when it is summing up it is counting formulas even if the cell remains blank. bcol ccol 1 1 Total Total Grand Total Data 1 Sum of bcol 3 3 0 0 3 colAheader bcol ccol Sum of ccol 0 0 6 6 6 ITO 1 OTR 1 OTR 1 ITO 1 OTR 1 OTR 1 ITO 1 OTR 1 OTR 1

<colgroup><col><col span="3"><col><col span="2"><col><col><col><col span="2"></colgroup><tbody>
</tbody>

Replies
13
Views
236
Replies
1
Views
230
Replies
0
Views
572
Replies
0
Views
111
Replies
0
Views
183

1,203,460
Messages
6,055,557
Members
444,797
Latest member
18ecooley

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