+ Reply to Thread
Results 1 to 4 of 4

Exclude "begins with asterisk" in a sumifs formula

  1. #1
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Exclude "begins with asterisk" in a sumifs formula

    I would like to add this criteria to the formula below: [Bin Locations], (all locations that don't begin with "*") A sample of locations I don't want included in the count is "*Vect" and "*Prt". I do want to include all locations that don't begin with an asterisk.

    =SUM(SUMIFS([Quantity OnHand],[Item],$A21&"*",[reserved],0,[cond],{"NE","OH","FN"}))

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Exclude "begins with asterisk" in a sumifs formula

    So the strings in Bin Location Literally begin with the asterisk character

    Try
    =SUM(SUMIFS([Quantity OnHand],[Item],$A21&"*",[reserved],0,[cond],{"NE","OH","FN"},[Bin Location],"<>~**"))

  3. #3
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: Exclude "begins with asterisk" in a sumifs formula

    Works perfectly. Thanks

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Exclude "begins with asterisk" in a sumifs formula

    You're welcome.

+ 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. EXCEL 2003 - Need an "AVERAGEIF" formula to exclude "0" in average
    By kerry0507 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2015, 03:37 PM
  2. Replies: 0
    Last Post: 03-21-2014, 09:58 AM
  3. Replies: 3
    Last Post: 06-28-2005, 06:05 PM
  4. [SOLVED] Backup to specific folder if workbook names begins with "NSR" or "MAC"
    By GregR in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2005, 08:06 PM

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