PC Review


Reply
Thread Tools Rate Thread

IN and IIF functions

 
 
=?Utf-8?B?Qg==?=
Guest
Posts: n/a
 
      24th Dec 2006
How do I use the IN and IIF functions together? I am trying to have the
expression look into a particular field and find certain items and return a
description if ithe item is found.
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      24th Dec 2006
B,

I think I would prefer to do it like this...
IIf([Particular Field]="Certain Item 1" Or [Particular Field]="Certain
Item 1","a description","nothing")

--
Steve Schapel, Microsoft Access MVP

B wrote:
> How do I use the IN and IIF functions together? I am trying to have the
> expression look into a particular field and find certain items and return a
> description if ithe item is found.

 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      24th Dec 2006
On Sat, 23 Dec 2006 16:45:01 -0800, B <(E-Mail Removed)>
wrote:

>How do I use the IN and IIF functions together? I am trying to have the
>expression look into a particular field and find certain items and return a
>description if ithe item is found.


By correctly configuring the expression to do what you want with the
data that you have.

Since we do not know what "certain items" or what "description" you
are referring to, it's more than a bit difficult to answer.

John W. Vinson[MVP]
 
Reply With Quote
 
David F Cox
Guest
Posts: n/a
 
      24th Dec 2006
Does your version of Access have the SWITCH function?

SWITCH(test1,result1, test2, result2, ....)

"B" <(E-Mail Removed)> wrote in message
news:0244BC8B-5C7A-40C1-AD96-(E-Mail Removed)...
> How do I use the IN and IIF functions together? I am trying to have the
> expression look into a particular field and find certain items and return
> a
> description if ithe item is found.
>



 
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
How to convert cell formula functions to code functions Adnan Microsoft Excel Misc 1 1st Oct 2008 08:30 PM
efficiency: database functions vs. math functions vs. array formula nickname Microsoft Excel Misc 2 14th Jul 2006 04:26 AM
Converting Oracle SQL functions to Access built-in functions GVR_Mike Microsoft Access 3 30th Jun 2006 12:33 AM
Conversion from Spreadsheet Toolkit functions (ESSV....) to EssBase API functions sujay Microsoft Excel Programming 0 5th Jun 2006 10:13 AM
Conditional Functions - logical functions based on volatile variables WorkerB5 Microsoft Excel Worksheet Functions 2 14th May 2004 11:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:34 AM.