+ Reply to Thread
Results 1 to 6 of 6

IF then statement

  1. #1
    Registered User
    Join Date
    04-07-2009
    Location
    Los Angeles, United States
    MS-Off Ver
    Office 2008-Mac
    Posts
    49

    IF then statement

    I want to sum up the total of all successful transactions on a spreadsheet where column B says "Success" and column C has the amount of the transaction.

    How do I have the formula check column b and then if it says "Success" add the value from column C??

    Thanks in advanced!!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF then statement help...

    use sumif
    sumif(b1:b100,"success",c1:c100)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    04-07-2009
    Location
    Los Angeles, United States
    MS-Off Ver
    Office 2008-Mac
    Posts
    49

    Re: IF then statement help...

    Easy enough!! Thank you!!

  4. #4
    Registered User
    Join Date
    04-07-2009
    Location
    Los Angeles, United States
    MS-Off Ver
    Office 2008-Mac
    Posts
    49

    Re: IF then statement help...

    Is it possible to do a DOUBLE sumif statement.....ie....if this AND that....then sum this column....

    Pretty much combine the following statements so they both have to exist to sum column C....


    sumif(b1:b100,"success",c1:c100)
    sumif(c1:b100, "completed", c1:c100)

  5. #5
    Registered User
    Join Date
    04-07-2009
    Location
    Los Angeles, United States
    MS-Off Ver
    Office 2008-Mac
    Posts
    49

    Re: IF then statement help...

    The statements are actually:

    sumif(b1:b100,"success",c1:c100)
    sumif(a1:a100, "completed", c1:c100)


    Quote Originally Posted by rkrieg View Post
    Is it possible to do a DOUBLE sumif statement.....ie....if this AND that....then sum this column....

    Pretty much combine the following statements so they both have to exist to sum column C....


    sumif(b1:b100,"success",c1:c100)
    sumif(c1:b100, "completed", c1:c100)

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF then statement

    just add them together i think

    sumif(b1:b100,"success",c1:c100)+sumif(a1:a100, "completed", c1:c100)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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