+ Reply to Thread
Results 1 to 2 of 2

SUMIFS with table and sheets

  1. #1
    Registered User
    Join Date
    03-26-2019
    Location
    oslo
    MS-Off Ver
    MS Office 2016
    Posts
    1

    SUMIFS with table and sheets

    I am trying to use sumifs formula between two sheets and tables, but gets error.
    What have I done wrong in following formula?

    =SUMIFS(Table1[Value];Table1[House];D:D;F:F;I25)

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: SUMIFS with table and sheets

    Quote Originally Posted by excel_93 View Post
    What have I done wrong in following formula?
    Three things.

    =SUMIFS(Table1[Value];Table1[House];D:D;F:F;I25)
    Sum Range: Table1[Value]
    Criteria 1: Table1[House]
    Criteria 1: D:D
    Range 2: F:F
    Criteria 2: I25

    1) There's no guarantee that Sum Range 1, Range 1, and Range 2 are the same length. If the ranges are different sizes, the formula will throw the #VALUE! error. You need some kind of data handling to make sure these ranges are the same size; for example, if the tables are both generated off the same indexes, then they would implicitly be the same length.

    2) In fact, because you're feeding an entire column (!) to Range 2, it's almost certainly much, much larger than the other two. Feeding an entire column into a function is a bad practice. This is an example of why.

    3) Also, you're feeding the entire column D:D into Criteria 1. It will only assess the first value, so practically it's comparing to D1, not down column D or whatever.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

+ 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 from different sheets
    By hanksh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-06-2019, 12:10 PM
  2. [SOLVED] Sumifs multiple sheets
    By aneliya in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-26-2017, 06:46 AM
  3. [SOLVED] sumifs over varing sheets
    By hänschendampf in forum Excel General
    Replies: 21
    Last Post: 04-08-2016, 07:50 AM
  4. [SOLVED] SUMIFS across multiple sheets
    By keith740 in forum Excel General
    Replies: 12
    Last Post: 06-08-2015, 04:51 PM
  5. SUMIFS across 2 sheets
    By soph239 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-12-2015, 11:43 AM
  6. [Question] Sumifs multiple sheets with flexible sheets reference
    By tranhaithang in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-29-2014, 04:53 AM
  7. Sumifs across sheets
    By bestephens in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-25-2011, 01:58 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