+ Reply to Thread
Results 1 to 5 of 5

IF Statment with 2 requirements

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    36

    IF Statment with 2 requirements

    Right now I have this
    =IF((B9=yes),SUM(C9))

    101 yes 50.22
    101 no 60.13
    501 yes 75.5

    I'd like it to only sum if "A" is 101, I'm sure this is simple and i'm just having a duh moment.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: IF Statment with 2 requirements

    May be this...

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-10-2012
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: IF Statment with 2 requirements

    Perfect! This is the one I used =IF(AND(A9=101,B9="yes"),C9,"")

    Thank you!!

  4. #4
    Forum Contributor
    Join Date
    09-27-2012
    Location
    Florida
    MS-Off Ver
    Excel XP to 2013
    Posts
    342

    Re: IF Statment with 2 requirements

    Try this
    Please Login or Register  to view this content.
    and it should work, you can replace the "yes and the '101" with a cell reference to allow for different criteria if needed. Good luck!

    Sorry I typed that completely wrong
    Last edited by Tank997; 03-20-2013 at 03:05 AM.
    Tom S.
    ↙ If you find my reply helpful click on the * down there on the left. Yeah that's it, right there, down on the left
    If your question is resolved, mark it SOLVED using the thread tools.

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: IF Statment with 2 requirements

    Glad it helps you and thanks for the feedback

+ 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