+ Reply to Thread
Results 1 to 6 of 6

Moving negative numbers to another cell automatically

  1. #1
    Registered User
    Join Date
    09-15-2013
    Location
    Estonia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Moving negative numbers to another cell automatically

    Hello,

    I have an issue with two columns in Excel 2007. The first one has a bunch of numbers that run from top to bottom and I would like to move all of the negative numbers from the first column to the second one. I understand that this can be done with the IF command but I am quite clueless what the formula should be.

    I hope someone can help me out.

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Need help by moving negative numbers to another cell automatically

    if your total list of values is in column A, type this in B1 and drag down:

    =IF(A1<0;A1;"")

    Maybe my semicolons should be commas for you.
    This does not remove the negative data from the first column. If you also want to create a colomn with only the positive values, put this in the first cell and drag down:

    =IF(A1>=0;A1,"")
    When I say semicolon, u say comma!

  3. #3
    Registered User
    Join Date
    09-15-2013
    Location
    Estonia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Moving negative numbers to another cell automatically

    Hi,

    Thanks for the help! If I want to use the second function in the first column to remove the negative data then how can I do it if I have a mathematical formula in the first column?

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Moving negative numbers to another cell automatically

    You'll need VBA, otherwise you can use filters

  5. #5
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: Moving negative numbers to another cell automatically

    You can't use formulas to replace data, because they will always keep referring (or trying to refer) to the original data.
    So if you want this to be done realtime, use VBA like Pepe said.
    If you only have to do this once (in a while), you could also use the formulas in another column and then copy that column and past as values. That way you'll have the right data without referrals, but if your list is updated, you'll have to do the copy&pasteasvalues again...

  6. #6
    Forum Contributor
    Join Date
    09-11-2013
    Location
    Huntsville, AL
    MS-Off Ver
    Excel 2007
    Posts
    180

    Re: Moving negative numbers to another cell automatically

    It would make more sense to keep the original data the same the create an if statement in Column B that is for positive numbers
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    then In column C have the Formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    That way you keep the integrity of data.

    The last option is to use Copy and Paste Special Values to remove the formula.

+ 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. Converting A Negative Value Cell to Zero Automatically
    By striker_rage in forum Excel General
    Replies: 7
    Last Post: 07-25-2010, 11:24 AM
  2. Moving automatically from one cell to another
    By sfar007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-08-2006, 01:31 PM
  3. [SOLVED] Can numbers be typed to automatically be negative in cells?
    By finnplan in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-08-2005, 06:30 PM
  4. Moving to a different cell automatically.
    By Fernandoalberte in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-12-2005, 03:25 PM
  5. Replies: 4
    Last Post: 01-08-2005, 02:06 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