+ Reply to Thread
Results 1 to 7 of 7

Help with If greater than

  1. #1
    Registered User
    Join Date
    03-26-2015
    Location
    Oakland, CA
    MS-Off Ver
    2007
    Posts
    7

    Help with If greater than

    Hello,

    Need help if figuring out how to write a IF Greater than formula. I’ve attached my test file. The idea is to determine which value to use in Cell D6 based on the rule from Cells G5:H6.

    In Cell G4, the rule is that I have to make correction for Cell D6 based on the value inputted in Cells G6 and H6 and take whichever value is higher, add it to the value in Cell D5 to get my answer in Cell D6. So for example, let’s say the headwind is at 18 kt, then I take 1/3 of that (18/3=6). Since 6kt is greater than the 5kt correction (Cell G6), then I would want the formula in Cell D6 to take that value from Cell H6 and/or take the opposite if Cell G6 was greater than Cell H6. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Help with If greater than

    Try,
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 10-14-2020 at 09:50 PM. Reason: Adjust cell reference
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Help with If greater than

    Formula for D5 =MAX(G6:H6)+D5
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    03-26-2015
    Location
    Oakland, CA
    MS-Off Ver
    2007
    Posts
    7

    Re: Help with If greater than

    Quote Originally Posted by mehmetcik View Post
    Formula for D5 =MAX(G6:H6)+D5
    This formula is what I was looking for. Thanks for the help.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Help with If greater than

    I thought you needed to take into account the "1/3 headwind, max 15 kt" ???

    Hence:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-26-2015
    Location
    Oakland, CA
    MS-Off Ver
    2007
    Posts
    7

    Re: Help with If greater than

    Quote Originally Posted by TMS View Post
    I thought you needed to take into account the "1/3 headwind, max 15 kt" ???

    Hence:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Your formula works as well in which I decided to use that one. Anything higher than the max 15kt rule would suggest that I'm flying into a headwind of more than 40 knots, like flying into a tornado or hurricane, something that pilots will never do in real life with passengers. Honestly, never saw airlines land into a headwind more than 30 knots. I guess I needed more of a "take the max value based on these criteria" formula rather than an "If greater than" formula.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Help with If greater than

    Simply a case of taking into account the factors on the spreadsheet. If you don't need the added detail/complexity, don't bother with it.

    In simple terms, you have two values and you want to use the biggest one. So, use MAX 🙂

+ 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. Replies: 2
    Last Post: 07-26-2020, 06:37 AM
  2. [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
  3. [SOLVED] count values greater 2 or greater in a column.
    By ammartino44 in forum Excel General
    Replies: 3
    Last Post: 09-16-2014, 07:05 PM
  4. Replies: 5
    Last Post: 05-04-2012, 06:39 PM
  5. Greater than or Less than.. If Greater Need Difference
    By lemondrplvr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-01-2010, 02:39 AM
  6. Replies: 4
    Last Post: 08-25-2009, 06:39 AM
  7. If Value Greater Than
    By tallguy6354 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2009, 09:05 AM

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