+ Reply to Thread
Results 1 to 5 of 5

sumifs function help

  1. #1
    Registered User
    Join Date
    03-03-2015
    Location
    Denmark
    MS-Off Ver
    2011
    Posts
    12

    sumifs function help

    Hello Experts

    I have to program a Excel command that sums of a column but only if the particular column sections is not blank. I have no clue how to fix this.


    See attached file

    Thank you for your help

    example.xlsx

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,076

    Re: sumifs function help

    Are you just limited to this 3 section (A1:A5, A6:A10, A11:A15) grid or is this part of some bigger spreadsheet with lots more sections?
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    03-03-2015
    Location
    Denmark
    MS-Off Ver
    2011
    Posts
    12

    Re: sumifs function help

    No, I have around 30 sections

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,076

    Re: sumifs function help

    Here's one way.
    Use a Helper column
    in E1
    =IF(MOD(ROW()-1,5)=0,(COUNTA(D2:D5)<>0)+0,"")

    Then for the grand total
    =SUMPRODUCT((A1:A15*E1:E15))

    Just expand the ranges as required.

  5. #5
    Registered User
    Join Date
    03-03-2015
    Location
    Denmark
    MS-Off Ver
    2011
    Posts
    12

    Re: sumifs function help

    I need it to be in one command. Helping columns will not Work out for me, because I have a lot of columns

+ 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] Using large function based on sumifs function
    By jeosen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-26-2015, 08:20 AM
  2. SUMIFS and OR function
    By bridge4444 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-08-2014, 07:20 AM
  3. [SOLVED] Sumifs / or function help
    By HATLET in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2014, 11:06 AM
  4. Help nesting an OR function inside a SUMIFS function
    By wes228 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-21-2014, 06:22 PM
  5. [SOLVED] SUMIFS function?
    By jed38 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2012, 04:33 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