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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Is there a symbol for blank cell?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

caicaifish

China
Posts

Posted - 10/15/2006 :  6:58:38 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.0
Operating System:Windows XP

Is there a symbol for blank cell? when I do logic calculation, if the result is No, I wish the origin can return a blank cell!

Best wishes

zachary_origin

China
Posts

Posted - 10/15/2006 :  9:35:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It is NANUM, which represents a missing value.

Zachary
OriginLab Technical Services.

Edited by - zachary_origin on 10/16/2006 12:38:04 AM
Go to Top of Page

Laurie

USA
404 Posts

Posted - 10/19/2006 :  5:53:20 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If this were the Origin C forum, then NANUM would be the complete answer; however, since this is the Origin forum and you might be writing a logic calculation from the Extract Worksheet dialog or from Labtalk script then let me elaborate.

Using NANUM from LabTalk works because NANUM is not a defined variable. Not defined or assigned a value means when used it will automatically return a 'missing value'. Using NANUM will then work in your logic statement as long as you don't assign it some value. You could then use any variable that hasn't been defined. I could say the following:

if(col(B)[1] == cow) type -b "The value is missing!";

As long as I haven't previously assigned cow some value then an attention dialog will open saying "The value is missing!".

To check for a missing value you could also use 0/0.

if(col(B)[1] == 0/0) type -b "The value is missing!";

You can also use 0/0 to assign a missing value to any cell. For example:
col(B)[2]=0/0;

OriginLab Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000