Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2015
    Posts
    11

    Array functions in Access Fields (Tricky one)

    Good morning/afternoon/evening: I was wondering if you can help me with the following: I'm trying to create array functions which would take as argument, the fields in my tables. I'm trying to create the kind of functions you would in Excel by typing ctrl+shift+enter. What I nedd these functions to do is something like COUNTIFS, AVERAGEIFS, SUMIFS, MAXIFS, and many other functions like that. Is this possible in ms Access 2013? Is there a manual I could use to create these kind of functions?

    I'm attaching an example of what I would like to do. The table in the Excel file contains blue columns that are the columns in my Access table. The orange columns are the CALCULATED FIELDS I would like to insert!!!. Since the number of records in my table are going to be growing, I need the calculated field to dynamically update and take all the fields.

    I would really appreciate if you could help me!!!!

    Thanks Access gurus
    Attached Files Attached Files

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    you do this in a query, with
    COUNT, AVG, SUM, MAX

    count([field])
    max([field])

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Research aggregate GROUP BY (Totals) queries. Use the query builder. Basic Access functionality.

    Alternative is to build a report using its Sorting & Grouping features with aggregate calcs in group header/footer sections. This allows display of detail info as well as summary calcs.

    You would not have fields in table that require updating. These calcs would be done when needed by opening query or report.
    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: 8
    Last Post: 08-12-2015, 03:06 PM
  2. take access table into array
    By jo15765 in forum Macros
    Replies: 6
    Last Post: 07-25-2014, 07:29 PM
  3. Replies: 2
    Last Post: 01-20-2014, 02:04 PM
  4. Replies: 3
    Last Post: 06-28-2013, 12:30 PM
  5. Replies: 2
    Last Post: 01-08-2013, 04:59 PM

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