Frage

Ok I have a table on a worksheet which has some columns for some calculations

PPS | Qty | TtlPrice | Comm | Fee | Ttl | format

Column Definitions

  • PPS - straight Numeric(9,5)
  • Qty - straight Numeric(12,0)
  • ttlPrice - PPS * Qty
  • Comm - Standard flat rate
  • Fee - =IF([@PPS] > 1, -SUM(0.005 * [@Qty]), 0)
  • Ttl - =SUM([@TtlPrice]:[@Fee])
  • format - Conditional formatting control column

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top