Forum Home
Press F1
 
Thread ID: 56749 2005-04-14 04:59:00 Excel query JasonEdward (7129) Press F1
Post ID Timestamp Content User
344738 2005-04-14 04:59:00 How do i make Excel make all negative figures in a column zero, all positve show mormally?

Thanks
JasonEdward (7129)
344739 2005-04-14 08:39:00 Have the values been hard keyed into the column or are they the result of a formula? andrew93 (249)
344740 2005-04-14 10:11:00 Hi James.

If its only for display purposes...
1. Select cells
2. Format|Cells|Number tab|Custom Category and enter this in the type box
0.00;"0";0.00

This will treat negatives as zero (the part in quotes) while positive and zero are formatted to 2 decimal places.

If you want to have a different value then use an if statement in another column...
=IF(C2<0,0,C2) where C2 is the target cell.

If you want to change the actual values the use the formula then copy paste special values over the target cells.
Parry (5696)
1