+ Reply to Thread
Results 1 to 8 of 8

Issue with function using IF, AND, OR, multiple reference cells and Data Validated list

  1. #1
    Registered User
    Join Date
    05-27-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    10

    Issue with function using IF, AND, OR, multiple reference cells and Data Validated list

    Hi All,

    I have been working on this since weeks now. Tried a lot of experiments but failing over and over again. Details are as follows:

    1. I have columns A, B, C, having texts and D, E, having some numeric values. The function is in G.

    2. A data validated list in C named "NPD" sourcing list options from L1:L4

    3. Function is: If A1 is X, B1 is X1 and C1 is any one from the list NPD then D1+E1 else 0

    Seeking Help.

    Thanks & Regards
    Piyush

  2. #2
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Issue with function using IF, AND, OR, multiple reference cells and Data Validated lis

    =IF(AND(A1="X",B1="X1",MATCH(C1,L1:L4,0)="TRUE"),D1+E1,0)

    Try that?
    Did I help? Click *- add to my rep.

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

    Re: Issue with function using IF, AND, OR, multiple reference cells and Data Validated lis

    In G1 Cell
    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

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Issue with function using IF, AND, OR, multiple reference cells and Data Validated lis

    another maybe is

    =IF(AND(A1="X",B1="X1",COUNTIF(NPD,C1)=1),D1+E1,0)
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  5. #5
    Registered User
    Join Date
    05-27-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Issue with function using IF, AND, OR, multiple reference cells and Data Validated lis

    Thank You Brumbot. It removed the error but still not getting what I wanted.

  6. #6
    Registered User
    Join Date
    05-27-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Issue with function using IF, AND, OR, multiple reference cells and Data Validated lis

    Thanks. I have found it through another member's help.

    Quote Originally Posted by :) Sixthsense :) View Post
    In G1 Cell
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-27-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Issue with function using IF, AND, OR, multiple reference cells and Data Validated lis

    Thank You so much Ms. vlady. It got me what I wanted . Phew was in pain since weeks now.

    Quote Originally Posted by vlady View Post
    another maybe is

    =IF(AND(A1="X",B1="X1",COUNTIF(NPD,C1)=1),D1+E1,0)

  8. #8
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Issue with function using IF, AND, OR, multiple reference cells and Data Validated lis

    Your welcome anytime.

    Regards,
    Mr. Vlady

+ 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