Results 1 to 2 of 2
  1. #1
    Dan T is offline Novice
    Windows 8 Access 2016
    Join Date
    Aug 2016
    Posts
    13

    Access Validation Formulas

    Hi There.

    Now i know you are unable to enter excel formulas into access.

    I am trying to create a calculated result into a cell on a table.

    FilterID FilterPartNumber CostPrice RRP SellPrice
    1 Z543 $54 $86



    In the SellPrice Column, Id like to be able to perform the following calculation.

    IIf([RRP]*0.9>[CostPrice]*1.2,[RRP]*0.9,[CostPrice]*1.2)

    Essentially, I try give all my customers 10% discount off Recommended Retail Price (RRP), But i do not want to give them the discount if it is cutting into my 20% profit.

    Thank you in advance for your assistance.

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    as you have written it, the formula should work. However calculated fields in tables is generally not a good idea and in this instance could create problems down the line. What you should be doing is calculating in a query and store the actual value, not the calculation. Why? because down the line, business gets better and you want to give customers 15% discount if you can (rather than 10%) - result would be all your previous transactions will change.

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

Similar Threads

  1. Moving Sumif formulas into Access
    By Magnolia1 in forum Access
    Replies: 7
    Last Post: 06-19-2016, 07:56 PM
  2. IF(AND) Formulas for Access
    By harvella in forum Access
    Replies: 3
    Last Post: 05-05-2015, 11:39 PM
  3. calculation formulas in access
    By Hovoruha Octavian in forum Access
    Replies: 1
    Last Post: 03-19-2015, 10:18 AM
  4. Access formulas
    By Joseph Cheong in forum Access
    Replies: 12
    Last Post: 07-25-2014, 10:40 AM
  5. Replies: 4
    Last Post: 02-20-2014, 02:40 PM

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