+ Reply to Thread
Results 1 to 6 of 6

SUMIFS and OFFSET

  1. #1
    Forum Contributor
    Join Date
    07-10-2020
    Location
    New Zealand
    MS-Off Ver
    365 personal
    Posts
    306

    SUMIFS and OFFSET

    Hi

    I am using a SUMIFS. One criteria is a cell in the left top corner which I have made absolute cell ref.. Each time I copy the formula I want the formula to use the criteria in the relative position.

    On the attached the second instance of the SUMIFS has 102 in cell m4 whereas the first instance had it in H4. I want the second instance to use the cell containing the 102

    Does teh solution involve OFFSET ? - if so how ?

    Thank You
    Attached Files Attached Files
    Last edited by AllisterB; 05-20-2023 at 08:03 AM.

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,062

    Re: SUMIFS and OFFSET

    I6
    =SUMIFS(Table1[Value],Table1[Dept],LOOKUP(2,1/($A$4:I$4<>""),$A$4:I$4),Table1[FY],I$5,Table1[Item],$H6)

    J6
    =SUMIFS(Table1[Value],Table1[Dept],LOOKUP(2,1/($A$4:I$4<>""),$A$4:I$4),Table1[FY],J$5,Table1[Item],$H6)

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

    Re: SUMIFS and OFFSET

    Please try at
    I6

    =SUMIFS(Table1[Value],Table1[Dept],MAX(G4:J4),Table1[FY],I5:J5,Table1[Item],$H$6:$H$9)
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    07-10-2020
    Location
    New Zealand
    MS-Off Ver
    365 personal
    Posts
    306

    Re: SUMIFS and OFFSET

    A usual Bo_Ry a nice elegant solution.

    I am curious as to what part of the Formula generates the Dynamic Array?

    Allister

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

    Re: SUMIFS and OFFSET

    Red part

    =SUMIFS(Table1[Value],Table1[Dept],MAX(G4:J4),Table1[FY],I5:J5,Table1[Item],$H$6:$H$9)

  6. #6
    Forum Contributor
    Join Date
    07-10-2020
    Location
    New Zealand
    MS-Off Ver
    365 personal
    Posts
    306

    Re: SUMIFS and OFFSET

    Thank You Bo_Ry - great to understand this

+ 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] Sumifs with Offset
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-03-2022, 06:51 AM
  2. Sumifs offset?
    By Apaka in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-24-2021, 07:19 AM
  3. Sumifs with offset and match
    By acruthi in forum Excel General
    Replies: 3
    Last Post: 01-27-2020, 05:06 PM
  4. [SOLVED] SUMIFS with OFFSET
    By mikey3580 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-11-2019, 12:12 PM
  5. SUMIFS with offset
    By vijaysgh in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-17-2018, 03:25 PM
  6. SUMIFS and OFFSET
    By Serhattem in forum Excel General
    Replies: 6
    Last Post: 08-04-2016, 02:23 AM
  7. Need help with sumifs and offset
    By jlyh11 in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 10-29-2015, 11:32 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