Excel 2010: if( , , "") not treated the same as blank for pivot table group by date
Posted
by
Confused
on Super User
See other posts from Super User
or by Confused
Published on 2012-06-04T03:31:58Z
Indexed on
2012/06/04
4:42 UTC
Read the original article
Hit count: 462
microsoft-excel
|excel-2010
I'm trying to group by date in an Excel 2010 pivot table.
The column with dates (i.e., the one want to group by), should be the latest date of 2 other columns if neither is null, or blank. i.e., with a formula like:
=IF(AND(A4 <> "", B4 <> ""), MAX(A4,B4), "")
Normally, this ""
in the IF()
formula acts the same as an empty cell. In this case, it is preventing me from grouping by date in the Pivot Table. If I filter the date column by (Blanks)
, then clear the contents of all those cells, then the pivot table does group by date ok. i.e., ""
is not being treated the same as an empty cell.
© Super User or respective owner