+ Reply to Thread
Results 1 to 2 of 2

Inserting a range or an array into a sumifs formula

  1. #1
    Registered User
    Join Date
    02-21-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    66

    Inserting a range or an array into a sumifs formula

    Hi there,

    I'm using SUMIFS in Excel 2010. One of the columns the formula looks at has a whole number of accounts (identified by a number between 1000 & 8999). At times I would like to pull out only 4 or so of these accounts, but they're not always in sequence and there are other numbers in between. EG I would like accounts 3010, 4010, 5560 & 8800, but there are a number of accounts in between so cant use < or > or any of those easy ways. What would the syntax be for this please?

    Is it something like this? (although I've tried this and it doesn't work!)

    =SUMIFS($K:$K,$E:$E,"3010;4010;5560;8800")

    Many thanks,

    Michael

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Inserting a range or an array into a sumifs formula

    Try:

    =SUMPRODUCT(SUMIFS($K:$K,$E:$E,{3010,4010,5560,8800}))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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