<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:14pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"><span id="result_box" class="" lang="en"><span>I would like to add (+) three variables that contain missing values, but I
<span id="result_box" class="" lang="en"><span class="">need that during the sum disregarding the missing value,
</span></span>in the same way as the sum function.</span><br>
<span class="">Any suggestion?</span></span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>        varD = data(:,11) <br>
        varD@_FillValue = -999.00<br>
        varJ = data(:,0) <br>
        varJ@_FillValue = -999.00<br>
        varF = data(:,1) <br>
        varF@_FillValue = -999.00<br>
          <br>
        xmean = (varD+varJ+varF)</div>
<br>
<p></p>
</div>
</body>
</html>