+ Reply to Thread
Results 1 to 5 of 5

formula returning sum based on different criteria

  1. #1
    Registered User
    Join Date
    07-09-2019
    Location
    Lancaster, England
    MS-Off Ver
    16.16.9 Excel
    Posts
    2

    formula returning sum based on different criteria

    I am trying to find the sum of 4 columns based on two different criteria. I have the formula for two columns but when I try to include two other columns it doesn't work.

    Is this anything that someone can help me with. I want to include two more columns to the formula.

    =SUM(IF('Entry Sheet'!$E$18:$E$517='Entry Sheet'!W52,IF('Entry Sheet'!$F$18:$F$517=$N$9,IF('Entry Sheet'!$M$18:$M$517>0,'Entry Sheet'!$M$18:$M$517),0),0),0
    Last edited by queenpoetica; 07-09-2019 at 06:09 PM.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: formula returning sum based on different criteria

    Hi

    See if this regular formula helps you to include the new columns

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-09-2019
    Location
    Lancaster, England
    MS-Off Ver
    16.16.9 Excel
    Posts
    2

    Re: formula returning sum based on different criteria

    I've just tried that and it gave me a massive sum that was incorrect.


    It returned 114,980.40 I was expecting it to return something like 150.00

  4. #4
    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,891

    Re: formula returning sum based on different criteria

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    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

  5. #5
    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,916

    Re: formula returning sum based on different criteria

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here, I will provide a link this time.)

    https://www.excelguru.ca/forums/show...01-If-formulas
    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.

+ 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. Returning a value based on multiple criteria
    By Alexander Willey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2017, 03:54 PM
  2. Writing a formula for returning a text value based on multiple criteria
    By DataAnalyst215 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-27-2016, 06:55 PM
  3. Returning a value based on several criteria
    By cklemme in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2015, 06:34 PM
  4. [SOLVED] Returning Value Based on Two Criteria
    By amvolz in forum Excel General
    Replies: 6
    Last Post: 01-16-2015, 11:45 AM
  5. Returning value based on two criteria
    By ConfusedaboutVBA in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2013, 11:41 PM
  6. Returning a value based on certain criteria
    By stait in forum Excel General
    Replies: 5
    Last Post: 12-21-2011, 02:03 PM
  7. Returning Results Based on Two Criteria
    By [email protected] in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-23-2005, 10:05 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