LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wjohnson
 
Posts: n/a
Default How do I replace negative numbers with zero in Excel.


Here is a quick sample:
The following is entered in an empty Cell or Column - I used Column B
for the following formula - the value you want to evaluate is in Cell
A2.
=IF(A20,A2,0)
Read as: if A2 is greater than 0, then I want the value of A2 in cell
B2 - If the value is 0 or less than 0, (i.e. -1) then the value is 0.


--
wjohnson
------------------------------------------------------------------------
wjohnson's Profile: http://www.excelforum.com/member.php...o&userid=29640
View this thread: http://www.excelforum.com/showthread...hreadid=523286

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I replace negative numbers with zero in Excel. A Blaylock Excel Worksheet Functions 0 March 16th 06 09:08 PM
negative numbers in parenthesis are not clear on excel printout? John Excel Discussion (Misc queries) 3 December 21st 05 03:59 PM
Using Replace to Format Negative Numbers Denise H. via OfficeKB.com Excel Discussion (Misc queries) 4 August 11th 05 04:59 PM
How do I make all numbers in a column negative in excel 2000? jwoodruff77 Excel Discussion (Misc queries) 5 August 3rd 05 12:31 PM


All times are GMT +1. The time now is 11:25 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"