Automatic Negative Column

M

Mrs. Rathbone

Is there a way to "format" a cell so if i enter a positive value, it converts
to a negative amount? No formulas pleez as I cannot insert a column (it's a
financial thing).
 
P

Per Erik Midtrød

Is there a way to "format" a cell so if i enter a positive value, it converts
to a negative amount? No formulas pleez as I cannot insert a column (it's a
financial thing).

If you don't want formulas you'll need a macro, this one should do it:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then ' Change 1 to something else if you don't
want it to check column A.
If Target.Value > 0 Then
Target.Value = Target.Value * -1
End If
End If
End Sub

Per Erik
 
T

Tyro

What does "format" mean? Show positives as negatives and negatives as
positives without actually changing the cell values? If so, use custom
formatting.

Tyro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top