+ Reply to Thread
Results 1 to 3 of 3

Excel Logic test returning incorrect responses

  1. #1
    Registered User
    Join Date
    04-03-2015
    Location
    Maryland
    MS-Off Ver
    2013
    Posts
    2

    Excel Logic test returning incorrect responses

    I have 3 columns of raw data. The are order: 5th, 50th and 95th percentiles. I am trying to do a logic check for order, but I'm getting false results

    I have tried both of these statements:

    =IF(F2>E2>D2,1,0)

    =IF(F2>E2,1,0)


    In both cases I get 1 no matter whether the statement is true.

    I've also noticed that I can get 0 when the data is 30, 20, 0 when I enter the formula on that line but not when I copy and paste from an above line.

    When I copy and paste from the line that has 30, 20, 0, I get 0 for all other lines even though the order of the values is increasing.

    So it seems to be giving me the value for line from which I'm copying.

    I've checked and the copy and paste formula IS changing the row value correctly to correspond to the new row.

    I'm befuddled and really need to get this data check done.

    Thanks,

  2. #2
    Registered User
    Join Date
    04-03-2015
    Location
    Maryland
    MS-Off Ver
    2013
    Posts
    2

    Re: Excel Logic test returning incorrect responses

    Here's what I'm actually seeing (except that the columns line up):

    5th percentile 50th percentile 95th percentile 95>50>5
    *20 *25 32* =IF(F2>E2,1,0)
    *25 *30 32* =IF(F3>E3,1,0)
    *25 *30 45* =IF(F4>E4,1,0)
    *4 *5 6* =IF(F5>E5,1,0)
    *2 3 *4 =IF(F6>E6,1,0)
    3 1 0 =IF(F7>E7,1,0)

    One weird thing I'm noticing is that the numbers in the last 2 columns won't allign to the center when I choose allign center. They are all formatted "number"

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Excel Logic test returning incorrect responses

    Can you upload an example workbook?

    Click on GO ADVANCED and use the paperclip icon to open the upload window.
    If posting code please use code tags, see here.

+ 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. Incorrect Logic using find command
    By nquadr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2012, 12:48 PM
  2. help with a logic test
    By BAC_ana in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-25-2010, 09:45 AM
  3. Excel 2007, weeknum() returning incorrect number
    By jakobahman in forum Excel General
    Replies: 3
    Last Post: 08-13-2009, 03:14 AM
  4. [SOLVED] logic test
    By toolman in forum Excel General
    Replies: 2
    Last Post: 10-08-2005, 09:05 AM
  5. [SOLVED] logic test
    By toolman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2005, 12: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