PC Review


Reply
Thread Tools Rate Thread

change "true" and "false" to "availble" and "out of stock"

 
 
=?Utf-8?B?aW50aGVzdGFuZHM=?=
Guest
Posts: n/a
 
      19th Jul 2007
i am using a search formula =(NOT(ISERROR(SEARCH(C$1,A2)))) which returns a
true or false answer. I would like it to return answers of Available instead
of TRUE and out of stock for FALSE. How would I change the formula to do
this?

Thanks in advance,
inthestands
 
Reply With Quote
 
 
 
 
=?Utf-8?B?am9ldTIwMDRAaG90bWFpbC5jb20=?=
Guest
Posts: n/a
 
      19th Jul 2007
"inthestands" wrote:
> i am using a search formula =(NOT(ISERROR(SEARCH(C$1,A2))))
> which returns a true or false answer. I would like it to return
> answers of Available instead of TRUE and out of stock for FALSE.


=if(not(iserror(search(C$1,A2))), "Available", "Out of Stock")
 
Reply With Quote
 
Peo Sjoblom
Guest
Posts: n/a
 
      19th Jul 2007
=IF(ISNUMBER(SEARCH(C$1,A2)),"Available","Out of stock")


NOT(ISERROR())

is the same as ISNUMBER()

for the search/find functions

but it is less to write and one less function


--
Regards,

Peo Sjoblom


"inthestands" <(E-Mail Removed)> wrote in message
news:E7F510FC-EF0F-4D4F-B1B3-(E-Mail Removed)...
>i am using a search formula =(NOT(ISERROR(SEARCH(C$1,A2)))) which returns a
> true or false answer. I would like it to return answers of Available
> instead
> of TRUE and out of stock for FALSE. How would I change the formula to do
> this?
>
> Thanks in advance,
> inthestands



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Field Names: "LongName", "ShortName", "Code", "Description","Comments" PeteCresswell Microsoft Access 2 25th Feb 2009 11:41 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB Microsoft Excel New Users 7 13th May 2006 10:02 PM
IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") =?Utf-8?B?U291cmlz?= Microsoft Excel Programming 2 17th Aug 2005 05:33 AM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej Microsoft ASP .NET 0 4th Jun 2004 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 AM.