I ran into a problem with pivot table not recognizing date fields when they are null. I created a date column in a table using a formula that assigns a null if the condition is FALSE. What I discovered that assigning a """" (null) to a cell is not they same as a cell where I delete the value. The formula created null cell is a Type 2 and cell where the null value is deleted is a Type 1 (Type function). If I do a compare of the 2 cells, they are equal (=cell1 = cell2 returns a true). The cells where the null cells were deleted are treated as dates perfectly in a pivot table. The others null cells created by the formula are not recognized as dates in the pivot table. You can also try this...create one null cell with a formula and the other by deleting the contents of a cell cell. Then do a month(...) function of the 2 cells ... you get a value error in null cell created by the formula and a 1 in the other with the contents deleted. WHY? How do I use the table data with the null formula in a pivot tables (I need the Month Rollup and I can't group the null formula date cells)?
PS: Hopefully this makes sense ... See example below
PS: Hopefully this makes sense ... See example below
A1 | B1 | C1 | D1 | E1 | F1 | G1 | H1 |
FormulaText | NOT FORMULA | =IF(C3=0,"") | NOT FORMULA | =D3=E3 | =MONTH(D3) | =MONTH(E3) | |
Value/Formual | 0 | TRUE | #VALUE! | 1 |