+ Reply to Thread
Results 1 to 4 of 4

more than your basic If statement.......

  1. #1
    Registered User
    Join Date
    05-14-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    27

    more than your basic If statement.......

    I have a cell where I want to return a number based on the math of 2 cells above. In addition, depending on the result of the math, I want it to return a maximum and a minumum number. Using the attached spreadsheet, cell O24 is where the result should go. Here's the logic:

    • If O13 = O20 then return $125,000
    • If O13 > O20 then return ($125,000 + ((O13 – O20)* .15))) but if the result is greater than $156,250 continue to return $156,250 (this is the maximum)
    • If O13 < O20 thePool 2013.xlsxn return ((O13/O20) * $125,000) but if the result is less than $112,500 then return zero ($112,500 is the minimum).

    For some reason, I think I should be able to write this myself but I'm drawing a blank. I'll probably have an AH-HA moment as soon as I see some answers!

    Thanks!
    Peg

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: more than your basic If statement.......

    Hi Peg,

    How about this:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: more than your basic If statement.......

    if still you want the if statement just to look at the flow of the if statements, try this one.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Registered User
    Join Date
    05-14-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: more than your basic If statement.......

    thank you both. I KNEW I could count on you excel gurus!

+ 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