Reputation: 2861
Ok I have a table on a worksheet which has some columns for some calculations
PPS | Qty | TtlPrice | Comm | Fee | Ttl | format
Column Definitions
Numeric(9,5)
Numeric(12,0)
PPS * Qty
=IF([@PPS] > 1, -SUM(0.005 * [@Qty]), 0)
=SUM([@TtlPrice]:[@Fee])
Problem is that when I evaluate the Fee
column it actually does the inverse of what you would think. Any value above 1
is evaluated as True
in the conditional clause section which then evaluates -Sum(.005*[@Qty])
instead of 0
and the vice is true, any PPS less than 1
is evaluated to False
.
Is there a quirk that i havent noticed before when dealing with row reference in tables of Excel that would cause this nature?
Upvotes: 0
Views: 143
Reputation: 5439
Have you tried this for your fee?
=IF([@PPS] > 1, 0, -SUM(0.005 * [@Qty]))
Your question's confused me a bit, so please comment if i'm missing something and i'll revise/ delete my answer.
Upvotes: 2