Results 1 to 3 of 3
  1. #1
    hahahaha is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    May 2019
    Posts
    1

    Formula that require 'cell selecting'

    I am using windows 7 32-bit and access 2016. Its for work. I simply need to key in a formula that is like Excel's version of '=IF(A3>A2, "YES", "NO")'
    I cant seem to find this information anywhere.


    I have tried using queries but I still do not know how to solve for 'A3' and 'A2' in Access.
    Using Excel is very laggy since I have about 25k rows of data...

    Is it possible to have such formula in Access? Or I have no choice but to do it in Excel?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    if you are attempting to create a formula in a query using data elements on a table

    Test: iif([Field1] > [Field2], "Yes", "No")

    If you are attempting to test values on a form

    Test: iif([forms]![formname]![fieldname] > [forms]![formname]![fieldname2], "Yes", "No")

    if you are attempting to test values on a form and return the value on the form (not in a query)

    the control source property would be

    =iif([fieldname] > [fieldname2], "Yes", "No")

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

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

Similar Threads

  1. Selecting a specific cell in a table
    By roaftech in forum Programming
    Replies: 5
    Last Post: 09-18-2017, 02:32 AM
  2. new here - question about "cell" based formula
    By alpha754293 in forum Access
    Replies: 6
    Last Post: 10-24-2013, 05:24 PM
  3. Replies: 2
    Last Post: 09-26-2012, 04:22 AM
  4. error while selecting last cell from access vba
    By allenjasonbrown@gmail.com in forum Access
    Replies: 1
    Last Post: 06-30-2011, 04:01 PM
  5. Can we post Access cell data to Excel cell properties?
    By Zethro in forum Import/Export Data
    Replies: 1
    Last Post: 12-13-2005, 08:42 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