+ Reply to Thread
Results 1 to 8 of 8

How to combine multiple SUMIFS (Name Manager)

  1. #1
    Registered User
    Join Date
    08-14-2020
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    5

    How to combine multiple SUMIFS (Name Manager)

    Hello, I am currently working with SUMIFS and COUNTIFS multiple conditions and wondering if there is a way to make the formula shorter.

    Basically I have 2 groups of conditions; the first one is time conditions which is use repeatedly and second are other conditions such as gender, product category etc. that keep changing depend on what we want to find out in those time period.

    Currently I repeat all condition every time I want to find out something.
    Put it into 1 formula (as below capture) using IFS (time value match) + SUMIFS(each time condition and other condition) and that make it every long. If I want to find out something else besides gender for example, I have to repeat the whole IFS and all SUMIFS time condition again and change other conditions.

    I'm thinking, if I am able to put the times condition (All time, year, month, week, day, today) in Name Manager and call that argument instead of typing the whole thing out every time that would make it shorter and easier. However, I couldn't find the way to put that idea into practice. Any recommendation?

    How do I rephrase my formula so that I can use Name Manager to help with time conditions. Please find the excel file in attached.

    Thank you so much!

    Capture.PNG
    Attached Files Attached Files
    Last edited by swtone; 06-22-2022 at 06:57 AM.

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: How to combine multiple SUMIFS (Name Manager)

    Please try

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-14-2020
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    5

    Re: How to combine multiple SUMIFS (Name Manager)

    That's one interesting formula. Thank you! I assume the Name Range Idea isn't practical, is it?

  4. #4
    Registered User
    Join Date
    08-14-2020
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    5

    Re: How to combine multiple SUMIFS (Name Manager)

    May I ask what is ,0 and ,9^9 at the end of the expression do?
    And if I create a workbook using Switch function as a part of the formula, when I share it with people who use older versions will it still working or they will see error?

    Thank you!
    Last edited by swtone; 06-22-2022 at 11:30 AM.

  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,464

    Re: How to combine multiple SUMIFS (Name Manager)

    See: https://support.microsoft.com/en-us/...5-d532ec4aa25e

    Short answer: yes it will error on older versions of Excel
    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


  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: How to combine multiple SUMIFS (Name Manager)

    date >=0 and date <=9^9 => All Time


    For old version

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-14-2020
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    5

    Re: How to combine multiple SUMIFS (Name Manager)

    Quote Originally Posted by Bo_Ry View Post
    date >=0 and date <=9^9 => All Time


    For old version

    Please Login or Register  to view this content.
    Thank you so much for your help!

  8. #8
    Registered User
    Join Date
    08-14-2020
    Location
    Thailand
    MS-Off Ver
    365
    Posts
    5

    Re: How to combine multiple SUMIFS (Name Manager)

    Quote Originally Posted by TMS View Post

    Short answer: yes it will error on older versions of Excel
    Thank you! I wasn't sure because I once created a workbook using UNIQUE function and the person opening the workbook doesn't have 365 nor 2019 version but it didn't show errors. Inside the formula box look difference than what I see on my 365 though.

+ 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] How to combine SUMIFS and COUNTA?
    By kyber in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2021, 04:06 PM
  2. [SOLVED] How to combine SUMIFS and COUNTIFS
    By kyber in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-19-2021, 01:34 PM
  3. Combine mutliple SUMIFs
    By Shabbir0205 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2021, 03:28 PM
  4. Combine VLOOKUP and SUMIFS
    By kenrub1 in forum Excel General
    Replies: 33
    Last Post: 12-09-2019, 04:57 AM
  5. [SOLVED] How to combine multiple sumifs without using +
    By nir2500 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2019, 04:38 AM
  6. Sumifs With Name Manager
    By faisal.ta in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-23-2018, 02:53 PM
  7. sales manager & purchase manager sheets command button error
    By rana19 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 05-24-2016, 07:26 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