+ Reply to Thread
Results 1 to 7 of 7

Entering values based on 3 conditions

  1. #1
    Registered User
    Join Date
    07-23-2007
    Posts
    12

    Question Entering values based on 3 conditions

    How to write formula for entering a value of a cell if values of 3 cells are true.

    For example,
    If A2:A10 = X,
    and
    If B3:B15 = Y,
    and
    If C3:C25 = Z,

    Then
    Enter the sum of the values of D10:D25

    Is this possible?
    Thank you
    Last edited by jkarthi22; 07-22-2011 at 02:02 AM. Reason: not compliying to the forum rule

  2. #2
    Registered User
    Join Date
    07-23-2007
    Posts
    12

    Re: Help Required: Urgent!!!

    I have changed the title, hope it is ok
    Last edited by jkarthi22; 07-22-2011 at 02:08 AM.

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Entering values based on 3 conditions

    Please read my signature about quoting entire posts !
    Please read forum rules !

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Entering values based on 3 conditions

    Quote Originally Posted by jkarthi22 View Post
    How to write formula for entering a value of a cell if values of 3 cells are true.

    For example,
    If A2:A10 = X,
    and
    If B3:B15 = Y,
    and
    If C3:C25 = Z,

    Then
    Enter the sum of the values of D10:D25

    Is this possible?
    Thank you
    Try this:
    =IF(COUNTIF(A2:A10,"X")+COUNTIF(B3:B15,"Y")+COUNTIF(C3:C25,"Z")=ROWS(A2:A10)+ROWS(B3:B15)+ROWS(C3:C25),SUM(D10:D25),"check")

  5. #5
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Entering values based on 3 conditions

    Hi jkarthi22
    find the attatched file
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    07-23-2007
    Posts
    12

    Re: Entering values based on 3 conditions

    Please help me

  7. #7
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Entering values based on 3 conditions

    what more help is needed
    Azam
    If you want to say Thank you to a member, click the reputation icon (Star) in the left bottom of the post.
    For prompt answer, be descriptive, concise, short, direct, and to-the-point.

+ 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