+ Reply to Thread
Results 1 to 4 of 4

Sumifs with wildcards

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

    Sumifs with wildcards

    I have a table importing part numbers like this: 258369F and it has about 10 spaces after it.

    I want to do a sumifs formula that sums the "Qty" of any "PartNumber" that contains the string 258369 and took place in 2015

    =sumifs(qty,PartNumber,$B$4,Year,"2015")

    B4 of course holds the number 258369


    So, I tried: =sumifs(qty,PartNumber&"*",$B$4,Year,"2015") and =sumifs(qty,PartNumber,$B$4&"*",Year,"2015") and neither work.
    Last edited by rs1aj; 01-04-2016 at 05:39 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Sumifs with wildcards

    Try something like this:
    Please Login or Register  to view this content.
    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Sumifs with wildcards

    Try these
    =sumifs(qty,TRIM(PartNumber)&"*",$B$4,Year,"2015")

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

    Re: Sumifs with wildcards

    Thanks guys, it worked. I also had a typo in the formula that didn't help.

+ 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] Looking for something simpler than SUMIFS - SUMIFS
    By YAbdelaal in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-27-2014, 10:38 AM
  2. VBA & Wildcards
    By glindell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2013, 05:34 PM
  3. SUMIFS Puzzle - Trying to avoid adding multiple SUMIFS to get valid result
    By haldavid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 03:42 PM
  4. [SOLVED] Complex SUMIFS (SUMPRODUCT?) formula w/ wildcards (SEARCH?)
    By markl41 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-11-2012, 02:24 PM
  5. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM
  6. Wildcards
    By TechTed in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-27-2011, 06:47 PM
  7. [SOLVED] Wildcards
    By irresistible007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-20-2005, 06:20 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