Please, may someone can help me to modify this formulas and merge them into one formula that behave one way or the other as needed depending on the conditions if it's possible.
I have this 1st formula to sum the 2 larges values or sum and deduct half of the 2nd large value if H13=Int. and if H13 is not =Int. then sum the two largest values:
=IF($H$13="Int.",SUM(LARGE($L$18:$L$29,1),LARGE($L$18:$L$29,2)/2),IF($H$13="",SUM(LARGE($L$18:$L$29,1),LARGE($L$18:$L$29,2)),""))
I have this 2nd formula to sum the 2 larges values and if H13=Int. eliminates the 2nd large value and return just the larger value and if H13 is not =Int. then sum the two larges values:
=IF($H$13="Int.",MAX($L$18:$L$29),SUM(LARGE($L$18:$L$29,{1,2})))
What i triyng to do is to make just one formula that behave one way or the other as needed depending on the condition (situation) if R2=Priority and H13=Int. to return the 2nd formula value and if R2 is blank cell (non priority situation) return the first formula value, just want the formula to return the desire value if the int. happen under priority situation or non priority situation (blank cell)
Any help is greatly appreciated, many thanks in advance
Bookmarks