+ Reply to Thread
Results 1 to 3 of 3

Variation on SUMIFS

  1. #1
    Registered User
    Join Date
    08-08-2007
    Location
    Vancouver
    MS-Off Ver
    Excel 2002, Excel 2007, Excel for Mac 2011
    Posts
    38

    Variation on SUMIFS

    OK I am using a sumifs formula to add up records in a table that meet several criterias (i.e. Colour, warehouse, style, source of demand). I linked the formula to validated fields. So when I change the colour the numbers re-calculate based on the new colour.

    For Branch and colour though, I would like to have the option to specify all (i.e all colours). Is there a way to write a SUMIFS formula where a condition can be ignored based on input from a cell linked to a list of values?

    Thanx, in advance.
    YCHARTRA

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Variation on SUMIFS

    Upload a sample workbook so that we can better understand what you want.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Variation on SUMIFS

    Yes, you can utilise wildcard approach (in conjunction with clearing the validation selection (ie delete cell content so it reverts to blank))

    Please Login or Register  to view this content.
    Would SUM C1:C1000 where A range = D1 value "plus anything" and B range = E1 value "plus anything" ... so it follows that if D1 is Apple and E1 is Banana it will look for "Apple*" in A and "Banana*" in B ... were D1 and/or E1 blank it would look for any value at all - ie "*" ... if D1 were A it would look for "A*" etc...

    Pending the values in your own file it may be that you will need to adapt the above approach by means of embedded IF if wildcard entry not watertight, eg:

    Please Login or Register  to view this content.
    If the above do not work for you then as Palmetto has already stated post a sample file that reflects your setup.
    Last edited by DonkeyOte; 09-24-2009 at 02:09 AM. Reason: added 2nd example with embedded IF

+ 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