+ Reply to Thread
Results 1 to 4 of 4

SUMIF not finding everything

  1. #1
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    SUMIF not finding everything

    I have a 2 columns on a worksheet that gets populated via a UserForm and use this data for a chart. I'm totaling the column with a SUMIF formula but I can't seem to get the SUMIF criteria worked out so that it picks up everything that I need. In my Cause Code column it might have 3 Fitting, and that get's picked up by the formula =SUMIF($P$2:$P$12,"3 Fitting",$Q$2:$Q$12)

    ...but where I am having trouble is if there are more than 1 cause codes entered for a non-conformance...ie 3 Fitting, 11 Inspection

    Neither of these cause codes will get picked up by either formulas:
    =SUMIF($P$2:$P$12,"3 Fitting",$Q$2:$Q$12)
    =SUMIF($P$2:$P$12,"11 Inspection",$Q$2:$Q$12)

    What can I add to these formulas to make them work?
    Last edited by jwright650; 02-15-2011 at 04:20 PM. Reason: simple solution given by NVBC
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

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

    Re: SUMIF not finding everything

    Maybe with wildcards?

    =SUMIF($P$2:$P$12,"*3 Fitting*",$Q$2:$Q$12)
    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.

  3. #3
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: SUMIF not finding everything

    Thanks, let me take a stab at that....BRB

  4. #4
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: SUMIF not finding everything

    Works perfectly....Thank You!!!!

+ 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