+ Reply to Thread
Results 1 to 7 of 7

Formula wth multiple scenarios

  1. #1
    Registered User
    Join Date
    12-29-2010
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Formula wth multiple scenarios

    See attached worksheet.

    I need to add a scenario to the existing formula in cell P14 to include the following logic:

    If L5 = "Non-Par", then sum(I14-O14).

    Any assistance is greatly appreciated!
    Attached Files Attached Files
    Last edited by smcduffi; 12-30-2010 at 03:41 PM.

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula wth multiple scenarios

    Depending on what the priority is:

    =IF(A14="","",IF(J14>0,J14*G14,IF(L5="Non-Par",I14-O14,L14-O14)))

    =IF(A14="","",IF(L5="Non-Par",I14-O14,IF(J14>0,J14*G14,L14-O14)))

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Formula wth multiple scenarios

    Not to sure about this, but try this in P14, as Cutter says it depends on the priorities.
    Please Login or Register  to view this content.

    Hope this helps.
    Last edited by Marcol; 12-30-2010 at 02:31 PM.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Formula wth multiple scenarios

    @Marcol, being the pedant I am both SUM calls are superfluous in the above.

  5. #5
    Registered User
    Join Date
    12-29-2010
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Formula wth multiple scenarios

    Thank you - but this doesn't give me what I'm looking for (plus I forgot to add the *.80). What about this instead....

    See cell L14 - add the scenario:

    But If L5="Non-Par" then sum(I14*.80)*G14.

    Basically - I want the cell to be blank if A14 is blank
    If L5 is anything other than Non-Par, I want K14*G14,
    but if L5= Non Par, I want the scenario above to apply.

    Thanks for all of your assistance.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Formula wth multiple scenarios

    Based purely on the logic detailed in the above narrative:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-29-2010
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Formula wth multiple scenarios

    Absolutely perfect! Problem solved!

+ 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