+ Reply to Thread
Results 1 to 8 of 8

Formula to determine if a number is negative in D6 and if negative show C6?

  1. #1
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Formula to determine if a number is negative in D6 and if negative show C6?

    I want a formula to determine if a number is negative in D6 and if negative show C6?

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Formula to determine if a number is negative in D6 and if negative show C6?

    two questions.
    1. In what cell is the formula to be placed?
    2. What answer if the D6 is positive?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Formula to determine if a number is negative in D6 and if negative show C6?

    Seems like it should be a very basic IF() function (https://support.office.com/en-us/art...c-aa8bbff73be2 ). How about something like =IF(SIGN(D6)=-1,C6,"D6>=0") or IF(D6<0,C6,"D6>=0")
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Formula to determine if a number is negative in D6 and if negative show C6?

    It doesnt show C6 number, it shows C6>=0

  5. #5
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Formula to determine if a number is negative in D6 and if negative show C6?

    The formula will be placed in L6 and D6 is positive it wont show make any change, just if D6 is a negative number, then it shows C6.

  6. #6
    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,916

    Re: Formula to determine if a number is negative in D6 and if negative show C6?

    OK, so in L6:

    =IF(D6<0,C6,"")
    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.

  7. #7
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: Formula to determine if a number is negative in D6 and if negative show C6?

    It worked , Thank you

  8. #8
    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,916

    Re: Formula to determine if a number is negative in D6 and if negative show C6?

    You're welcome!

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

+ 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] Formula to show positive number instead of negative
    By werko in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-10-2015, 04:24 AM
  2. [SOLVED] Show zero in this VALUE formula instead of negative number
    By islandeeya in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-30-2014, 04:41 PM
  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. msgbox for negative answer and how to determine the number of significant digits
    By bmr8002 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2012, 08:56 PM
  5. Replies: 1
    Last Post: 11-20-2008, 01:52 AM
  6. [SOLVED] Instead of a negative number, I'd like to show zero...
    By Dr. Darrell in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-07-2005, 04:25 PM
  7. Sum - show negative number?
    By Steve in forum Excel General
    Replies: 27
    Last Post: 07-23-2005, 10:05 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