+ Reply to Thread
Results 1 to 2 of 2

how to -Negative number transfer in other cell

  1. #1
    Registered User
    Join Date
    02-18-2013
    Location
    Kosova
    MS-Off Ver
    Excel 2007
    Posts
    1

    how to -Negative number transfer in other cell

    Hello.

    I'm accountant and I'm working on a table, i know how to make all negative numbers display as 0(zero) with IF function.
    But now I'm facing a different problem, I'm using a simple function like A2-B2-C1=D2, and i wanna know if i can make (only when negative number) display in other cell (from example below in C2) and make it positive, but when positive display it where it should be (from example in D2).

    Hope you understand my problem, and thank you for helping, this would save me a lot of time!

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: how to -Negative number transfer in other cell

    not really as you cant have a function referring to the cell its in
    but say your + - or 0 values are in b2
    in c2 =-MIN(B2,0) which would display as +ve if <0 , and 0 if>=0
    and in d2 =MAX(0,B2) which would display 0 if <=0 and + if>0
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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