Conditional formatting
Closed
Steve
-
Aug 26, 2016 at 10:22 AM
Mazzaropi Posts 1983 Registration date Monday August 16, 2010 Status Contributor Last seen May 24, 2023 - Aug 26, 2016 at 03:23 PM
Mazzaropi Posts 1983 Registration date Monday August 16, 2010 Status Contributor Last seen May 24, 2023 - Aug 26, 2016 at 03:23 PM
Related:
- Conditional formatting
- Excel clear formatting - Guide
- Excel conditional formatting based on date - Guide
- Excel conditional formatting dates overdue ✓ - Excel Forum
- Formatting windows 7 - Guide
- Conditional formatting if cell contains text ✓ - Excel Forum
1 response
Mazzaropi
Posts
1983
Registration date
Monday August 16, 2010
Status
Contributor
Last seen
May 24, 2023
147
Aug 26, 2016 at 03:23 PM
Aug 26, 2016 at 03:23 PM
Steve, Good afternoon.
Try to use:
Adapt the value 1500 to your reality.
Is this what you want?
I hope it helps.
Try to use:
Sub ChangeToNegative()
For i = 1 To 1500
If Range("A" & i).Value = "Sell" Then
Range("B" & i).Value = Range("B" & i).Value * -1
End If
Next
End Sub
Adapt the value 1500 to your reality.
Is this what you want?
I hope it helps.