+ Reply to Thread
Results 1 to 7 of 7

Creating Query in MS Access with SUMIFS statements

  1. #1
    Forum Contributor
    Join Date
    09-21-2015
    Location
    nederland
    MS-Off Ver
    2021
    Posts
    203

    Creating Query in MS Access with SUMIFS statements

    Dear All,

    How do I translate SUMIFS statements from Excel to Access?
    I currently have this SUMIFS statement in Excel:

    =SUMIF(DataOrder!$A$2:$A$8;CustomerData!A2;DataOrder!$B$2:$B$8)

    How do I structure a query to accomplish what the SUMIFS statement accomplished?
    Please help how to creat the Query (Totaal Refund) the same as in EXCEL in to MS access ( zie attachment Excel en Ms access)


    Thank you in advance

    Kirana Wayan
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by kirana2014; 04-11-2021 at 11:50 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: SUMIFS statements

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    09-21-2015
    Location
    nederland
    MS-Off Ver
    2021
    Posts
    203

    Re: SUMIFS statements

    Hi, I want to make a database created in Excel also create in MS Acces, is this possible? How can I create a query in MS Acces

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Creating Query with SUMIFS statements

    Your thread title still makes NO reference to this having anything to do with Access integration with Excel, or whatever it is you are trying to do - please try again.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Creating Query in MS Access with SUMIFS statements

    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Creating Query in MS Access with SUMIFS statements

    If you are looking to sum for all the order numbers

    Please Login or Register  to view this content.
    If you only want order 612578900 then

    PHP Code: 
    SELECT DataOrder.IDDataOrder.OrderSum(DataOrder.[Amount refund]) AS [SumOfAmount refund], DataOrder.[Origin amount]
    FROM CustomerDataDataOrder
    GROUP BY DataOrder
    .IDDataOrder.OrderDataOrder.[Origin amount]
    HAVING (((DataOrder.Order)=612578900)); 

  7. #7
    Forum Contributor
    Join Date
    09-21-2015
    Location
    nederland
    MS-Off Ver
    2021
    Posts
    203

    Re: Creating Query in MS Access with SUMIFS statements

    Thank you for your help
    is working

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SUMIF and SUMIFS statements trying to build a report
    By Tobe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2016, 10:03 PM
  2. Combining If and Sumifs statements
    By bsteiner09 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2015, 09:21 AM
  3. Is it possible to include two sumifs statements into one function?
    By VBAhelp3456 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-01-2015, 04:36 AM
  4. [SOLVED] Amalgamate Multiple SUMIFS Statements Into One
    By kyjae in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-31-2014, 07:39 AM
  5. Excel 2007 : Multiply If statements and Sumifs
    By Batman11692003 in forum Excel General
    Replies: 0
    Last Post: 10-16-2011, 09:18 PM
  6. IF statements:SUMIF, SUMIFS and Ranges
    By gaznev2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2010, 02:00 AM
  7. Sumifs Questions - Multiple Statements
    By WorkMan in forum Excel General
    Replies: 2
    Last Post: 11-26-2009, 08:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1