+ Reply to Thread
Results 1 to 4 of 4

Greater than Less Than formula?

  1. #1
    Forum Contributor
    Join Date
    09-25-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    156

    Greater than Less Than formula?

    I am having problems coming up with a solution for this, so I appreciate any help....
    I have a formula in in Cell H16
    If the value in H15 is Greater than the value of C15+D15, then H16 = D15+E15+D13
    If the value in H15 is Less than the value of C15-E15, then H16 = D13
    If the value in H15 is equal to or between the value of (C15+D15) and C15-E15), then H16 = (H15-(C15-E15))+D13

    I have the formula below, which seems to be close, but doesn't quite work..
    Thanks!
    Please Login or Register  to view this content.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Greater than Less Than formula?

    Try

    =IF(H15>C15+D15,D15+E15+D13,IF(H15<C15-E15,D13,(H15-(C15-E15))+D13))

  3. #3
    Forum Contributor
    Join Date
    09-25-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2003
    Posts
    156

    Re: Greater than Less Than formula?

    Awesome!
    Thanks

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Greater than Less Than formula?

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro for If Formula is Greater than Formula AND other conditionals
    By Elieson in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2015, 02:19 AM
  2. [SOLVED] Formula for greater than and less than
    By Stephen R in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-16-2015, 10:44 AM
  3. [SOLVED] find value which is greater than in a range of cells and return the greater value
    By green369 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-11-2015, 02:46 AM
  4. [SOLVED] IF Formula Greater than
    By hkbhansali in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-22-2013, 02:47 PM
  5. Need a greater than, less than formula
    By lyn402 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 04:26 PM
  6. greater to or less than formula
    By cbm in forum Excel General
    Replies: 4
    Last Post: 05-01-2006, 01:32 PM
  7. [SOLVED] Reversing POWER Formula:with greater algebra skills help me with below formula?
    By soroosj@swbell.net in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-01-2005, 07:05 PM

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