+ Reply to Thread
Results 1 to 5 of 5

Formula return statements on multiple criteria

  1. #1
    Forum Contributor
    Join Date
    09-05-2008
    Location
    UK
    Posts
    103

    Formula return statements on multiple criteria

    Hi

    I currently using this formula
    Please Login or Register  to view this content.
    But what I would like is

    =IF(H113 is within 5% of H109,"Hours OK",IF(H113 is over 5% under or over 5% over H109,"Hours Under","Hours Over"))

    Hope above makes sense.

    I could probably do it with helper columns but unfortunately sheet is already completed and cant really add columns as it mess up rest of sheet.

    Thanks in Advance

  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,446

    Re: Formula return statements on multiple criteria

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



    Regards, TMS
    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 Contributor
    Join Date
    09-05-2008
    Location
    UK
    Posts
    103

    Re: Formula return statements on multiple criteria

    Quote Originally Posted by TMS View Post
    Maybe:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Thanks but it works as in no errors but it returns wrong results. Probably my explaining. Will try and break it down

    If H109 = 100 and H113 as hours between 95-105 (h% Over\Under) and like it to return hours OK. If H113 has hours 95 or under it return "Hours Under" or Hours 105 and over it return "Hours Over"

  4. #4
    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,446

    Re: Formula return statements on multiple criteria

    What wrong results? If the basic principle is correct, can you adjust the percentages?

    Like
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by TMS; 11-21-2014 at 08:27 PM.

  5. #5
    Registered User
    Join Date
    10-25-2014
    Location
    Orange County, California
    MS-Off Ver
    Office 365
    Posts
    35

    Re: Formula return statements on multiple criteria

    =IF(AND(H113>=95%*H109,H113<=105%*H109),"OK",IF(H113<95%*H109,"Under","Over"))

+ 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] Is there a formula that can Return a text value if multiple criteria are met?
    By beyjul in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-30-2014, 03:06 PM
  2. [SOLVED] Match two criteria and return multiple rows with formula
    By bjnockle in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2014, 05:13 PM
  3. [SOLVED] Formula to Return ID based on Multiple Criteria
    By boldcode in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 02:54 PM
  4. [SOLVED] Need a formula that can check multiple criteria and return a value.
    By DeeJay256 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-28-2012, 09:28 AM
  5. Replies: 3
    Last Post: 09-08-2011, 02:40 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