C
cory
Hi
I have a table that i am trying to build some logic into the problem i run
into is this
___E20_______F20__________H20____
/ list price / base discount / Net price /
----------------------------------------------
in the net price cell i use the equasion =e20*(1-f20/100)
which works fine but IF i do not have a base discount THEN i do not want the
list price to move into the net price box becuase that number is used else
where and if no discount i do not want it used.
The best i can figure it needs to be something like
IF f20 <>0 THEN =e20*(1-f20/100) ELSE end
but that does not work. Dont even know if it is possible to do in the field
on the document or if i need to write something up in VB to do this. But if
i write it in VB how do i refer to the cells of a table?
Any help would be greatly appreciated.
I have a table that i am trying to build some logic into the problem i run
into is this
___E20_______F20__________H20____
/ list price / base discount / Net price /
----------------------------------------------
in the net price cell i use the equasion =e20*(1-f20/100)
which works fine but IF i do not have a base discount THEN i do not want the
list price to move into the net price box becuase that number is used else
where and if no discount i do not want it used.
The best i can figure it needs to be something like
IF f20 <>0 THEN =e20*(1-f20/100) ELSE end
but that does not work. Dont even know if it is possible to do in the field
on the document or if i need to write something up in VB to do this. But if
i write it in VB how do i refer to the cells of a table?
Any help would be greatly appreciated.