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

    Post Calculating a new field using a formula

    See table below:

    Date UV


    03/21/02 10.3
    04/07/02
    05/08/03

    I want to use a formuale to calculate UV at each date after 03/21
    i.e 04/07 UV = 10.3 * (1.06)^((04/07 - 03/21))/365
    05/08 = calculated value from 04/07 * (1.06)^((05/08-04/07)/365)

    Does anyone know how I can do this?
    Thanks a million!

  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,521
    Here's a way to get the date from the previous record into the current record so you can work with it:

    http://allenbrowne.com/subquery-01.html#AnotherRecord
    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. Querying a formula based field
    By George in forum Access
    Replies: 11
    Last Post: 04-10-2013, 04:52 PM
  2. Replies: 1
    Last Post: 06-09-2012, 05:27 PM
  3. formula refer to header field
    By poire in forum Database Design
    Replies: 3
    Last Post: 06-02-2012, 08:22 PM
  4. Formula field
    By vidplaylist in forum Access
    Replies: 1
    Last Post: 12-07-2011, 04:37 PM
  5. Formula field
    By vidplaylist in forum Queries
    Replies: 3
    Last Post: 12-06-2011, 03:45 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