+ Reply to Thread
Results 1 to 3 of 3

Formula Simplification

  1. #1
    Registered User
    Join Date
    03-29-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    4

    Formula Simplification

    Hi , Is there any way you can simplify the following formula....

    I am specifically interested in knowing whether it is possible to make all these SUMIF statements into one.

    =IF(O6="",0,$S$103-SUMIF($F$4:$F$18,N6,$L$4:$L$18)-SUMIF($G$4:$G$18,N6,$L$4:$L$18)-SUMIF($H$4:$H$18,N6,$L$4:$L$18)-SUMIF($I$4:$I$18,N6,$L$4:$L$18)-SUMIF($J$4:$J$18,N6,$L$4:$L$18)-SUMIF($K$4:$K$18,N6,$L$4:$L$18))


    Some thing like =IF(O6="",0,$S$103- ONLY ONE SUMIF). Else each time I add a column I need to add a sumif which makes the formula unreadable.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Formula Simplification

    maybe

    =if(o6="",0,$s$103-sumproduct(($f$4:$k$18=n6)*$l$4:$l$18))

  3. #3
    Registered User
    Join Date
    03-29-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Formula Simplification

    Thanks for the quick help mate... Your suggestion worked...

+ 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