Results 1 to 2 of 2
  1. #1
    chan069 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    5

    IFF Statements Excel to Access

    Is it possible to rewrite the below formula for access?

    =IIf(AND([Au]>0.95,[As]<1.0,[K]<1.0,[S]<0.1),"SHG",
    IIf(AND([Au]>0.85,[As]<0.8,[K]<0.95,[S]<0.2),"HG",
    IIf(AND([Au]>0.75,[As]<0.7,[K]<0.90,[S]<0.3),"MO",
    IIf(AND([Au]>0.65,[As]<0.6,[K]<0.85,[S]<0.4),"DO",
    IIf(AND([Au]>0.55,[As]<0.5,[K]<0.80,[S]<0.5),"DOA",
    IIf(AND([Au]>0.45,[As]<0.4,[S]<0.60),"DOS",
    IIf(AND([Au]>0.35,[As]<0.3,[K]<0.70,[S]<0.7),"LG",
    IIf(AND([Au]>0.25,[As]<1.0,[K]<0.65,[S]<0.8),"BAS",
    IIf(AND([Au]>0.15,[S]<0.90),"BA",
    IIf(AND([S]>0.95),"BA_DO",
    IIf(AND([Au]<0.05),"R"
    )))))))))),"NA")



    Regards,

    Chan

  2. #2
    chan069 is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    5
    switch([Au]>0.95 AND[As]<1.0 AND[K]<1.0 AND[S]<0.1,"SHG",
    [Au]>0.85 AND[As]<0.8 AND[K]<0.95 AND[S]<0.2),"HG")....................................... .

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 10
    Last Post: 12-28-2012, 02:06 PM
  2. Replies: 4
    Last Post: 12-17-2012, 01:21 PM
  3. If Then Statements in Access
    By kkyork in forum Access
    Replies: 3
    Last Post: 05-16-2012, 11:39 AM
  4. Replies: 3
    Last Post: 09-14-2011, 05:27 PM
  5. Replies: 1
    Last Post: 08-31-2009, 10:24 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums