Results 1 to 2 of 2
  1. #1
    Luddy is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Nov 2013
    Posts
    2

    create a formula in query or report in access for inventory

    I need help to create a formula in query or in the report for a decrease in inventory status after an order is entered.
    I did create one in excel and i would like to duplicate this in the query if it can be done.

    Example: IN EXCEL =J2-SUMIF(C$2:sC2,C2,G2:G2)

    ......C2.............................. G2............... J2....... K2
    [Part Number] [Date] [Quantity Ordered] [InStock] [Stock Left]
    848888...........4-3-14.......... 100....................200..........100<-------------after order is in

    848888...........5-2-14.......... 50......................200......... 50
    848888...........6-2-14.......... 75......................200.........-25



    55000............4-30-14.........300.....................400..........100
    55000............5-29-14..........200....................400.........-100

    I am sending a Attachment as well to show what i did in excel.
    So I need a formula to work in access query or report if it can be done.

    Thank you
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Would have to know more about the Access structure.

    Consider http://allenbrowne.com/AppInventory.html

    Have you looked at the Access Desktop Product Inventory Database template?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 7
    Last Post: 01-16-2014, 09:17 AM
  2. Replies: 1
    Last Post: 11-20-2013, 03:10 PM
  3. Excel Formula into Access Query
    By dr4ke in forum Queries
    Replies: 7
    Last Post: 06-25-2012, 06:46 AM
  4. Replies: 2
    Last Post: 08-25-2010, 01:42 PM
  5. access query formula
    By simpleman in forum Queries
    Replies: 6
    Last Post: 11-26-2009, 09:13 AM

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