Results 1 to 4 of 4
  1. #1
    harvella is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2015
    Posts
    4

    IF(AND) Formulas for Access

    Hi,

    I'm really hoping somebody can help me out with this problem. I'm starting to learn access and converting clunky Excel files over. I've figured a lot out but I'm having trouble with this one.



    I need to insert a calculated field where there are two columns (% TY and % LY) and return a Yes or No depending on whether they fall between 25% and 90%.

    This is the Excel formula =IF(AND(% LY>".25",% LY<.90)*AND(% TY>.25,% TY<.90),"Y","N")
    Side note: I didn't write this, it was existing in a file when I got it.

    Any help would be so very much appreciated. I can't find anything online and I'm pretty sure it's because I don't know how to ask the question correctly.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    This should get you started:

    =IIf(FieldName > .25 AND FieldName < .9, "Yes", "No")
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    harvella is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    May 2015
    Posts
    4
    THANK YOU, THANK YOU, THANK YOU!!!! This is a big help.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Happy to help and welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. calculation formulas in access
    By Hovoruha Octavian in forum Access
    Replies: 1
    Last Post: 03-19-2015, 10:18 AM
  2. Access formulas
    By Joseph Cheong in forum Access
    Replies: 12
    Last Post: 07-25-2014, 10:40 AM
  3. Replies: 4
    Last Post: 02-20-2014, 02:40 PM
  4. Replies: 4
    Last Post: 12-17-2012, 01:21 PM
  5. Replies: 1
    Last Post: 08-31-2012, 04:41 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