B
Brennan
I am using the DSUM function to pull data from a table. In some cases, there
isn't data for a particular criteria. When that happens, it seems to create
a null value for the entire equation. Is there a way to overcome this?
Here is an example of what I mean:
=DSum("[Net Amount - US]","MFGCosts","[FML Account Code *] = 5000 and [FML
CSUB Account Code *]=1000 and [Accounting Period *]=200804")+DSum("[Net
Amount - US]","MFGCosts","[FML Account Code *] = 5000 and [FML CSUB Account
Code *]=1001 and [Accounting Period *]=200804")+DSum("[Net Amount -
US]","MFGCosts","[FML Account Code *] = 5000 and [FML CSUB Account Code
*]=1002 and [Accounting Period *]=200804")
In this example, the final CSUB of 1002 doesn't have any data for that
particular criteria in the 200804 period. In other periods, it may have data
so I want to make sure I capture it.
Brennan
isn't data for a particular criteria. When that happens, it seems to create
a null value for the entire equation. Is there a way to overcome this?
Here is an example of what I mean:
=DSum("[Net Amount - US]","MFGCosts","[FML Account Code *] = 5000 and [FML
CSUB Account Code *]=1000 and [Accounting Period *]=200804")+DSum("[Net
Amount - US]","MFGCosts","[FML Account Code *] = 5000 and [FML CSUB Account
Code *]=1001 and [Accounting Period *]=200804")+DSum("[Net Amount -
US]","MFGCosts","[FML Account Code *] = 5000 and [FML CSUB Account Code
*]=1002 and [Accounting Period *]=200804")
In this example, the final CSUB of 1002 doesn't have any data for that
particular criteria in the 200804 period. In other periods, it may have data
so I want to make sure I capture it.
Brennan