+ Reply to Thread
Results 1 to 13 of 13

Sumif with multiple Sum Range

  1. #1
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Sumif with multiple Sum Range

    I needs to get the Total invoice value in column BH with my sum ranges is in column AZ + column BB to column BG with criteria as column I.


    - Abhinav
    Last edited by abhinavbinkar; 12-14-2018 at 12:08 AM.

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Sumif with multiple Sum Range

    Are you happy with a pivot table?

  3. #3
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Sumif with multiple Sum Range

    Sir,

    I needs that as formula in column BH.

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Sumif with multiple Sum Range

    Its long but it works

    Please Login or Register  to view this content.
    edit : should have said put it in BH3 and drag down
    Happy with my advice? Click on the * reputation button below

  5. #5
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Sumif with multiple Sum Range

    It is working.

    Can we do it by Sumproduct function to shorten length of formula?

  6. #6
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Sumif with multiple Sum Range

    Quote Originally Posted by abhinavbinkar View Post
    It is working.

    Can we do it by Sumproduct function to shorten length of formula?
    Not to make it shorter I don't think. You would need to replace each
    SUMIF($I$3:$I$38,I3,$AZ$3:$AZ$38) with
    SUMPRODUCT(--($I$3:$I$38=I3),$AZ$3:$AZ$38)

    which is longer.

    You can't combine them all together in one sumproduct either as you want to add across the columns not multiply across the columns that match your invoice number.

  7. #7
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sumif with multiple Sum Range

    Hi,

    In BH3:

    =SUMPRODUCT(($I$3:$I$38=I3)*N(+$AZ$3:$BG$38))

    and copied down.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  8. #8
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Sumif with multiple Sum Range

    Quote Originally Posted by Crooza View Post
    Not to make it shorter I don't think. You would need to replace each
    SUMIF($I$3:$I$38,I3,$AZ$3:$AZ$38) with
    SUMPRODUCT(--($I$3:$I$38=I3),$AZ$3:$AZ$38)

    which is longer.

    You can't combine them all together in one sumproduct either as you want to add across the columns not multiply across the columns that match your invoice number.
    Thank you so much sir.

  9. #9
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Sumif with multiple Sum Range

    Quote Originally Posted by XOR LX View Post
    Hi,

    In BH3:

    =SUMPRODUCT(($I$3:$I$38=I3)*N(+$AZ$3:$BG$38))

    and copied down.

    Regards
    Thank you so much sir. This also worked perfectly.

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Sumif with multiple Sum Range

    Quote Originally Posted by Crooza View Post
    You can't combine them all together in one sumproduct either as you want to add across the columns not multiply across the columns that match your invoice number.
    Actually SUMPRODUCT is capable of this. See my answer.

    Quote Originally Posted by abhinavbinkar View Post
    Thank you so much sir. This also worked perfectly.
    You're welcome!

  11. #11
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Sumif with multiple Sum Range

    Dear Abhinav Binkar : While going through your attach file, i have notice that, you are attach your original sensitive data.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  12. #12
    Forum Contributor
    Join Date
    07-09-2013
    Location
    Nagpur, India
    MS-Off Ver
    Excel 2010 / 2013
    Posts
    293

    Re: Sumif with multiple Sum Range

    Quote Originally Posted by avk View Post
    Dear Abhinav Binkar : While going through your attach file, i have notice that, you are attach your original sensitive data.
    Sir,

    Can I now remove the attached file if possible?

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Sumif with multiple Sum Range

    You can edit your opening post - go advanced - manage attachments and remove the file yourself.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Sumif with multiple sum range
    By abhinavbinkar in forum Excel General
    Replies: 2
    Last Post: 12-12-2018, 07:42 AM
  2. [SOLVED] sumif with multiple sum range
    By Vivek2705 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-01-2018, 06:25 AM
  3. [SOLVED] SUMIF Multiple Columns Range
    By pugulis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2016, 07:47 AM
  4. SUMIF using a multiple-column range
    By Stefan Wrobel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 03:05 AM
  5. SUMIF using a multiple-column range
    By Stefan Wrobel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-06-2005, 03:05 AM
  6. SUMIF using a multiple-column range
    By Stefan Wrobel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 02:05 AM
  7. SUMIF using a multiple-column range
    By Stefan Wrobel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 12:05 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