The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Blank cell in a wks

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
medusale Posted - 01/04/2007 : 10:23:23 AM
Origin Version (Select Help-->About Origin): 7.5G
Operating System: Win XP

Hi ! I want to filter my worksheet with a certain threshold value. If the number in the cell is higher than this threshold value the value should be kept, if it's lower the cell should be left blank.
What's the sign or sysmbol I can use for this blank cell ?
This blank cell should not be treated as a zero or as not existing because I want to calculate the mean of all cells afterwards.
Maybe someone can help with this. Thanks !
2   L A T E S T    R E P L I E S    (Newest First)
medusale Posted - 01/08/2007 : 08:08:58 AM
Thanks a lot ! I will try this !
Mike Buess Posted - 01/04/2007 : 12:05:59 PM
Origin's symbol for missing value is '--' and the missing value itself is called NANUM...

double test(double x, double dThreshold)
{
return x > dThreshold ? x : NANUM;
}
quote:
This blank cell should not be treated as a zero or as not existing because I want to calculate the mean of all cells afterwards.


Missing values are ignored in most statistical calculations such as Data_sum.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 01/04/2007 12:09:15 PM

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000