I have an Excel pivot table using an Access table as the external data source. In the Access table a particular numeric field (Field1) has many null values.
In the pivot table, I have added a calculated field called "Upper" with the formula being Field1 + Field2. If the Field1 value is null, I want the Upper value to be null, but at the moment the pivot table seems to treat the null values as zero, and a value is displayed. For example, if Field1 is null, and Field2 is 320, I want the calculated field to return null, but it is returning 320.
I've tried changing the calculated field formula to: IF(Field1="","",Field1+Field2)
But the pivot table still sees the null value as zero (not "") and returns a value.
Is there any way to make the pivot table return null (or an error) in the 'Upper' calculated field if Field1 in the Access table is null?
And does anyone know why the pivot table treats Field1's null values as zero when used in the formula of a calculated field, but as null when actually brought into the pivot table as a data field?
In the pivot table, I have added a calculated field called "Upper" with the formula being Field1 + Field2. If the Field1 value is null, I want the Upper value to be null, but at the moment the pivot table seems to treat the null values as zero, and a value is displayed. For example, if Field1 is null, and Field2 is 320, I want the calculated field to return null, but it is returning 320.
I've tried changing the calculated field formula to: IF(Field1="","",Field1+Field2)
But the pivot table still sees the null value as zero (not "") and returns a value.
Is there any way to make the pivot table return null (or an error) in the 'Upper' calculated field if Field1 in the Access table is null?
And does anyone know why the pivot table treats Field1's null values as zero when used in the formula of a calculated field, but as null when actually brought into the pivot table as a data field?