+ Reply to Thread
Results 1 to 3 of 3

Creating Multi Condition Flags

  1. #1
    Registered User
    Join Date
    07-11-2013
    Location
    Somewhere, CA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Creating Multi Condition Flags

    Hello -

    My problem is the following:

    I have a list of bonds for three different companies.

    I need to write a formula which identifies my "benchmark" 10year bond for each company.

    For a bond to be considered my benchmark, it needs to meet the following conditions:
    1) Crncy = USD
    2) Amt Outstanding (USD) > 100,000,000
    3) maturity of the bond is closest to 10 years as compared to all other USD denominated bonds of the same company with more than 100,000,000 Amt Outstanding (USD)

    This needs to be accomplished formuaically (rather than a pivot) and the result of the formula needs to drop a flag into column D which can then be used for other lookups.

    Thank you very much!
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Creating Multi Condition Flags

    Try this array formula..

    =I16=MIN(IF(($J$16:$J$103="USD")*($M$16:$M$103>=100000000)*($C$16:$C$103=C16)*($I$16:$I$103>10),$I$16:$I$103))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    TRUE indicates the flag
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-11-2013
    Location
    Somewhere, CA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Creating Multi Condition Flags

    Thanks Ace for the reply!

    I tried out the formula. It has two issues that I can see:


    1)the only true result returned was in row 44 for the bond maturing March 1, 2026. The result the formula should return is in row 40 for the bond maturing February 24, 2022. This bond meets all of the conditions better than the March 1, 2026 bond as it's time to maturity is closer to 10 years.

    2) the formula, once copied down, only returns one result.

    I'd sincerely appreciate you taking another look.

    Thanks again.

+ 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