Reputation: 31
I'm completely stuck and needs someone to offer up some fresh code because I'm not even close to figuring this out. There are two things I need to do.
Upvotes: 1
Views: 85547
Reputation: 22842
For #1, In D2 put
=IF(M2>0,M2,"")
Then click and drag down the entire column
Then in F2 put
=IF(M2>0,"FALSE","TRUE")
Then click and drag down the entire column (assuming "TRUE" is what else is suppose to be in there.
In VBA, here's one way:
For i = 2 to ActiveSheet.UsedRange.Rows.Count
If Range("M"&i).Value > 0 Then
Range("D"&i).Value = Range("M"&i).Value
Range("F"&i).Value = "FALSE"
Next i
Upvotes: 3