+ Reply to Thread
Results 1 to 4 of 4

Totaling multiple criteria on different worksheets

  1. #1
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2016
    Posts
    7

    Totaling multiple criteria on different worksheets

    Hello all, I am not sure if I am even using the correct formula or if the there is a better one suited for my needs. I have a report that has a Customer column, Product column and an inventory quantity column. Here is an example of the formula I am using to collect data from another sheet in the workbook:

    =COUNTIFS('Ordered Product'!$A$2:$A$249,"Customer Name",'Ordered Product'!$F$2:$F$249,"Product")

    The formula accurately counts the amount of times the product shows up with the customer name. The problem is that some of the times when the product shows up in the list, its actually a negative. So for example, it shows up twice in the report, once as a 1 and once as a -1. The formula counts 2 instead of 0. How can I sum the number within the formula to accurately count the inventory?
    Last edited by Tekk72000; 06-17-2016 at 05:32 PM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Countifs formula

    Use SUMIFS instead, with the column that contains the 1 / -1 values as the sum range.

    Also could you please edit your thread title to something more meaningful in line with forum rules, and bear in mind for next time that we should really request that you change it before providing an answer.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Countifs formula

    =SUMIFS ????

    if your require summation quantity order rather number (count) of times ordered.

  4. #4
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2016
    Posts
    7

    Re: Countifs formula

    I apologize. I will make sure to do better in the future. Thank you for your help.

+ 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. [SOLVED] HELP: Countifs Formula
    By Muthukumarang in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2015, 08:45 AM
  2. COUNTIFS Formula
    By spuri78 in forum Excel Formulas & Functions
    Replies: 69
    Last Post: 02-17-2015, 11:43 AM
  3. [SOLVED] Need help with COUNTIFs formula
    By pazuuu in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-22-2014, 10:05 AM
  4. [SOLVED] Countifs Formula
    By Zipmeister in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-31-2014, 03:49 PM
  5. COUNTIFS OR...multiple countifs without duplication in the numbers
    By HooligaD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-21-2012, 09:53 AM
  6. Replies: 0
    Last Post: 12-16-2011, 09:01 AM
  7. help on COUNTIFS formula
    By guyzk1 in forum Excel General
    Replies: 4
    Last Post: 02-08-2011, 06:05 PM

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