+ Reply to Thread
Results 1 to 5 of 5

IF function when - sign is in your logical function

  1. #1
    Registered User
    Join Date
    02-19-2011
    Location
    Hong Kong
    MS-Off Ver
    Microsoft 365 subscription
    Posts
    17

    IF function when - sign is in your logical function

    Trying to use the IF function in cell D1:
    If C1 is greater than 3 or blank return "" but if less than 3 then return "Buy new". Cell C1 has a formula in it and when equal to zero returns a minus sign (will only have a number, be blank or have a minus sign -).
    The formula below wont work when J17 has a - sign, please advise what will:
    =IF(C1>3,"Buy new","")

    Help appreciated

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: IF function when - sign is in your logical function

    If C1 is greater than 3 or blank return ""
    so thats C1>3, ""
    not as you have

    =IF( OR(C1>3, C1=""), "", "Buy New")

    not sure what J17 has to do with the formula - can you exaplain please

    is that because J17 is referenced in a formula in C1

    perhaps a spreadsheet attached would help
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: IF function when - sign is in your logical function

    Or may be this.....

    Please Login or Register  to view this content.
    If this is not what you are looking for, please upload a sample workbook as suggested by etaf.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Registered User
    Join Date
    02-19-2011
    Location
    Hong Kong
    MS-Off Ver
    Microsoft 365 subscription
    Posts
    17

    Re: IF function when - sign is in your logical function

    Etaf/ sktneer - you guys are legends, thanks for the help. The J17 is the actual location in my sheet which I tried to simplify for my post but didnt review it properly - Idiot!!
    Tks again for help.

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: IF function when - sign is in your logical function

    Glad to help you. Thanks for the feedback.

+ 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. logical function
    By jpatil20 in forum Excel General
    Replies: 4
    Last Post: 06-18-2011, 06:01 AM
  2. logical function
    By [email protected] in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-26-2006, 11:45 PM
  3. [SOLVED] Logical Function
    By brandyda in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2005, 11:05 PM
  4. Logical Function
    By brandyda in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-02-2005, 01:05 PM
  5. Logical Function
    By vnsrod2000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2005, 12:06 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