+ Reply to Thread
Results 1 to 6 of 6

8th function on an IF(AND(

  1. #1
    Registered User
    Join Date
    03-03-2008
    Posts
    4

    8th function on an IF(AND(

    Hello,

    I have the following function but I need to add an 8th argument...

    =IF(AND(C4="B",H4="S"),"CONTRA",IF(AND(C4="B",H4="ss"),"CONTRA",IF(AND(C4="b",H4="cs"),"Both BUYS",IF(AND(C4="cS",H4="SS"),"contra",IF(AND(C4="cS",H4="B"),"BOTH BUYS",IF(AND(C4="CS",H4="CS"),"SAME",IF(AND(C4="B",H4="b"),"SAME","-->")))))))

    IS THERE ANYWAY??? PLEASE HELP. THANKS IN ADVANCE.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon jonathonrams

    Quote Originally Posted by jonathonrams
    IS THERE ANYWAY???
    Yes, you could buy Office 12 - that doesn't have the limitation

    Seriously, though, Chip Pearson has a workaround here that works satisfactorily.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    What's the 8th argument?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    03-03-2008
    Posts
    4

    8th argument

    =(if(and(c5="ss",h5="cs"),"contra","same"))

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Not knowing what your 8th argument is, I can't complete it for you but you can simplify somewhat using the OR statement and C4=H4 for "Same" like so
    Please Login or Register  to view this content.
    ChemistB

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by jonathanrams
    =(if(and(c5="ss",h5="cs"),"contra","same"))
    Try:

    Please Login or Register  to view this content.

+ 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