+ Reply to Thread
Results 1 to 25 of 25

Formula Results as False when True

  1. #1
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Formula Results as False when True

    Hello,

    I have created a spreadsheet to help me calculate an agents non-productive time. In this spreadsheet I have a few formulae (formulas?) that reference each other. My problem, is that some of these formulae (as?) come up showing that something is false, when it is in fact true. IE N-O=0 it should read "Good" if this is true, but instead it reads as False and moves on to the next part of the formula. The same formula on a different row works exactly as expected. The only difference I can tell is that the formula that doesn't work as intended references another formula that uses a different part of the IF statement. Examples below:

    Working Formulas (ae?)
    Please Login or Register  to view this content.
    Non-Working Formulas (ae?)
    Please Login or Register  to view this content.
    I know this may not be the cleanest way to do this (or it may be, I'm not sure because I'm not a complete expert on excel functions, I just know enough to get by), but if you could help me understand why it's reading as false, that would be very helpful! Thank you! (worksheet should be attached)
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Results as False when True

    Welcome to the forum.

    Where shall we find these malfunctioning formulae?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    No. There are no formulae anywhere in you tiny sample.

    FOUND THEM!! Now to see if I can understand wha you want!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    I'm sorry, the first formula is found in Column N and the second formula is found in Column R.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Results as False when True

    I don't see anything returning FALSE.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    Amend M3 to:
    =ROUND(1440*IFERROR(IF(C3="","",(MOD(C3-B3,1)*24-D3)),IF(C3="","",(MOD(C3-B3,1)*24))),0)/1440

    Amend N3 to:
    =ROUND(1440*SUM(E3,G3:M3),0)/1440

  7. #7
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    It's returning FALSE within the formula (it's an IFS statement) it's saying that N3-03 does not equal Zero when it in fact does and should return the value "GOOD". Then it goes on to the next statement of if N3-O3<>0 then N3-03 and the result comes up as 0.00 which is correct, but not the result I was looking for.

  8. #8
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    I'm sorry, I'm not wanting the result you're formula would provide. Perhaps my previous response will clear up what I'm looking for.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Results as False when True

    So what ARE the results you are looking for?

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    =IFS(F3="Coordinator","",F3="Escalation Agent",N3*0.6,F3="Training","",N3-O3=0,"GOOD",N3-O3<>0,N3-O3)

    Red - when subtraction =0. Blue when it isn't. It is zero, so it gicved GOOD. Whats wrong woith that?

    What answers do ypu expect in each of the 3 result cells?

    And when replying, indicate WHO you are talking to.

  11. #11
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    The attached screenshot shows the 4th Logical Test shows a result of "False" when it should absolutely be "True" because N3003 equals 0 (they're both 5.00)

    I hope this helps, because that's the only way I know to explain what I'm looking for.

  12. #12
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    It wouldn't let me attach a screenshot...
    Attached Images Attached Images

  13. #13
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    Glenn

    I need R3 to return the value "GOOD", the other two were examples of working formulae.

  14. #14
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    Did you ACTUALLY amend the formulae as suggested? I don't just make these things up. I test them.
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    Quote Originally Posted by Glenn Kennedy View Post
    =IFS(F3="Coordinator","",F3="Escalation Agent",N3*0.6,F3="Training","",N3-O3=0,"GOOD",N3-O3<>0,N3-O3)

    Red - when subtraction =0. Blue when it isn't. It is zero, so it gicved GOOD. Whats wrong woith that?

    What answers do ypu expect in each of the 3 result cells?

    And when replying, indicate WHO you are talking to.
    The problem is, it didn't give "Good". It gave 0.00

  16. #16
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    Okay, I pulled up your file and it looks like it's working... I don't understand why mine did not. I noticed you only changed N and O to make it work, but logically it should have worked without the rounding/multiplying and dividing.

  17. #17
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    R3 QUITE CLEARLY shows good on the file that I posted.

  18. #18
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    Read post 6, for Goodness sake. The problem was NOT in that cell, but in the cells that I suggested that you amend. If you are not prepared to read and act on what is being said to you....

  19. #19
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    Ugh... My apologies, for upsetting you. You obviously are having a tempermental day and I would prefer to speak with somebody who can help me understand what the problem WAS so I don't need to continue upsetting you.

  20. #20
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    Season's greetings to you too. Good luck & goodbye.

  21. #21
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    Ali,

    Can you please, with patience, help me understand why my formulae didn't work? It should have, and yet it took Rounding/Multiplying and dividing Column N and O. My goal is to not need to ask this question again, and unfortunately Glenn was not conducive to that goal.

  22. #22
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Results as False when True

    It won't work without the rounding. That's all you need to know.There's something called a 'floating point error' (Google it) that sometimes causes these apparent anomalies.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  23. #23
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Formula Results as False when True

    Thanks for the negative rep, BtW.

  24. #24
    Registered User
    Join Date
    12-16-2020
    Location
    US
    MS-Off Ver
    2013
    Posts
    14

    Re: Formula Results as False when True

    Quote Originally Posted by Glenn Kennedy View Post
    Thanks for the negative rep, BtW.
    Please, when you're of a mindset that isn't so negative (and quarrelsome)... read back through this thread and try to take it from the perspective of the person you, for all intents and purposes, called stupid. Then think: "Would I give a positive rep for the way I was treated?" We can be finished now... Thank you Ali for your assistance, Thank you Glenn for your work in updating the code, (though your delivery wasn't the best). Have a great day!

  25. #25
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,853

    Re: Formula Results as False when True

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] IF formula using other cell values as true/false results
    By kschmit1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-20-2017, 08:22 AM
  2. [SOLVED] want results as true or false
    By abubaniyan in forum Excel General
    Replies: 3
    Last Post: 12-10-2014, 06:33 AM
  3. Countifs Formula that show True/False results?
    By Kid Wonder in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-12-2013, 12:57 PM
  4. [SOLVED] I Need Help Creating a Formula to That Sorts True/False Results
    By artiststevens in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-09-2013, 07:38 AM
  5. Replies: 14
    Last Post: 06-27-2012, 04:26 PM
  6. Formula that will give me True or False results
    By Reenee in forum Excel General
    Replies: 2
    Last Post: 02-02-2009, 10:36 AM
  7. Adding True False Results
    By Arla M in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2005, 03: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