V
Vj
Guys,
Past few days I'm Struggling with Calculation of Total, based on the Type of
Holder.
formula as follows
SumI= IIf([TypeofHolding].[Value]="I",IIf([%ofholding]>4.9999,([%ofholding])))
SumP= IIf([TypeofHolding].[Value]="P",IIf([%ofholding]>4.9999,([%ofholding])))
Holder Type % Holding SumI SumP TotI
TotP Total(I&P)
P 4
Error Error
I 6 6
I 8 8
P 12
12
For TotI I tried different formulas, I am getting error or Blank cell.
TotI= Sum([SumI]
TotI=Sum(Nz(SumI))
Total= CDbl(Sum([SumI]))
TotI=Dsum("SumI", "TableName", "CompanyID=" & CompnayID")
Total(I&P)=sum([TotI])+Sum([TotP])
CompanyID is Unique, for each company it has different Share Holder's
All the above fields, Datatype's are Double.
Please Help me out, Thanks
Vj
Past few days I'm Struggling with Calculation of Total, based on the Type of
Holder.
formula as follows
SumI= IIf([TypeofHolding].[Value]="I",IIf([%ofholding]>4.9999,([%ofholding])))
SumP= IIf([TypeofHolding].[Value]="P",IIf([%ofholding]>4.9999,([%ofholding])))
Holder Type % Holding SumI SumP TotI
TotP Total(I&P)
P 4
Error Error
I 6 6
I 8 8
P 12
12
For TotI I tried different formulas, I am getting error or Blank cell.
TotI= Sum([SumI]
TotI=Sum(Nz(SumI))
Total= CDbl(Sum([SumI]))
TotI=Dsum("SumI", "TableName", "CompanyID=" & CompnayID")
Total(I&P)=sum([TotI])+Sum([TotP])
CompanyID is Unique, for each company it has different Share Holder's
All the above fields, Datatype's are Double.
Please Help me out, Thanks
Vj