+ Reply to Thread
Results 1 to 4 of 4

cannot find what is wrong with this forumula

  1. #1
    Registered User
    Join Date
    03-27-2008
    Location
    USA
    Posts
    23

    cannot find what is wrong with this forumula

    If I plug in values for this formula is does not compute correctly. Somehow I made a mistake.. Can you find it? thx

    =IF(OR(H1>=8.6,H1<=23),IF(OR(I1<=23,I1>=8),IF(AND(F1>=2,G1>=3,J1>=4),0.125,0),0),0)

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

    Re: cannot find what is wrong with this forumula

    Can you find it?
    Probably not. You'd need to explain what you expected to see, and why, as opposed to what you do get. I don't think anyone is going to randomly test values without knowing what they're looking for. Do the cells have values in them or formulae depending on other cells?


    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
    Registered User
    Join Date
    03-27-2008
    Location
    USA
    Posts
    23

    Re: cannot find what is wrong with this forumula

    I expected to see the value .125 if H1 is between 8.6 and 23 and if I1 is between 8 and 23 and if F1, G1 and J1 are all equal to or> 4.

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

    Re: cannot find what is wrong with this forumula

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


    Any and every number will meet this condition. For example, 7 is not greater than 8.6, but it is less than 23; 25 is not less than 23 but it is greater than 8.6.

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


    Perhaps you need to change your ORs to ANDs if you are trying to restrict a value between a range of values.

    Regards, TMS

+ 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] paste the formula and find these is something wrong
    By hktom in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-28-2015, 06:22 AM
  2. [SOLVED] Help me find whats wrong with my code?
    By TomToms in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-09-2014, 02:09 PM
  3. Replies: 6
    Last Post: 03-12-2014, 12:16 PM
  4. Sorry if this is a wrong Topic, but can't find the right one... :(
    By david gonzalez in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 12-26-2013, 07:18 AM
  5. [SOLVED] FIND order wrong direction
    By ArnolddG in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2013, 03:46 AM
  6. Find Products code - what's wrong with it
    By Foreverlearning in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-05-2012, 11:09 PM
  7. what's wrong with this find formula
    By tryer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2010, 04:06 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