+ Reply to Thread
Results 1 to 7 of 7

SUMIFS and OFFSET

  1. #1
    Registered User
    Join Date
    08-03-2016
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    5

    SUMIFS and OFFSET

    Hi everybody, i know the topic has been up a few times, but i still cant solve the problem

    I am trying to do a sumifs fucktion, where the sumarea is defined as a offset funtion, but it does not work.. Does anyone have a solution?

    My formula says:
    =SUMIFS(OFFSET(Ind.CC!Q1;(Ind.CC!B25)-1;0;1;9999);Ind.CC!$1:$1;BS$4;Ind.CC!$2:$2;$A$2;Ind.CC!$11:$11;$A$3)
    if i just choose row 27 instead of the offset function i does work..

    I hope someone can help me

  2. #2
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: SUMIFS and OFFSET

    from the "Excel Help":
    Unlike the range and criteria arguments in the SUMIF function, in the SUMIFS function, each criteria_range argument must contain the same number of rows and columns as the sum_range argument.
    Ranges like $1:$1, $2:$2 are clearly not the same size as "OFFSET(Ind.CC!Q1;(Ind.CC!B25)-1;0;1;9999)"

  3. #3
    Registered User
    Join Date
    08-03-2016
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    5

    Re: SUMIFS and OFFSET

    Thanks it works now..

    For any interessted, i the right formula is:

    =SUMIFS(OFFSET(Ind.CC!Q1;(Ind.CC!B25)-1;0;1;800);Ind.CC!Q1:AEJ1;BS$4;Ind.CC!Q2:AEJ2;$A$2;Ind.CC!Q11:AEJ11;$A$3)

    Now both the sum_range and the criteria goes from Q to AEJ (800 columns)

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: SUMIFS and OFFSET

    Hi, welcome to the forum

    why are you using OFFSET for this, what are you trying to do?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    08-03-2016
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    5

    Re: SUMIFS and OFFSET

    Hi and thanks

    I get some data i have to sort out, but the data does not have the same lenght every time. There is always new models, with different grades.
    The data comes in a x and y axis (like a two way tabel)
    So i use the Match function to find the row number the item is in (the Ind.CC!B25 in the offset refers to the match)
    Then i do a sumifs to get orders of that model in a specific model..

    Do you know a easier way to do it?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: SUMIFS and OFFSET

    Maybe. Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

  7. #7
    Registered User
    Join Date
    08-03-2016
    Location
    Denmark
    MS-Off Ver
    2016
    Posts
    5

    Re: SUMIFS and OFFSET

    Sorry the late answer.. Out server was down yesterday due to some maintaince...How can upload a file?

+ 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. Need help with sumifs and offset
    By jlyh11 in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 10-29-2015, 11:32 PM
  2. [SOLVED] Offset/vlookup in a sumifs function
    By kakaman in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-09-2015, 05:32 AM
  3. sumifs + offset formula issue
    By jw01 in forum Excel General
    Replies: 6
    Last Post: 02-11-2015, 11:05 AM
  4. Dragging SUMIFS but need ranges to offset
    By LK0001 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-06-2014, 09:57 AM
  5. [SOLVED] SUMIFS with a dynamic, offset criteria range
    By adelcap in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-22-2014, 05:35 AM
  6. Help with OFFSET/MATCH/SUMIFS formula
    By brianjluke in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-22-2013, 10:02 AM
  7. User Defined Function using Sumifs, Offset, Match and CountA
    By PeterW2020 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-29-2011, 02:29 AM

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