Hello,
Was trying to optimize a sumproduct formula that uses date comparison conditions. The following formula works fine:
=SUMPRODUCT(SUMIFS(PerAct,Entity,--(INDIRECT("EntLst")),Date,INDIRECT("D1"),Date, INDIRECT("D2"),Account,--(INDIRECT($A4))))
D1 is a cell with a date formatted as >=04/30/2016 and
D2 is a cell with a date formatted as <= 05/31/16.
But when I add --(indirect("D1")) and --(indirect("D2") to the above formula it does not yield accurate results only zeros.
PerAct, Entity, Date and Account are named ranges in a table. Does anyone have any ideas on why the date range doesn't want to be optimized?
Thanks, Tom C
Was trying to optimize a sumproduct formula that uses date comparison conditions. The following formula works fine:
=SUMPRODUCT(SUMIFS(PerAct,Entity,--(INDIRECT("EntLst")),Date,INDIRECT("D1"),Date, INDIRECT("D2"),Account,--(INDIRECT($A4))))
D1 is a cell with a date formatted as >=04/30/2016 and
D2 is a cell with a date formatted as <= 05/31/16.
But when I add --(indirect("D1")) and --(indirect("D2") to the above formula it does not yield accurate results only zeros.
PerAct, Entity, Date and Account are named ranges in a table. Does anyone have any ideas on why the date range doesn't want to be optimized?
Thanks, Tom C