+ Reply to Thread
Results 1 to 7 of 7

SUMIFS bringing REF error?

  1. #1
    Forum Contributor
    Join Date
    01-28-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    147

    SUMIFS bringing REF error?

    Hi All,
    Please advise if I have the right formula in cell D3 of sheet 1, or please advise where I am going wrong.
    I want it to pick up all values from the TB by currency (column E) and account number (column B).
    Am I going wrong because of multiple currencies or accounts?
    Attached is a example.
    Thanks All

    Regards

    Nim
    Attached Files Attached Files

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

    Re: SUMIFS bringing REF error?

    Please try at D3
    =SUMIFS(TB!$Z:$Z,TB!$B:$B,$B4,TB!$E:$E,D$1)

  3. #3
    Forum Contributor
    Join Date
    01-28-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    147

    Re: SUMIFS bringing REF error?

    Thankyou so much. Can i ask why i Index Match was not required and if you know what formula I would use to calculate columns F-Y instead of the total column Z?

    Regards

    Nim

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,029

    Re: SUMIFS bringing REF error?

    Whilst I would use Bo_Ry's suggestion, with your formula it would be
    =IFERROR(SUM(INDEX(TB!$F$9:$Y$4000,MATCH(D$1&"|"&$B3,TB!$E$9:$E$4000&"|"&TB!$B$9:$B$4000,0),)),"")

  5. #5
    Forum Contributor
    Join Date
    01-28-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    147

    Re: SUMIFS bringing REF error?

    Thankyou to both, i can see why! Thanks again though to both for solving my query.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,029

    Re: SUMIFS bringing REF error?

    You're welcome & thanks for the feedback.

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

    Re: SUMIFS bringing REF error?

    SUMIFS works with same range size $Z:$Z !$B:$B $E:$E these are 1 column

    calculate columns F-Y
    Try this in D3
    =SUM(INDEX(TB!$F$12:$Y$3543,MATCH($B4&R$1,TB!$B$12:$B$3543&TB!$E$12:$E$3543,),))

+ 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 bringing VALUE error?
    By nimv1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-04-2020, 03:11 PM
  2. if statement bringing up error
    By eddiej90 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-28-2017, 06:41 AM
  3. Countif bringing back Value Error.
    By Cbirchfi in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-06-2016, 01:09 PM
  4. Button in a form keeps bringing up a Compile error
    By Kellise in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2016, 05:42 PM
  5. Help with userform code looping and bringing error
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-11-2015, 06:02 AM
  6. Macro code to show userform bringing runtime error 1004
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2015, 02:59 AM
  7. SUMIFS Error
    By xourico24 in forum Excel General
    Replies: 8
    Last Post: 11-10-2014, 08:56 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