stickleprojects Level: Moderator

 Registered: 09-09-2002 Posts: 891
|
Re: Comparing 2columns of array in MSflexgrid
Hi,
Can you be a bit clearer?
I note from your code that if COL1=COL2 and COL2=COL1 then you do something.. is that correct?
Can you update your example? You say "if there is no change, then the value should be zero", however, your table clearly shows values of 0.3 and 0.8 ro COL8 and COL9.
What is the value of the 1st 2 columns value?
What condition must be met?
It would be helpful if you gave a walkthrough of your calculations and results.
Example:
Row Value1 Value2
1 1 2
Value1 = Value2, therefore no calculation required
Row Value1 Value2
2 2 5
Value1 <> Value2, therefore calculation required, etc.
Thanks
Kieron
____________________________
Build it better, faster, quicker, easier.. then fix it (non-offical MS mission statement)
|