+ Reply to Thread
Results 1 to 10 of 10

IF AND OR - Really struggling

  1. #1
    Registered User
    Join Date
    09-24-2020
    Location
    Cheshire England
    MS-Off Ver
    2013
    Posts
    10

    IF AND OR - Really struggling

    Hi all

    I am a newbie to the site so thanks for any help in advance.

    I really could do with some advice on a problem I have.

    I understand the IF command but the criteria always seems to be to use a CELL and then have a result presented when it is more or less than a fixed value. What I am trying to do is get a response from another cell i.e. a comparison between two numbers. I have the below command in and it works.

    =IF(O6<Q6,"YES","NO")

    However if I change the result in cell O6 to be more than Q6 it still remains as a YES and never returns a NO response.

    Any ideas ?

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,309

    Re: IF AND OR - Really struggling

    What happens when you hit the F9 key?
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    09-24-2020
    Location
    Cheshire England
    MS-Off Ver
    2013
    Posts
    10

    Re: IF AND OR - Really struggling

    Nothing

    It just returns the same answer that the calculation when entered shows which initially is correct.

    I change the values so as to force the different response and nothign happens. It never returns the FALSE response.

    I thought it was somethign to do with auto calculate but all this checks out ok

    Lee

  4. #4
    Registered User
    Join Date
    09-24-2020
    Location
    Cheshire England
    MS-Off Ver
    2013
    Posts
    10

    Re: IF AND OR - Really struggling

    I have copied the calculation down to some blank cells and manually entered values and it works.

    The two values I am actually trying to compare are a cell which is the result of a calculation and likewise the other cell.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,104

    Re: IF AND OR - Really struggling

    Sounds as though Q6 is text & not a number.

  6. #6
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: IF AND OR - Really struggling

    if one of the cells is text that could be the problem. What is the formula in the calculated cell? If its output is like this "50" with quotes that will make it text. So if that is the problem get rid of the quotes for the output for the calculation to make the output numeric.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  7. #7
    Registered User
    Join Date
    09-24-2020
    Location
    Cheshire England
    MS-Off Ver
    2013
    Posts
    10

    Re: IF AND OR - Really struggling

    GENIUS ! -

    I have spent all day trying to figure this out. Kudos my friend !

    You were correct. The output from one result was in "" so was not classed as a number.

  8. #8
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: IF AND OR - Really struggling

    glad Fluff and I were able to point you in the right direction.
    AND thank you for the rep!

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,104

    Re: IF AND OR - Really struggling

    Glad to help & thanks for the feedback.

  10. #10
    Registered User
    Join Date
    09-24-2020
    Location
    Cheshire England
    MS-Off Ver
    2013
    Posts
    10

    Re: IF AND OR - Really struggling

    You would not believe how much this has frustrated me all day. I really do need to use excel more

+ 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. Struggling using countif
    By SumeetPuri in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-12-2013, 09:45 AM
  2. struggling with RAG tables
    By hellsbells1959 in forum Excel General
    Replies: 2
    Last Post: 02-09-2013, 06:10 PM
  3. [SOLVED] Struggling with IF and 4 possible outputs
    By vox_vix in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-05-2012, 07:35 AM
  4. struggling with PMT function
    By apexdad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2012, 07:13 AM
  5. Struggling with IF
    By KClark in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-10-2011, 04:37 AM
  6. struggling
    By Tomas mcD in forum Excel General
    Replies: 1
    Last Post: 03-07-2011, 08:25 AM
  7. [SOLVED] Struggling IF value
    By Rebecca in forum Excel General
    Replies: 5
    Last Post: 04-06-2006, 04:55 PM
  8. [SOLVED] Help, I'm Struggling!
    By Fybo in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-04-2005, 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