+ Reply to Thread
Results 1 to 2 of 2

How do I replace a negative number with zero

  1. #1
    Laura@Gage
    Guest

    How do I replace a negative number with zero


    Hi Max,
    I'm sorry about the double post. I'm new to this and thought I went to
    the wrong place. Thanks for all of your help



    QUOTE=Laura@Gage]Hi,
    I need to somehow replace all of the negative numbers in one column
    with zero. I am having issues because I already have a function in the
    column that I need to do this with. Maybe something with formatting?
    Please help. And thanks!


    --
    Laura@Gage

  2. #2
    Forum Contributor
    Join Date
    06-23-2004
    Location
    Houston, TX
    Posts
    571
    ASSUMPTIONS:

    1. The column in question is, say, Column B;
    2. The numbers that appear in each cell in Column B is a result of a formula

    Based on the above assumptions, enter this formula in Cell B1,

    =if(your_formula<0,0,your_formula)

    and copy down Column B until your requirements are met.

    Hope this is what you are looking for.


    QUOTE=Laura@Gage]Hi,
    I need to somehow replace all of the negative numbers in one column
    with zero. I am having issues because I already have a function in the
    column that I need to do this with. Maybe something with formatting?
    Please help. And thanks!


    --
    Laura@Gage[/QUOTE]
    BenjieLop
    Houston, TX

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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