+ Reply to Thread
Results 1 to 3 of 3

SUMIF with criteria text (string)

  1. #1
    Registered User
    Join Date
    11-20-2009
    Location
    Lisbon
    MS-Off Ver
    Excel 2003
    Posts
    5

    SUMIF with criteria text (string)

    Hi,

    Is this criteria of SUMIF correct:
    Please Login or Register  to view this content.
    I want to SUM the values from Q22 cells range, if the text in A22 is equal to "zEz" or different of "zEz" (i want this two cases, equal and diferent)

    Best Regards,
    JP.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: SUMIF with criteria text (string)

    You're referencing only one cell so you could just use

    Match
    =Q22*(A22="zEz")

    Non Match
    =Q22*(A22<>"zEz")

    Of course you could just subtract the first calculation from the value of Q22 for the Non-Match total

    In terms of Syntax for the SUMIF yes you're formulae are correct (assuming you're not conducting partial matches) though technically you do not require the = operator in the 2nd formula.

  3. #3
    Registered User
    Join Date
    11-20-2009
    Location
    Lisbon
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: SUMIF with criteria text (string)

    Hi,

    Thank you it worked fine, i use A22:A22 in the formula, because i want the range to be until the end of the last row.

    Best regards,
    JP.

+ 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