samsilverman
Board Regular
- Joined
- Nov 9, 2009
- Messages
- 176
Need some help with vb coding.
What I have now is
If Target >= 101 Then Target = Target * 1.14
If Target <= 100 Then Target = Target * 1.25
What I really need is
If Target >0 but <=100 then Target = Target * 1.25
If Target >100 but <500 then Target = Target * 1.14
If Target >=500 but then Target = Target * 1
Can anyone help me code this correctly? Have tried for about a half hour unsuccessfully.
Using Excel 2007
What I have now is
If Target >= 101 Then Target = Target * 1.14
If Target <= 100 Then Target = Target * 1.25
What I really need is
If Target >0 but <=100 then Target = Target * 1.25
If Target >100 but <500 then Target = Target * 1.14
If Target >=500 but then Target = Target * 1
Can anyone help me code this correctly? Have tried for about a half hour unsuccessfully.
Using Excel 2007