• SUMIF the criterion contains a specified substring

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » SUMIF the criterion contains a specified substring

    Author
    Topic
    #487592

    Using SUMIF, I want to sum all items where the criterion cell contains a specified substring (say, “Feb”). I tried specifying “*Feb*”, but that seems to work only if the “Feb” is at the start of the criterion string. Does this make sense? Any ideas?

    Thanks

    Viewing 0 reply threads
    Author
    Replies
    • #1372712

      Wild card works. Perhaps your dates are being interpreted as 2/1/2013. Use an underscore instead of a hyphen if applicable.
      =SUMIF(A2:A6,”*Feb*”,B2:B6)

      33018-sumif

      HTH,
      Maud

      • #1372714

        Works ,this time, thanks. Don’t know what I was doing wrong last time, but I’m now full steam ahead. Thanks.

    Viewing 0 reply threads
    Reply To: Reply #1372712 in SUMIF the criterion contains a specified substring

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel