+ Reply to Thread
Results 1 to 13 of 13

If or function greater than one cell or the other

  1. #1
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    If or function greater than one cell or the other

    Hi guys

    Can anyone help me write an IF OR formula please?

    I am getting an error message/return of 0.

    I want to write if N2 or R2 is greater than 99.99, return Yes, otherwise return No

    Thank you!
    Last edited by rayted; 07-22-2019 at 09:13 AM.
    Thanks,

    R.



  2. #2
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    W: 2021 H: 365
    Posts
    940

    Re: If or function

    Hi rayted,

    Try:

    =IF(OR(N2>99.99,R2>99.99),"Yes","No")

    Hope this helps.

    Snook

  3. #3
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: If or function

    Hi,

    Please Login or Register  to view this content.
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

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

    Re: If or function

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    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.

  5. #5
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: If or function

    =IF(OR(N2>99.99,R2>99.99); "Yes","No")
    Best Regards,
    Maras.

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: If or function

    You got THREE answers

  7. #7
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: If or function greater than one cell or the other

    Hi guys,

    Uploading my sheet.

    Please see CELL S2 which is where I want to input the formula but it's not working?

    thank you!
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: If or function

    Hi Keebellah sadly with no success :-(

    UPDATE

    =IF(OR(IFERROR(N2,0)>99.99,IFERROR(R2,0)>99.99),"Yes","No") is not working... I keep seeing 0
    Last edited by rayted; 07-22-2019 at 09:55 AM.

  9. #9
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: If or function greater than one cell or the other

    Well, you see the message, you cannot have Q2 look at S2 for a value, it's called circular reference
    And R2 the same. NO GO THAT WAY

    Read about it Circular references

  10. #10
    Forum Contributor
    Join Date
    11-13-2015
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    831

    Re: If or function greater than one cell or the other

    ok i am trying different alternatives and moving columns around with no luck!
    Last edited by AliGW; 07-22-2019 at 10:58 AM. Reason: Please don’t quote unnecessarily.

  11. #11
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,905

    Re: If or function greater than one cell or the other

    Very simple. Circular references are not allowed. We all have no idea what you want to achieve but I guess you'll have to add 'helper' columns, but syill, if different formula's are dependent of formulas on cells you need another formula, well, won't work

  12. #12
    Registered User
    Join Date
    08-27-2019
    Location
    Dhaka,Bangladesh
    MS-Off Ver
    2016
    Posts
    1

    Re: If or function greater than one cell or the other

    I hv a problem. I am running a call center with 15 agents. I want a if function formula to find agent late based on login time. I hv three shift, morning star from 8:30:00AM, AFTERNOONS start from 2:30:00PM, night start from 10:00:00PM. Now give me a formula to find the agent presence based on login time. Suppose Mr.x has morning shift and logged at 8:35AM. Now if I put this information in cell, then how excel will give auto presence indicators in another cell

  13. #13
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: If or function greater than one cell or the other

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    Dave

+ 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. How to combine the WORKDAY function with an IF function to build a working Gantt chart.
    By roomaggoo in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 07-07-2018, 11:54 AM
  2. Replies: 0
    Last Post: 07-07-2018, 04:13 AM
  3. COUNTUNIQUE Function in Google Sheets; Excel lacks a direct counterpart to this function?
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-18-2018, 05:27 AM
  4. Calling function inside function. (aka nested function)
    By jakopak in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 05:58 AM
  5. Replies: 13
    Last Post: 04-08-2014, 05:46 AM
  6. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  7. Replies: 1
    Last Post: 03-21-2012, 11:22 AM

Tags for this Thread

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