DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Value dependent calculation??

Hi, I couldn't find a method to make a calculation in Diadem, which affects only one row in the table.  What I need, is to calculate the value of 2 cells dependent on the value of a third one (<, = or >) and to save the calculated value in a new column.  And this shall continue, until the end of the column is reached.  Can someone help me with the VBA code??  Thanks in advance.
 
Sincerely yours, Hristo Arnaudov
0 Kudos
Message 1 of 3
(3,644 Views)
Hello Hristo Arnaudov,

You can create a loop over channel 3, check the value with the function ChD and depending on the result you calculate channel 1 or channel 2. But you can use the formula calculater too. And that's much faster than the loop. Please find attached an example.

Greetings
Walter
Download All
0 Kudos
Message 2 of 3
(3,640 Views)
🙂 Thanks a lot, the calculator expresion is realy easier to use.
0 Kudos
Message 3 of 3
(3,625 Views)