+ Reply to Thread
Results 1 to 4 of 4

SUMIFS that skip columns

Hybrid View

  1. #1
    Registered User
    Join Date
    09-27-2021
    Location
    PL
    MS-Off Ver
    365
    Posts
    1

    SUMIFS that skip columns

    I have a workbook with multiple sheets. In the main sheet, I have to output SUMIFS according to the scheme:

    =SUMIFS('06PAZK'!C:C;'06PAZK'!B:B;$A3;'06PAZK'!A:A;$A$1)
    in next sheet formula should look like:

    =SUMIFS('06PAZK'!F:F;'06PAZK'!E:E;$A3;'06PAZK'!D:D;$A$1)
    next:

    =SUMIFS('06PAZK'!I:I;'06PAZK'!H:H;$A3;'06PAZK'!G:G;$A$1)
    and so on. So I have to jump 3 columns in the data sheet every time I copy a formula to the next column And so about 100 times. I've read a lot of threads already, but still can't get the formula to skip the columns properly. Anyone have an idea how to solve this?

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: SUMIFS that skip columns

    use
    Formula: copy to clipboard
    =SUMA.WARUNKÓW(PRZESUNIĘCIE('06PAZK'!C:C;0;(ARKUSZ(A1)-1)*3);PRZESUNIĘCIE('06PAZK'!B:B;0;(ARKUSZ(A1)-1)*3);A3;PRZESUNIĘCIE('06PAZK'!A:A;0;(ARKUSZ(A1)-1)*3);A1)

    English version:
    Formula: copy to clipboard
    =SUMIFS(OFFSET('06PAZK'!C:C,0,(SHEET(A1)-1)*3),OFFSET('06PAZK'!B:B,0,(SHEET(A1)-1)*3),A3,OFFSET('06PAZK'!A:A,0,(SHEET(A1)-1)*3),A1)



    It assumes that data is the last seet (and the sheets with formulas starts with the leftmost tab (first sheet). If that is not the case, change -1 to appropriate velue (appears 3 times in the formula)

    See tha attachmet
    Attached Files Attached Files
    Best Regards,

    Kaper

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

    Re: SUMIFS that skip columns

    Try

    Formula: copy to clipboard
    =SUMIFS(INDEX('06pazk'!$C:$XFD,,(COLUMN(A1)-1)*3+1),INDEX('06pazk'!$B:$XFD,,(COLUMN(A1)-1)*3+1),$A$3,INDEX('06pazk'!$A:$A,,(COLUMN(A1)-1)*3+1),$A$1)
    Last edited by JohnTopley; 09-27-2021 at 09:12 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,493

    Re: SUMIFS that skip columns

    Formula
    HTML Code: 

+ 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] Skip columns that do not contain a value or are errors
    By jeroenft in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2018, 08:37 AM
  2. [SOLVED] Lock & skip columns
    By I.am.Rustam in forum Excel General
    Replies: 2
    Last Post: 06-20-2016, 10:34 AM
  3. Replies: 2
    Last Post: 07-08-2014, 08:53 AM
  4. Skip Hidden Columns
    By morangeman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2014, 06:46 PM
  5. [SOLVED] Skip columns in a formula?
    By Vihral in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-05-2013, 12:22 PM
  6. [SOLVED] How to skip unwanted columns
    By Webster_John in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-23-2013, 12:47 PM
  7. Excel 2007 : Skip columns on condition
    By nlm in forum Excel General
    Replies: 3
    Last Post: 11-25-2011, 01:44 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