Results 1 to 3 of 3

Thread: SUMIF with 'criteria' from another cell?

  1. #1

    SUMIF with 'criteria' from another cell?



    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hello
    I want to use 'sumif' to add up amounts spent in a simple monthly workbook, but the criteria comes from text in another cell. My example: =SUMIF(MAY!C:C,"=*KWIKTRIP*",MAY!E:E)
    I want something like this: =SUMIF(MAY!C:C,C1,MAY!E:E)

    And in cell C1 (the 'criteria') I can type whatever I want, like 'KWIKTRIP' and copy it for as many columns as I need.

    I have tried every way I can think of to format the text, and searched the 'help' way too long.
    Also, rather than retype the month 24 times I could reference the months from one cell as well.
    Thanks for your time.

  2. #2
    Do yo mean

    =SUMIF(May!C:C,"=*"&C1&"*",May!E:E)

  3. #3
    That works, great! Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •