+ Reply to Thread
Results 1 to 5 of 5

IF cell is negative number, do this

  1. #1
    Forum Contributor
    Join Date
    02-13-2018
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    179

    IF cell is negative number, do this

    I am looking for a IF formula that will return a "N" if the cell is >45 or if the cell is (negative)-<45

    Any suggestions?

    Capture.PNG
    Attached Files Attached Files

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

    Re: IF cell is negative number, do this

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    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,830

    Re: IF cell is negative number, do this

    Your sample data seems odd, as it does not meet the criteria, but try this:

    =IF(OR(D2>45,D2<-45),"N","")
    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.

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

    Re: IF cell is negative number, do this

    Try this.

    =IF(ABS(N2)>45. "N")
    If posting code please use code tags, see here.

  5. #5
    Forum Contributor
    Join Date
    02-13-2018
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    179

    Re: IF cell is negative number, do this

    thanks all for responses. I was able to join some of the formulas together and it worked, this was the final formula used.

    =IFNA(IFS(ABS(W2)>45,"N",ABS(W2)<-45,"N"),"Y")

+ 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. Replies: 11
    Last Post: 06-06-2017, 11:04 AM
  2. [SOLVED] If a cell contains a specific word and a number, make the number negative
    By Andrew Watson in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-08-2017, 10:13 AM
  3. [SOLVED] SUMIF positive and negative numbers - take double a negative number?
    By Zordrail in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 08:34 AM
  4. how to -Negative number transfer in other cell
    By Ahmed.Rama3 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2013, 03:11 PM
  5. Replies: 1
    Last Post: 11-20-2008, 01:52 AM
  6. cell to show ' 0 ' , or nothing at all, if the sum is a negative number
    By rdmdale in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-17-2005, 11:05 AM
  7. 2003= negative number&2004= negative number How Do I Calculate gro
    By Jason in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2005, 02:06 PM

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