+ Reply to Thread
Results 1 to 5 of 5

Sumifs countifs

  1. #1
    Registered User
    Join Date
    08-16-2022
    Location
    atlanta ga
    MS-Off Ver
    excel 2021
    Posts
    36

    Sumifs countifs

    How can i tell excel to do a sumifs but add like a countifs?

    Currenly have this

    =COUNTIFS(Data!$M:$M,">5",Data!$M:$M,"<10",Data!$U:$U,'Event Summary (2)'!$E8,Data!$B:$B,'Event Summary (2)'!$D8)

    and want to add another column that says count these units if the price is less than 5 but greather than 10, that column would be in data column O which has units

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,781

    Re: Sumifs countifs

    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.

  3. #3
    Registered User
    Join Date
    08-16-2022
    Location
    atlanta ga
    MS-Off Ver
    excel 2021
    Posts
    36

    Re: Sumifs countifs

    attached is the file, please help
    Attached Files Attached Files

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Sumifs countifs

    I believe this is what you are looking for...

    =SUMIFS(Data!$O:$O,Data!$M:$M,">5",Data!$M:$M,"<10",Data!$U:$U,$B8,Data!$B:$B,$A8)

    What was changed from the COUNTIFS to make it sum is highlighted in blue.
    Note that I changed D8 and E8 to A8 and B8 to match the sample that you shared with us.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Sumifs countifs

    This can't happen:
    … if the price is less than 5 but greather than 10, …
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. SUmifs / countifs?
    By IsabellaLearning in forum Excel General
    Replies: 2
    Last Post: 11-09-2017, 05:52 PM
  2. Countifs or sumifs
    By jyadayada in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-26-2017, 07:59 AM
  3. Help on SUMIFS and COUNTIFS
    By NDmad in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-24-2016, 05:14 PM
  4. [SOLVED] COUNTIFS and SUMIFS
    By EmilVictor in forum Excel General
    Replies: 6
    Last Post: 07-16-2015, 10:22 AM
  5. [SOLVED] Tell me about countifs & sumifs
    By keshavtale in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-29-2015, 09:01 AM
  6. Countifs or Sumifs
    By RalstonT14612 in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 11-30-2014, 02:02 PM
  7. Sumifs and countifs
    By JohnGault82 in forum Excel General
    Replies: 3
    Last Post: 02-03-2011, 05:31 PM

Tags for this Thread

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