+ Reply to Thread
Results 1 to 5 of 5

Sum or Sumif?

Hybrid View

  1. #1
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Sum or Sumif?

    Hi, using a formula to find some data from other sheet,
    =IFERROR(INDEX('Sheet1'!$S$1:$S$5000;MATCH(1;($I$6='Sheet1'!$J$1:$J$5000)*($H$9='Sheet1'!$G$1:$G$5000)*($G10='Sheet1'!$F$1:$F$5000);0));"")
    I wonder if i can find the total based on the criteria of the formula
    =IFERROR(SUM('Sheet1'!$S$1:$S$5000;MATCH(1;($I$6='Sheet1'!$J$1:$J$5000)*($H$9='Sheet1'!$G$1:$G$5000)*($G10='Sheet1'!$F$1:$F$5000);0));"")
    or
    =IFERROR(SUMIF('Sheet1'!$S$1:$S$5000;MATCH(1;($I$6='Sheet1'!$J$1:$J$5000)*($H$9='Sheet1'!$G$1:$G$5000)*($G10='Sheet1'!$F$1:$F$5000);0));"")
    Thanks in advance.

  2. #2
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Sum or Sumif?

    You can just use the Sumif without "Match"...

    Like:

    SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
    Sum range = Range you want to Sum
    Criteria Range = Range that you want to filter the first Criteira
    Criteria = Filter

  3. #3
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Re: Sum or Sumif?

    Gatti thank you very much for the solution! It was so simple..

  4. #4
    Valued Forum Contributor Gatti's Avatar
    Join Date
    06-08-2015
    Location
    Brasil, São Paulo, Ribeirão Preto
    MS-Off Ver
    365
    Posts
    346

    Re: Sum or Sumif?

    No problems =)
    Add reputation if possible.

    Thanks for the reply

  5. #5
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Re: Sum or Sumif?

    The first thing who did after testing the formula was the rep my friend..

+ 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. SumIf formula or Sumif with pivottable combined question
    By mcgleeuw in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2015, 01:05 PM
  2. Replies: 4
    Last Post: 12-04-2014, 02:06 PM
  3. Subtracting from the SUMIF with the difference from the SUMIF range
    By iamblue91 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-04-2014, 09:01 PM
  4. [SOLVED] sumif i know , sumif with fix cell i dont know
    By makinmomb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-05-2014, 04:22 PM
  5. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  6. SUMIF or SUMIF's formula with multiple criteria
    By jackiemariee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 06:19 PM
  7. Nested SUMIF statement or multiple SUMIF's
    By Dan27 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2009, 06:55 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