+ Reply to Thread
Results 1 to 5 of 5

Dragging SUMIFS function through table changes the array reference?

  1. #1
    Registered User
    Join Date
    06-18-2020
    Location
    Arizona
    MS-Off Ver
    Office 365
    Posts
    90

    Dragging SUMIFS function through table changes the array reference?

    Hi all,

    As you can see through the attached file I have a simple SUMIFS function that is totaling the times on each date. I need to populate the table in its entirety but I can't do a simple fill operation to do this automatically, and dragging the formula over changes the arrangement of array references in the formula. Why is this? And how can I fill the rest of the table without manually changing the direct cell references? Is there a way to prevent the referenced arrays from changing when I try to drag the formulas over? Or is there a better way to fill the cells?

    I might add that simply creating a pivot table would not give me what I looking to achieve.

    Thanks!
    Attached Files Attached Files
    Last edited by cph020283; 06-07-2021 at 05:35 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Dragging SUMIFS function through table changes the array reference?

    Why not just use a Pivot Table - see attached.

    I guess your formulae aren't working since the dates on row 4 don't appear to be date numbers
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    06-18-2020
    Location
    Arizona
    MS-Off Ver
    Office 365
    Posts
    90

    Re: Dragging SUMIFS function through table changes the array reference?

    I need to sum the values in the original table, after which I will be building a pivot table from there. Using a pivot table to derive the summed values doesn't allow me to then pivot from that data. Hopefully that makes sense.

    The column headers are in a 'Date' format per the formatting selector - do I need to be doing something different? The formula works if I update these: I$4, and $H5 manually.

    Please Login or Register  to view this content.
    Last edited by cph020283; 06-07-2021 at 03:13 PM.

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

    Re: Dragging SUMIFS function through table changes the array reference?

    Don't drag.

    Select N5:NF6 by hold Ctrl+Shift then press right arrow and down arrow

    then
    Press F2 and press Ctrl+Enter

    or

    Press Ctrl+R and Ctrl+D

  5. #5
    Registered User
    Join Date
    06-18-2020
    Location
    Arizona
    MS-Off Ver
    Office 365
    Posts
    90

    Re: Dragging SUMIFS function through table changes the array reference?

    Quote Originally Posted by Bo_Ry View Post
    Don't drag.

    Select N5:NF6 by hold Ctrl+Shift then press right arrow and down arrow

    then
    Press F2 and press Ctrl+Enter

    or

    Press Ctrl+R and Ctrl+D
    Holy crap, yes!! The f2+ctrl enter trick worked perfectly. Thank you!!!

+ 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. Replies: 3
    Last Post: 06-08-2021, 05:41 PM
  2. Dragging SUMIFS function
    By docdee24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2015, 01:33 AM
  3. [SOLVED] SUMIFS/COUNTIFS array function question (multiple criteria)
    By akamenov88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2015, 07:08 PM
  4. [SOLVED] SumIfs in Table - Array Problem
    By Decar in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-10-2014, 08:07 PM
  5. SUMIFS and exclude Duplicates with a table reference
    By GOQC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-06-2013, 01:24 PM
  6. [SOLVED] Dragging SUMIFS formula
    By msworkman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2013, 12:11 AM
  7. Dragging Formula Down Rows, Changing Array Reference Across Columns
    By mpayne29 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-14-2013, 03:52 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