+ Reply to Thread
Results 1 to 4 of 4

IF Formula Modification.

  1. #1
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    IF Formula Modification.

    I am currently using the following formula to provide either a "A" or a "B" in column M10 based on the numbers in I10, J10, K10. If I10+J10-K10 is less then "0" then M10 ="A". If I10+J10-K10 is greater than "0" then M10 ="B".

    =IF(OR(AND(I10=0,J10=0,K10=0),COUNT(I10:K10)<3),"",IF(I10+J10-K10<0,"A","B"))

    I now need to add a third possibility: if I10+J10-K10 ="0" then M10 ="C".

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: IF Formula Modification.

    Try

    =IF(OR(AND(I10=0,J10=0,K10=0),COUNT(I10:K10)<3),"",CHOOSE(SIGN(I10+J10-K10)+2,"A","C","B"))

  3. #3
    Forum Contributor
    Join Date
    01-15-2008
    Posts
    140

    Re: IF Formula Modification.

    Works perfect. You guys always deliver. Many Thanks as always.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: IF Formula Modification.

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula Modification
    By quibilty in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2013, 01:25 AM
  2. If Formula Modification
    By nathanB in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-17-2013, 05:38 AM
  3. Formula Modification
    By nathanB in forum Excel General
    Replies: 3
    Last Post: 12-24-2012, 07:08 AM
  4. Modification of formula with If(Or)
    By rhudgins in forum Excel General
    Replies: 2
    Last Post: 10-17-2011, 01:11 PM
  5. formula modification
    By tofimoon4 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-20-2009, 05:59 AM

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